how can I write a pine script that would close a strategy if lets say the profit x exceeded 50 then after sometime it drops back to 25. I need the strategy to close once it goes back to 25.
thanks
how can I write a pine script that would close a strategy if lets say the profit x exceeded 50 then after sometime it drops back to 25. I need the strategy to close once it goes back to 25.
thanks