Label Entry and Exits

Forums ProRealTime English forum ProOrder support Label Entry and Exits

Viewing 4 posts - 1 through 4 (of 4 total)
  • #91567

    Hi guys – is there a way to place a label on entry and exits?

    Context is that I have multiple entry and exit indicators and I would like to see how they interact with each other. It would be good to see which pieces of code trigger an entry or exit in the market if we’re able to label them when using ProBacktest.

    I clearly see entry and exits labelled on the price chart – just wondering if we can add any further text to it to identify our trades without having to add all the relevant indicators to the chart.

    See attached for an example of what I’m looking for.

    #91569

    The easiest way is to set flag variables to 1 when certain conditions are met and zero them at every bar entry. Then GRAPH the flags. For example:

    Not tested – just an idea to work with!

    1 user thanked author for this post.
    #91610

    Thanks Vonasi – works well!

    Even gives me an idea of how long each position stays open.

    Both the GRAPHONPRICE and GRAPH functions are helpful depending on what you prefer to see

     

    #91661

    No problem. … and thank you for highlighting that the instruction GRAPHONPRICE exists as this one had passed me by. Following a discussion off forum it also appears that it has passed a lot of other PRT coders by as well. It is a powerful instruction now that MTF  is available as we can use it to create MTF indicators on price – so weekly moving averages on daily charts for example. It is an exciting discovery!

Viewing 4 posts - 1 through 4 (of 4 total)

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