AndTS

Reference tnarrow Market Logics tnarrow AndTS

AndTS

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

AND Period Logic operation for a signal occurring on an Object on the first tick for the current Bar . This function returns true only when the status of the signal is changed.


Parameters

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

Returned value

true or false

Example:

(AndTS RSI S_ABOVE P_H1)

 

returns true if the RSI indicator is above the mid level for periods H1 only on the first tick. This happen when the trendline of the RSI crosses the midline.