- Pivot indicators
- Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes
- Harmonic Analysis
Forum on trading, automated trading systems and testing trading strategies
When you post code please use the CODE button (Alt-S)!
-
Please edit your (original) post and use the CODE button (Alt-S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum 2019.05.06
Messages Editor -
limit = (Bars - counted_bars) - 1; for(i = limit; i >= 0; i--){ if(High[i+1] > LastHigh)
When counted is zero, limit is the earliest bar. High[i+1] does not exist.
How to do your lookbacks correctly #9 - #14 & #19 -
You should stop using the old event handlers and IndicatorCounted() and start using new event handlers.
Event Handling Functions - MQL4 Reference
How to do your lookbacks correctly - MQL4 programming forum #9-14 & #19 2016.05.11 -
ArrayCopyRates(rates, Symbol(), PERIOD_D1);
On MT4: Unless the current chart is that specific symbol(s)/TF(s) referenced, you must handle 4066/4073 errors before accessing candle/indicator values.
Download history in MQL4 EA - Forex Calendar - MQL4 programming forum - Page 3 #26 № 4 2019.05.20 - No question, problem asked. No answers necessary.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use