How might I use IsRising / IsFalling not from the current bar, but based upon previous bar. For example:
Print("The SMA is " + SMA(20)[3]; // Prints the 20 SMA value based upon the third most recent bar
Print("IsRising is " + IsRising(20)); // Prints the 20 SMA IsRising on the current bar
Print("IsRising from 3rd most recent bar " + IsRising(SMA(20)[3])); // I get an overloaded error here
How can I do IsRising ./ IsFalling not based upon the current bar, but previous bars? Thanks,

Comment