Does anyone know how to display or highlight winning trades on the chart when we backtest a strategy? I know we can see the closed positions list which gives the % of winning or losing trades, but is there a way of marking those trades on the chart other than by doing so manually? The equity curve does help but it can be misleading when a trade goes into profit initially but then drops into a loss after.
I’ve tried to make an indicator based on the equity curve and open positions, but alas my coding knowledge for indicators is virtually non-existant.
Warning: Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced clients who have sufficient financial means to bear such risk. The articles, codes and content on this website only contain general information. They are not personal or investment advice nor a solicitation to buy or sell any financial instrument. Each investor must make their own judgement about the appropriateness of trading a financial instrument to their own financial, fiscal and legal situation.