Stop loss based on bar close instead of position opening

Forums ProRealTime English forum ProOrder support Stop loss based on bar close instead of position opening

Viewing 2 posts - 1 through 2 (of 2 total)
  • #197496

    Hello All !

    I would like to set a stop loss based on the last bar close instead of the position opening.

    I am currently using an algo that stops once my current profit target is reached (thanks @robertogozzi !) but I often miss bigger profit opportunities when the trade keeps going in my direction.

    That is why I would like to tweak it a bit

    FROM

    “Once my daily target is reached, close position and stop for the day”

    TO

    “Once my daily target is reached, set a STOP LOSS 10 points below close and stop for the day once the strategyprofit is reached (will close when the next condition is met).

    That is what I use now (works well):

    I would like to replace it with 2 components that would be:

    2 questions
    – Would a STOP LOSS set up as above work? (“Close – 10”)? Or should I write “Close[1] – 10”?
    – Would the combination of both work the way I want it to?

    Your help would be appreciated!
    Enjoy your day

    #197525

    Replace line 3 of the second code snippet with this new instruction added a few months ago:

    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login