Just the many stoch multpair indicators are coded as:
So if you think you have the settings 28,6,10 the 6 is period and the 10 is the value for price field:
price (Low/High or Close/Close)
which has these two values....that s why they don t give the correct versions....
I corrected it as it should be and set the price to close....
Greetings
Inserted Code
double sto = iStochastic(symbols[k],0,StoKPeriod,1,SlowingPeriod,MODE_SMA,StoPrice,MODE_MAIN,y);
price (Low/High or Close/Close)
which has these two values....that s why they don t give the correct versions....
I corrected it as it should be and set the price to close....
Inserted Code
double sto = iStochastic(symbols[k],0,StoKPeriod,StoDPeriod,SlowingPeriod,MODE_SMA,1,MODE_MAIN,y);
Greetings
Attached File(s)
multi_symbols_stochasticAUD.mq4
6 KB
|
173 downloads
Vucking good EA coder... https://t.ly/AZjRM
#14 All Time Return:
483.3%