Hi, I need a stop loss trail script.
When I do a buy order, if both of open price and close price of the first candle under MA, for example, MA100, then close the order; When I do a sell order, if both of open price and close price of the first candle above MA100, then close the order.
Ps: the property of MA can be input and changeable, it can be 100 or any other number.