Download MetaTrader 5

from ea to indicator

To add comments, please log in or register
Do you know that MQL5 has classes?
pitro691 2016.11.14 12:14 


I wrote function that calculate and return (for example)variable  X(double),  how can i past with X to simple indicator that each bar displays it on separate window.

right now the same function runs on the ea, and on the indicator, but its too slow.

is there a way to make the ea  calculate X and send it to the indicator? i have looked over the forum and didn't find anything.

 thanks for the help. 

Alain Verleyen
Alain Verleyen 2016.11.14 13:14  
With EventChartCustom() function and OnChartEvent() events processing.
To add comments, please log in or register