Profile Picture

Does RightEdge have a "NBarsUp" or "NBarsDown" indicator?

Posted By ChiTrader2000 8 Years Ago

Does RightEdge have a "NBarsUp" or "NBarsDown" indicator?

Message
Posted Sunday May 31 2009
Hello,

I am converting a project over from Ninja Trader to RightEdge, and can't find an indicator that returns the number of bars whose close prices are consecutively higher or lower.  For instance, if the last 4 bars all closed higher than the previous bar, the value "4" should be returned.

Does RightEdge have an equivalent to the "NBarsUp" or "NBarsDown" Ninja Trader indicator?

Thanks,

ChiTrader2000

Posted Sunday May 31 2009
We have a "Consecutive" indicator which is similar. It will be negative to indicate consecutive down days. Here is the description:

This is a utility that will track the consecutive movement of the input series. If the value of the series goes up on four consecutive bars the return will be "4". If the series goes down on three consecutive bars the return will be "-3". When there is no movement the return is "0".


Thanks,
Daniel
Posted Monday June 08 2009
Daniel,

This is just what I need.  Thanks!

ChiTrader2000



Similar Topics


Reading This Topic


2005-2017 © RightEdge Systems