I want to use my residual indicator in a strategy. I want to do something if the indicator crossbelow 2. How should I do that?
I tried somthing like:
int Variable0 =2;
...
// Condition set 1
if (CrossBelow(SpreadPlot2(10, 1, 10, "").Upper, Variable0, 10))
{
PrintWithTimeStamp("works");
}
But there occurs nothing in the output window.
Thank you in advance.
Benjamin

Comment