trendlines between opening and closing arrows

 

Hi all, could you tell me where I can read the code that draws the trendlines between opening and closing arrows for every trade?

Thank you!

 
Alberto TortellaHi all, could you tell me where I can read the code that draws the trendlines between opening and closing arrows for every trade?

There is no MQL code for the drawing of the trade history on the chart. It is done natively by the MetaTrader terminal application when you enable it in the Chart options.

There is however, an old MQL4 user code in the CodeBase that simulates this from external data, but I can't remember its name, so you will have to run a search.

EDIT: Found one for MQL5 for displaying a limited period of available trade history ...

Code Base

TradePlotter

Agianto Simanullang, 2022.09.05 06:10

Show trade history
 
Thank you very much!