Questions from Beginners MQL5 MT5 MetaTrader 5 - page 56 1...495051525354555657585960616263...1605 New comment Yedelkin 2012.10.26 15:41 #551 Dimka-novitsek: The third argument - smoothing period - is simply 140, which seems fine to me. I see. We don't like to answer questions in detail. OK, let's move on. If some "smoothing period" is 140, what value does the function return? ENUM_TIMEFRAMES periodd(int per) if per==140? Errors, bugs, questions FOREX - Trends, Forecasts problem with MathMod in Dimka-novitsek 2012.10.26 15:42 #552 I'll have another look at the platform prints. Dimka-novitsek 2012.10.26 15:43 #553 Thank you!!! Your point is getting through to me!!! Hooray!!! Yedelkin 2012.10.26 15:43 #554 Dimka-novitsek: I'll have another look at the platform prints. What kind of "prints" were you talking about before? :) Dimka-novitsek 2012.10.26 15:44 #555 And it will of course give default: return(PERIOD_CURRENT) as this period is not provided!!! Thank you!!! How interesting!!! Документация по MQL5: Стандартные константы, перечисления и структуры / Константы графиков / Периоды графиков www.mql5.com Стандартные константы, перечисления и структуры / Константы графиков / Периоды графиков - Документация по MQL5 Dimka-novitsek 2012.10.26 15:46 #556 Speech I was just looking at what the platform says in the logbook in,,,,,,,, dynamics. Yedelkin 2012.10.26 15:48 #557 Dimka-novitsek: And it will of course give default: return(PERIOD_CURRENT) as this period is not provided!!! Thank you!!! How interesting!!! Well, does it add up now? Dimka-novitsek 2012.10.26 15:48 #558 Here is from platform 2012.10.26 15:20:33 Removed the print altogether. (EURUSD,M1) iMAfsymbol AUDJPY iMAftimeframe 15 iMAfperiod 140 iMAfmama_shift 0 iMAfmama_method 0 iMAfapplied_price 1 iMAfshift 0 Dimka-novitsek 2012.10.26 15:51 #559 Once again, this print is written inside the function, and it prints the variables that are already there, so to speak more precisely... As is. Uh, I'm going back to help again - I've already opened it. FOREX - Trends, forecasts HELP WHO CAN !!! Discussion on MQL4 documentation Yedelkin 2012.10.26 15:52 #560 Dimka-novitsek: Here is from platform 2012.10.26 15:20:33 Removed the print altogether. (EURUSD,M1) iMAfsymbol AUDJPY iMAftimeframe 15 iMAfperiod 140 iMAfmama_shift 0 iMAfmama_method 0 iMAfapplied_price 1 iMAfshift 0 Here iMAftimeframe has already changed from 1 to 15. Doesn't work either? 1...495051525354555657585960616263...1605 New comment
The third argument - smoothing period - is simply 140, which seems fine to me.
I see. We don't like to answer questions in detail. OK, let's move on.
If some "smoothing period" is 140, what value does the function return?
ENUM_TIMEFRAMES periodd(int per)
if per==140?
I'll have another look at the platform prints.