I have some few custom indicators that are not activated when you start MT4 but they need me to change the time frame to see them turn. it is possible to correct?
- Indicator only drawing when time frames changed
- Problems with WindowsPriceMax & WindowsPriceMin
- Multi Timeframe Indicators
In init(), try to avoid reading any data that needs connection to a MT4 server. The connection might not be yet be established, and mostly it is not.
I not use any antivirus or firewall.
I'm every online.
Fine.
Could you publish your init() methods here?
Diamne: it is possible to correct?
Code it properly.int counted_bars = IndicatorCounted(); if (counted_bars < 0) return; if(counted_bars == 0){ // one time initialization } if(counted_bars < LOOK_BACK) counted_bars = LOOK_BACK; // SMA(x): lookback=x for(int iBar = Bars - 1 - counted_bars; iBar >= 0; iBar--){ :
When i move initSymbols() to start MT4 Freeze
So reduce your bars on chart to something reasonable.
i have only 500 bar now.
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