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
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. 🙂
A simple way to see the change in equity after each position closure is to simply add this to the bottom of any strategy:
winloss = strategyprofit - strategyprofit[1]
graph winloss
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.
Thanks to everyone who has replied. Really helpful!