AndPS

Reference tnarrow Market Logics tnarrow AndPS

AndPS

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

And Period Logic operation for a signal occurring on an Object for the previous Bar


Parameters

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

Returned value

true or false

Example:

(AndPS RSI S_ABOVE P_H1 P_D1)

 

returns true if the RSI indicator is above the mid level for the periods H1 and D1 for the previous bar. If RSI trendlines of the two periods are above the midline it returns true otherwise it returns false.