Code that Displays 'Pips' Won/lost on the chart from a Backtest

Forums ProRealTime English forum ProOrder support Code that Displays 'Pips' Won/lost on the chart from a Backtest

Viewing 5 posts - 1 through 5 (of 5 total)
  • #85446

    Hi Everyone,

     

    First post here so hello!

     

    I’ve been using PRT since about 08 but have never some across a code that might do the following (If its possible at all within the PRT architecture).

     

    Is there a way of coding PRT to plot on the price chart the P/L (in Pips or Points) won or lost for every trade that is included in any one backtest?

     

    I greatly appreciate your replies.

     

    Ross

    #85453

    Welcome to the forums.

    I have moved your topic to the correct forum as you posted in a forum dedicated to PRT platform support whereas your question is regarding strategy backtesting which is more of a ProOrder question.

    Please try to post in the most relevant forum with any future topics. 🙂

     

    #85454

    A simple way to see the change in equity after each position closure is to simply add this to the bottom of any strategy:

    You will then get a separate window that shows one bar later the change in equity as a graph. Hover over any peak or trough to see the value of the last closed trade.

    #85490

    This blog post could also be of interest: Display profit and loss on price chart with a custom indicator

    #85565

    Thanks to everyone who has replied.  Really helpful!

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

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