I've been messing around with some old EAs that seemed to work well until the fatidic moment when they just make you loose everything
But I got stumped with CSS! Instead of puttin gall CSS Code into each EA I thought about using one of the generously provided includes available, like CSSLib.mqh or libCSSMod.mqh.
After including those and using its functions nothing seemed to happen and took me a while until I realised what the problem was. First I thought that I couldn't get values returned from the function when backtesting, as the returned value was 0 (zero). Then I realized that not every function was returning 0, but the one I wanted was.
So, I want to know the value of CSSDiff and can only get 0 as return (This is in backtesting, of course, it works well when used a real chart).
Can anyone explain why can't get a value from CSSDiff?