Forums › ProRealTime English forum › ProOrder support › Manual entry with Automated exit? › Reply To: Manual entry with Automated exit?
05/11/2018 at 11:33 PM
#70231
I ended up using the code above because it does not seem to be possible to have an alert that is only triggered once. For example if I entered with buy 5 and set an alert that will sell 5 to close there is nothing to stop it from selling 5 again when the alert condition is true again (for example price crossing 50 moving average).
At least with davids code I can quit so the condition is not triggered again.