Quote:
Originally Posted by frankychen
Hi, FerruFx
Please give me a solution to solve the problem for all
the MTF indicators I downloaded but not display as you saw.
Or give me help how to midify the sourcecode to solve it?
Thanks a lot!!!!!!!!!!!!!!!!!!!!!!!
Best regards
Franky
|
You need to do something like this in init(), where the pairs should be defined:
// Initialize for IBFX (or any broker that uses more than the standard 6 characters)
string AddChar;
if (StringLen(Symbol()) > 6) AddChar = StringSubstr(Symbol(), 6 );
sAUDUSD = "AUDUSD" + AddChar;
sEURUSD = "EURUSD" + AddChar;
sUSDCHF = "USDCHF" + AddChar;
sNZDUSD = "NZDUSD" + AddChar;
sGBPUSD = "GBPUSD" + AddChar;
sUSDJPY = "USDJPY" + AddChar;
sUSDCAD = "USDCAD" + AddChar;
Hope this helps.