" ChartIndicatorAdd " and Error 4114 for any chart symbol and current time frame. Is it important ? - page 2
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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?