Hi,
How do I code a condition in my buy/sell order open by checking for the price position?
Let's say if I want to check whether the current price has gone above the high of the previous bar, what code do I write?
Do I use "bid" for a buy order and "ask" for a sell order? Or do I use "bid" for both?
How do I code a condition in my buy/sell order open by checking for the price position?
Let's say if I want to check whether the current price has gone above the high of the previous bar, what code do I write?
Do I use "bid" for a buy order and "ask" for a sell order? Or do I use "bid" for both?