I'm trying to implement a buy order at a higher price in ninjascript.
Ok this should be the logic.
Bar Close is the trigger bar and price is at $1.5005 and there i want to place an order that it's executed at a price of $1.5010
TakeProfit is at $1.5020
StopLoss is at $1.5000
In the pic you can see the trigger bar marked with a green arrow.
this should generated the order
and buy at the gray line, stop loss at red, and take profit at green.
The order should be good till chanceled or one cancels the other.
This is on 15min timeframe but should be executed when price hits the levels.
I know, it is for sure so easy but it seems my brain is not of it capable today.
Thanks for the help
Comment