OrBS

Reference tnarrow Market Logics tnarrow OrBS

OrBS

(OrBS
numeric : Object
numeric : Signal
numeric : Period, Period1, …Period6
)

OR Period Logic operation for a signal occurring on an Object for the current Bar and not occuring on the previous bar


Parameters

Object : Object Name
Signal : Signal Name
Period… : list of Periods Name

Returned value

true or false

Example:

(OrBS RSI S_ABOVE P_H1 P_D1)

 

returns true if the RSI indicator is above the mid level for periods H1 or D1 and not occurring for the previous bar.  This case can happen when the trendlines of  the two periods are below the midlevel line for the previous bar, otherwise it returns false