Specification
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 👍
Similar orders
AI SIGNAL GENERATING BOT
30 - 35 USD
I need a AI signal generating bot for forex trading that use the latest ai technology to track real time forex market, analyse and give signals. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame
Robot Requirements Specification
30 - 100 USD
step by step and structure this into a full IEEE 830 / ISO/IEC/IEEE 29148 style Requirements Specification. This format will include: Introduction System Overview Functional and Performance Requirements Traceability Matrix (linking requirements to test cases) Verification and Validation Compliance Standards 1. Introduction 1.1 Purpose The purpose of this document is to define the technical requirements for the
Cherrys trading bot
300+ USD
//+------------------------------------------------------------------+ //| XAUUSD Ultimate Institutional EA | //| Features: | //| - True swing-based market structure | //| - BOS sniper entries on M5 | //| - Liquidity sweep filter | //| - Partial TP + breakeven | //| - Visual BOS, swings, liquidity
SpikeEnginePro EA
30+ USD
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
Project information
Budget
30 - 50 USD
Deadline
to 2 day(s)