iCustom Returns Only Period M1 instead of Period M15
- Provide a link to the indicator, or it's code. We have no idea whether your calls are correct, or if it returns what you think it does, or even which version you are using.
-
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)
- Provide a link to the indicator, or it's code. We have no idea whether your calls are correct, or if it returns what you think it does, or even which version you are using.
-
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)
itm = iTime(Symbol(), PERIOD_CURRENT, i); shift = iBarShift(NULL,PERIOD_M15,itm); zig_zag=iCustom(NULL, PERIOD_M15, "ZigZagZug.v1.4","--- Primary Indicator Settings ---",ZZ_Depth,ZZ_Backstep,ZZ_Deviation,false,false,"(High) Breakout has occured!","(Low) Breakout has occured!", 0, shift); zig=iCustom(NULL, PERIOD_M15, "ZigZagZug.v1.4","--- Primary Indicator Settings ---",ZZ_Depth,ZZ_Backstep,ZZ_Deviation,false,false,"(High) Breakout has occured!","(Low) Breakout has occured!", 1, shift); zag=iCustom(NULL, PERIOD_M15, "ZigZagZug.v1.4","--- Primary Indicator Settings ---",ZZ_Depth,ZZ_Backstep,ZZ_Deviation,false,false,"(High) Breakout has occured!","(Low) Breakout has occured!", 2, shift);
Hello Guys.
I am new in the MQL4 world. I am trying to use ZigZagZug in my EA.
This is my call. The values which I am getting are correct but for Period M1 and not Period M15. What is my fault :( I know that parameters are correct but again I am getting only the results for Period M1 and not M15. I don't care if there is a zigzag on M1 but only for M15...
Can you help me?