Below is a snippet of my code. In this strategy if the trade hits stoploss it’ll re-enter in the opposite direction (max 2 trades per day). I’ve now added a trailing stop, however I still want the opposite trade to execute as long as it hasn’t hit “SET TARGET pPROFIT”. So at the moment, if it hits the trailing stop in profit nothing happens, but I want it to re-enter.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue