Plot vertical line in trades history

 
I want to plot a green vertical line where there was a trade with profit> 0 and a red vertical line where there was profit <0, how to do it?
 
Gabriel Oliveira:
I want to plot a green vertical line where there was a trade with profit> 0 and a red vertical line where there was profit <0, how to do it?

Este Fórum é em Português.

Você sabe programar em MQL5?

 

Eu sei apenas o básico, comecei a pouco tempo

Queria pegar um array de trades history que mostrasse os lucros/prejuizos

Razão: