Changing Trade history line color in MT5

 

Hello everyone,
How can I change the line color for the "Trade History" on MT5 chart.
Thank you

 
Here: https://www.mql5.com/en/docs/customind/plotindexsetinteger you have an example of a line with colors.
Documentation on MQL5: Custom Indicators / PlotIndexSetInteger
Documentation on MQL5: Custom Indicators / PlotIndexSetInteger
  • www.mql5.com
PlotIndexSetInteger - Custom Indicators - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
 
Carl Schreiber:
Here: https://www.mql5.com/en/docs/customind/plotindexsetinteger you have an example of a line with colors.

I meant the "Trade History" that is built into MT5 as a tool.
Its not a 3rd arty code

Files:
Capture.JPG  33 kb
 
Carl Schreiber: Here: https://www.mql5.com/en/docs/customind/plotindexsetinteger you have an example of a line with colors.

The OP wants to change to change the colour of the Trade History graphical objects that appear on a Chart when you have the "Trade History" option enabled. It has nothing to do with Indicator plots!

 
Husain Dana: How can I change the line color for the "Trade History" on MT5 chart.

The Trade History is created by Graphical Objects which you can manipulate in the same way that you manipulate other Graphical Objects, changing there color, line-style, etc.

EDIT: However, I don't think there is a way to define how future objects are created for the Trade History, but I will do a little research and report here a little later.

Documentation on MQL5: Object Functions
Documentation on MQL5: Object Functions
  • www.mql5.com
Object Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
 
Fernando Carreiro:

The Trade History is created by Graphical Objects which you can manipulate in the same way that you manipulate other Graphical Objects, changing there color, line-style, etc.

EDIT: However, I don't think there is a way to define how future objects are created for the Trade History, but I will do a little research and report here a little later.

Thank you Fernando... You got my point
 
Husain DanaThank you Fernando... You got my point

As a follow-up, I wasn’t able to find anything that would allow a user to customise the way it creates Trade History graphical objects. It seems their appearance is hard-coded into the application.

 
Yes, it deems so.
I appreciate you looking into this matter... Gracia