ivanez / Publications
Forum
How to compare different indicators with different scales when programming?
How to compare different indicators with different scales when programming? I want to know when some lines of certain indicators cross each other to implement it in my programming codes. (I attach a photo). But the problem that I see is that the indicators are designed at different scales. And the
How to pass a callBack function as parameter for another function? and pointers? (correct syntax plz)
I want to do this class MyClass { void func1( bool (func2)() ) { if ( func2() ) { } } ); and this too void func1( void *MyPointer ) { MyType *mt = ( void *)MyPointer; } But it doesn't works in MQL. I
Problems with returned function values in differents periods and chart timeframes
Hi I need to do something like this if ( iAO( Symbol(),PERIOD_M1, 0) <= iAO( Symbol(), PERIOD_M5, 0) ) { .... } But iAO( Symbol(), PERIOD_M5, 0) does not work when my chart timeframe is M1 (It return 0 always). Is it possible to obtain the real returned value of this function in M1