
Originariamente Scritto da
hawking
Questo mi piace ancora di piu' anche perché il signal è un po' piu' filtrato e il risultato accattivante:
buy:
INPUTS: @STperiods(3),@strenght(13), @TRperiods(3),@emaPeriods(21), @trailStop(60), @trailPercent(1), @stopLoss(440)
SET TRAILING_STOP = @trailStop
SET TRAILING_PERCENT = @trailPercent
SET STOP_LOSS = @stopLoss
SET A = SuperTrend(@STperiods, @strenght)
SET B = ExponentialMovingAverage(CLOSE,@emaPeriods)
SET C = TRIX(CLOSE, @TRperiods)
SET D = FOLLOWME()
CLOSE > A AND CLOSE > B AND C > 0 AND D > 90
sell:
SET A = SuperTrend(@STperiods, @strenght)
SET B = ExponentialMovingAverage(CLOSE,@emaPeriods)
SET C = TRIX(CLOSE, @TRperiods)
SET D = FOLLOWME()
CLOSE < A AND CLOSE < B AND C < 0 AND D < -90