TradingView
riffster21
4 Nis 2017 08:43

4X Global Trend Signal 

British Pound/U.S. DollarFXCM

Açıklama

NOTE: This is an invite-only script for paying 4X Global Members.

When you request access, please provide your 4X Global username. I cannot provide access until I cross-check your 4X Global account to verify that you have one and that it is active.

If you are not a 4X Global member and want access; a 4X Global Membership is only $19 per month. You can read more: Click Here

I had 4X Global code this indicator based on several of their tools. This indicator is a combination of several 4X Global data sources. When all of the sources confirm a trend (based on my criteria), the indicator draws a 'buy' or 'sell' label on the chart. This is a very simple indicator to use and it's darn accurate. I may automate it at some point.

This indicator does NOT repaint, but it will flash on/off during the current bar until it closes. Do NOT enter a trade until the current bar closes with a signal. You enter at the open of the succeeding candle (i.e. the candle immediately after the signal candle).

There is only one variable to adjust; 'Risk'. When you increase the Risk variable, you are increasing your trading risk because the indicator will not respond as fast. However, I have found that higher settings filter out the noise better.

For me, the sweet spot seems to be on the 30 minute chart with a Risk value of '24'. If you find additional 'sweet spots' for this indicator, please share them with your fellow 4X Global members.

Please direct any/all support question to me. I will do my best to answer them.

This is not investment advice, just my opinion(s). Please trade accordingly.

Trade safe and keep an eye on news.
Yorumlar
Shenl0ng
RISK= input(title="RISK", type=integer, defval=28)
value10=12+RISK*2
value11=value10
x1=67+RISK
x2=33-RISK

This setting has work for me very good to identify Mayor resistance and support
akashsatav1817
I want a like 4X global trend signla. Few or free?
ACPL10
Hi, Please do something so the SHAPES for BUY & SELL can be used for ALERTS. Currently, it is not helping for us to save the SHAPES as ALERTS. Thanks in advance.
mikeey43
HELLO...PLEASE ADD ME...USERENAME MIKEEY 43 AND MEMEBER OF 4X GLOBAL
riffster21
@mikeey43, You have been added. Please send a PM next time, I almost missed your message :D
ktuck
Hi Riffster,
I am lifetime member of 4x global, user tuckmiser, I believe you gave me access to market barometer already, do I have access to others like the xmeter
thanks
riffster21
@ktuck, Yes, you have access to all of the indicators.
samvox
Hello,
excuse me, I'm a lifetime member of 4XGlobal (4XGlobal username samvoxx). How can I obtain your tools?
Thank you
samsam010
Line 77 and 86 should be changed to ' dn '
Line 88 and 97 to ' up '

If you add the following 2 lines to the study, you can use alerts:

alertcondition(up, title='Long', message='Long')
alertcondition(dn, title='Short', message='Short')

---
I like the script, so i made a strategy for this script to test it. I will be adding some features soon to optimize it.

//@version=2
strategy("[STRAT] Trend Signal", overlay=true)
RISK= input(title="RISK", type=integer, defval=14)
value10=3+RISK*2
value11=value10
x1=67+RISK
x2=33-RISK

range(length) =>
sum = 0
for i = 1 to length-1
sum := sum + abs(high-low)
sum / length

MRO1(length, range) =>
true_count = 0
counter = 0
for i = 1 to length-1
x = if abs(open-close[i+1]) >= range*2.0
true_count := true_count + 1
counter = i
break
mro = if true_count >= 1
counter
else
-1
mro

MRO2(length, range) =>
true_count = 0
counter = 0
for i = 1 to length-1
x = if abs(close[i+3]-close) >= range*4.6
true_count := true_count + 1
counter = i
break
mro = if true_count >= 1
counter
else
-1
mro

wpr(length) =>
upper = highest(length)
lower = lowest(length)
out = 100 * (close - upper) / (upper - lower)
out

rng = range(10)
mro1=MRO1(10,rng)
mro2=MRO2(7,rng)

rez = if mro1>-1
3
else
value10

value11:=rez
rez1 = if mro2>-1
4
else
value10
value11:=rez1

value2 = 100-abs(wpr(value10))

Table_value2=value2

notset=false
ii1 = 1
for i1 = 1 to 300
if ((Table_value2[i1] < x2 or Table_value2[i1] > x1) and notset==false)
notset:=true
ii1 := i1

z=Table_value2[ii1]
dn = if value2 < x2
if Table_value2[ii1] > x1
ii1
else
0
else
0


plotshape(dn, style=shape.labeldown, location=location.abovebar, size=size.normal, color=aqua, text="Sell")

up = if value2 > x1
if Table_value2[ii1] < x2
ii1
else
0
else
0


plotshape(up, style=shape.labelup, location=location.belowbar, size=size.normal, color=aqua, text="Buy")

strategy.entry("enter long", true, 1, when = up > dn)
strategy.entry("enter short", false, 1, when = dn > up)
riffster21
Since this is my indicator, I decided to just release it as an open script. I can't edit the original post (idea bump to TradingView), but you should be able to add this indicator without permission. I didn't want to hassle with moderation.
Daha Fazla