Handle what? And what does it have to do with RSIOMA indicator?Hi,
I am struggling to find this indicator based on Chande's theory, for MT4 there is nothing, for other platforms instead it is possible to have.
Is there any limitation on the code such as MT4 cannot handle it?
It is also strange that in the MT4 community nobody tried to implement it.
Do you have an answer? Can you suggest me the code at least?
Thank you
G.enio
Switzerland
Which MetaTrader are you testing in - MT4 or MT5?I get an "array out of range" when I use the RSIOMA indicator in the strategy tester. Is there a bug in the code?
void drawLine(const double lvl, const string name, const color Col)
{
if (Bars > 0) { //Prevent array out of range
ObjectDelete(name);
ObjectCreate(name, OBJ_HLINE, WindowFind(short_name), Time[0], lvl, Time[0], lvl);
ObjectSet(name, OBJPROP_STYLE, STYLE_DOT);
ObjectSet(name, OBJPROP_COLOR, Col);
ObjectSet(name, OBJPROP_WIDTH, 1);
ObjectSet(name, OBJPROP_SELECTABLE, false);
}
}
Thank you for the quick fix!Version 1.02 of RSIOMA has been released. It aims to fix the issue reported by @timothysim and to add a version of the indicator for cTrader platform.