下载MetaTrader 5

How to unload the indicator by program

要添加评论,请登录注册
Tim Choi
10
Tim Choi  
I want to know if it is possible to unload the indicator from the chart by the indicator itself.

Actually, I want to avoid the user to load the same indicator more than one into the same chart.

Thanks.
Rashid Umarov
管理员
12500
Rashid Umarov  
No, it's impossible. But you can detect the name of indicator (or expert) which will be run at this time by function WindowExpertName( ) and look for the window with attached this indicator. See WindowFind()
要添加评论,请登录注册