|
Functions by Category Functions by Alphabetical list
Much like the Crossover and Crossunder functions but rather than return a value for the current bar, it returns a column. This allows you to ask questions such how many bars ago a cross happened.
Examples:
Output Yesterday(Cross(EMA(Close,5),EMA(Close,12))); #did we have a cross Yesterday<br />Output Now(BarsSince(Cross(EMA(Close,5),EMA(Close,12)))); #How many bars go did a cross happen
Related functions: Above , Below , Crossover , Crossunder , Today , Now , Yesterday , Previous , Ago
|