the icustom function still at times is not working for me.... surely it must be i'm not accurately reflecting the custom indicators 'parameters' section of that line.... for instance, "macd" works perfect... 12,26,9..... but for something like the "fisher transform rsi", i can't get it correct....
in metastock language its always the last line of code from the custom indicator thats referenced....
how can we know what line/data is being referenced in mql... for instance in macd, there are more than one line, each with a value....
and this below is from
codersgurus course,
what is parameter 5, range?, refering to.... is it perhaps,
SetIndexStyle(0,DRAW_LINE); .....
parmeter 1 :the symbol - NULL for current symbol.
parmeter 2 : time frame - 0 for current time frame.
parmeter 3 : indicator name - here it's " Demo_Indicator".
parmeter 4 : this is a setting for Demo_Indicator - UsePeriod = 13.
parmeter 5 : the line number (range from 0 to 7) - usually used 0.
parmeter 6 : the working bar - 0 for the current bar.
like mention before, macd
double CloseBuy1_1 = iMACD(NULL, 0, 12,26,9,0,0, Current + 0);
works fine but
double BuyPreSet = iCustom(NULL, 0, "INV F T RSI v2", 0, Current + 0);
does not.... any clues to why.....
and i did at one point hard code in all external inputs variables, but still no go.....
its the
inverse fisher transform of rsi that i'm having difficulty with now, can that be called by the icustom function.... thanks for your thoughts here.....h