OrS

Reference tnarrow Market Logics tnarrow OrS

OrS

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

OR Period Logic operation for a signal occurring on an Object for the current Bar


Parameters

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

Returned value

true or false

Example:

(OrS RSI S_ABOVE P_H1 P_D1)

 

returns true if the RSI indicator is above the mid level for the periods H1 or D1. If RSI trendline is below  midline in one of the two periods or below the midline in the two of them it returns false.