Şartname
Hello, can you code a ninja trader 8 indicator based on this code from TOS: input ATRLength = 4; input ATRMultiplier = 3.1; input ShowLabels = yes; input UseClose = yes; input HighlightState = yes; input Alerts = no; input price = close; def atr = ATRMultiplier * ATR(ATRLength); def longStop = (if UseClose then highest(close, ATRLength) else highest(high, ATRLength)) - atr; def longStopPrev = if IsNan(LongStop[1]) then longStop else LongStop[1]; def LS =if close[1] > longStopPrev then max(longStop, longStopPrev) else longStop; def shortStop = (if UseClose then lowest(close, ATRLength) else lowest(low, ATRLength)) + atr; def shortStopPrev = if IsNan(shortStop[1]) then shortStop else shortStop[1]; def SS =if close[1] < shortStopPrev then min(shortStop, shortStopPrev) else shortStop; def dir = if close > shortStopPrev then 1 else if close < longStopPrev then -1 else dir[1]; def direction = dir; plot LongStopPlot = if direction == 1 then LS else double.Nan; longStopPlot.SetDefaultColor(Color.Green); plot ShortStopPlot = if direction == -1 then SS else Double.Nan; shortStopPlot.SetDefaultColor(Color.Red); def midPricePlot = OHLC4; def buySignal = direction == 1 and direction[1] == -1; def sellSignal = direction == -1 and direction[1] == 1; AddChartBubble(buySignal and ShowLabels, low, "Buy Signal", Color.Green, no); AddChartBubble(sellSignal and ShowLabels, high, "Sell Signal", Color.Red, yes); AddCloud(if direction == 1 and HighlightState then longStopPlot else Double.Nan, If direction == 1 and HighlightState then midPricePlot else Double.Nan, Color.Green, Color.Green, no); AddCloud(if direction == -1 and HighlightState then shortStopPlot else Double.Nan, If direction == -1 and HighlightState then midPricePlot else Double.Nan, Color.Red, Color.Red, no);. Bid me now to get the project done. Thanks 👍
Benzer siparişler
Mam kody EA Bot. Chciałbym je dokończyć, dopracować i ukończyć projekty. Chciałbym otrzymać pliki SET po ukończeniu EA. Jeśli jesteś zainteresowany, skontaktuj się ze mną. Szukam doświadczonego programisty do stworzenia dedykowanego doradcy eksperckiego (EA) do tradingu. Programista powinien posiadać solidną wiedzę z zakresu MT5, logiki strategii, wskaźników, zarządzania ryzykiem i backtestingu. Doświadczenie w
Early Killer EA
30+ USD
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
XAUUSD_Strategy_EA
80 - 120 USD
I need an MT5 Expert Advisor for XAUUSD. Strategy: BUY conditions: Price above EMA 50 RSI above 50 Recent high breakout Retest confirmation candle bullish SELL conditions: Price below EMA 50 RSI below 50 Recent low breakout Retest confirmation candle bearish Risk management: Risk per trade 1% Stop loss = recent swing high/low Take profit = Risk Reward 1:2 Extra features: Trailing stop option Breakeven option Max 4
Proje bilgisi
Bütçe
30 - 50 USD
Son teslim tarihi
to 2 gün