@rforeign Thank you very much but how is solved condition highest high from open price -ATR*3? Original condition is: A long position is closed when it has moved 3 ATR down from its highest closing price since the position was opened.
Thank you