Quote:
|
Originally Posted by tirou
HI CG,
Is it possible programatically to do the following action.
a. To delete an indicator from a chart.
b. Wait for "X" time.
c. Reload the Indicator.
d. Wait for "X" time.
e. Repeat from "a".
If it is possible, can you please post it in the forum. Thanks in advance. 
|
This couldn't be coded with normal MQL4, you need to go to:
Send Keyboard keys to MetaTrader!
and
Programmatically Refresh your charts
The idea is to send keys to MetaTrader, the keys you might need:
Ctrl+I to open Indicator list window. Then Send the first letter of the Indicator's name key (For example: C for CCI). Then you have to send ALT_D to delete the indicator then send ESC key.
Hope it works!