MrLong wrote: MyDiff is the difference in strength between currency 1 and currency 2, myDiff at 0.00 would mean both the same strength.
You can highlight myDiff, so it's not used, you would assume if we have taken a trade, the A > B, so when that is no longer the case, B would be stronger than A.
For some strange reason mydiff doesnt really work properly, in the end i coded it using the code from cssDiff
libCSS.getCSS(css, TimeFrame, 0);
int CSS_I1 = libCSS.getCurrencyIndex(StringSubstr(symbol, 0, 3));
int CSS_I2 = libCSS.getCurrencyIndex(StringSubstr(symbol, 3, 3));
which worked perfectly