Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
hi
i add an indicator by "ChartIndicatorAdd " in void OnInit
and with " ChartIndicatorDelete " in void OnDeinit i delete it.
so when i change time frame or delete my indicator from chart the added indicator also will be remove.
-----
is it possible ? : when change time frame added indicator dont remove but when i delete my indicator from chart the added indicator also removed , .. ?
hi
i add an indicator by "ChartIndicatorAdd " in void OnInit
and with " ChartIndicatorDelete " in void OnDeinit i delete it.
so when i change time frame or delete my indicator from chart the added indicator also will be remove.
-----
is it possible ? : when change time frame added indicator dont remove but when i delete my indicator from chart the added indicator also removed , .. ?
In OnInit () it is necessary to check: this indicator already exists?
In OnInit () it is necessary to check: this indicator already exists?
thank to reply, can you please check this:
there is error 4114
Do I understand correctly: when you change the timeframe on the chart, you should leave two indicators?
" when you change the timeframe on the chart, you should leave two indicators? " YES. it redraw for new timeframe,
but
if we remove the indicator from chart ( or delete it from chart ) i want to remove two another indicator ( ichimoko & MA ) also.
" when you change the timeframe on the chart, you should leave two indicators? " YES. it redraw for new timeframe,
...
I did not understand. Redraw - create a new handles "Ichimoku" and "MA"?
Change the time frame and you'll get an error.
yes, you are right.
and how to fix it?