Plot1 tradestation forex


Easylanguage TO MT4 Oi, que possa agradar a alguém para traduzir com misericabilidade os seguintes códigos Easylanguage para Metaquotes. Agradeço antecipadamente. Variáveis: BandDays (28), DevConstant (3.500000) Variáveis: keltnerTop (0), keltnerMid (0), keltnerBot (0), expSmoothPrice (0) Variáveis: expSmoothRange (0) Variáveis: altu (0), altd (0), (0), para baixo (0), dir (0), n (0), p (0) SE (CURRENTBAR 1) ENTÃO COMEÇA expSmoothPrice CLOSE expSmoothRange HIGH-LOW END ELSE BEGIN expSmoothPrice (expSmoothPrice (BandDays-1) CLOSE) BandDays expSmoothRange (expSmoothRange (BandDays-1) (HIGH-LOW)) BandDays END keltnerTop expSmoothPrice (expSmoothRangeDevConstant) keltnerMid expSmoothPrice keltnerBot expSmoothPrice - (expSmoothRangeDevConstant) se fechar lt KeltnerMid então altd 1 else altd 0 se altd 1 e high1 lt KeltnerMid e fechar lt Low1 então comece dir -1 final se fechar gt KeltnerMid então altu 1 else altu 0 se altu 1 e low1 gt KeltnerMid e fechar gt high1 então começar dir 1 end if dir -1 então setplotcolor (2, magenta) se dir 1 então setplotcolor ( 2, verde) PLOT1 (keltnerTop, quotTBand Topquot) PLOT2 (keltnerMid, quotTBand Midquot) PLOT3 (keltnerBot, quotTBa Nd Botquot): comprimento (20), TrigAvg (5), UpColor (verde), DnColor (magenta) Variáveis: xAvg (0), yAvg (0) yAvg TimeSeriesForecast (Comprimento, 0) xAvg XAverage (yAvg, TrigAvg) PLOT1 (1, DnColor) SETPLOTCOLOR (2, DnColor) END ELG BEGIN SETPLOTCOLOR (1, UpColor) SETPLOTCOLOR (2, UpColor) END Primeiro a ETI (1, DnColor) SETPLOTCOLOR (1, UpColor) SETPLOTCOLOR (2, UpColor) END Primeiro a ETI Funções de entrada: Preço (NumericSeries), r (NumericSimple), s (NumericSimple), If Value2 ltgt 0, então TSI Value1 Value2 The Indicator Inputs: Preço (c), r (7), s (27), u (1), SmTLen (7) Value1 TSI (Price, r, s, u) Value2 XAverage (TSI (Price, r, s, u), SmthLen) IF (PLOT1 gt PLOT3) ENCONTRO SETPLOTCOLOR (1, magenta) SETPLOTCOLOR (3, magenta ) END ELSE BEGIN SETPLOTCOLOR (1, verde) SETPLOTCOLOR (3, verde) END Qualquer pessoa que codifique TradeStation EasyLanguage Oi Bemac, recorra gentilmente esses indicadores Easylanguage em linguagem MT4. Obrigado. Variáveis: BandDays (28), DevConstant (3.500000) Variáveis: keltnerTop (0), keltnerMid (0), keltnerBot (0), expSmoothPrice (0) Variáveis: expSmoothRange (0) Variáveis: altu (0), altd (0), (0), para baixo (0), dir (0), n (0), p (0) SE (CURRENTBAR 1) ENTÃO COMEÇA expSmoothPrice CLOSE expSmoothRange HIGH-LOW END ELSE BEGIN expSmoothPrice (expSmoothPrice (BandDays-1) CLOSE) BandDays expSmoothRange (expSmoothRange (BandDays-1) (HIGH-LOW)) BandDays END keltnerTop expSmoothPrice (expSmoothRangeDevC onstant) keltnerMid expSmoothPrice keltnerBot expSmoothPrice - (expSmoothRangeDevConstant) se fechar lt KeltnerMid então altd 1 else altd 0 se altd 1 e high1 lt KeltnerMid e fechar Lt Low1 então comece dir -1 final se fechar gt KeltnerMid então altu 1 else altu 0 se altu 1 e low1 gt KeltnerMid e fechar gt high1 então começar dir 1 end if dir -1 então setplotcolor (2, magenta) se dir 1 então setplotcolor (2, verde) PLOT1 (keltnerTop, quotTBand Topquot) PLOT2 (keltnerMid, quotTBand Midquot) PLOT3 (keltnerBot, quotT Bandbot): comprimento (20), TrigAvg (5), UpColor (verde), DnColor (magenta) Variáveis: xAvg (0), yAvg (0) yAvg TimeSeriesForecast (Comprimento, 0) xAvg XAverage (yAvg, TrigAvg) PLOT1 (1, DnColor) SETPLOTCOLOR (2, DnColor) END ELG BEGIN SETPLOTCOLOR (1, UpColor) SETPLOTCOLOR (2, UpColor) END Primeiro a ETI (1, DnColor) SETPLOTCOLOR (1, UpColor) SETPLOTCOLOR (2, UpColor) END Primeiro a ETI Funções de entrada: Preço (NumericSeries), r (NumericSimple), s (NumericSimple), If Value2 ltgt 0, então TSI Value1 Value2 The Indicator Inputs: Preço (c), r (7), s (27), u (1), SmTLen (7) Value1 TSI (Price, r, s, u) Value2 XAverage (TSI (Price, r, s, u), SmthLen) IF (PLOT1 gt PLOT3) ENCONTRO SETPLOTCOLOR (1, magenta) SETPLOTCOLOR (3, magenta ) END ELSE BEGIN SETPLOTCOLOR (1, verde) SETPLOTCOLOR (3, verde) END

Comments

Popular Posts