Jim Dean
 Sage
       Posts: 3433
Joined: 3/13/2006
Location: L'ville, GA
User Profile |
I haven't gotten into ats yet- waiting for it to settle down.
But anything looking for a script in OT can use a function call of an OLang indicator, which the code I showed could be a part of - just put #indicator at the top and return Y at the bottom.
In theory, iif() could be used but sometimes I've found it to be problematic:
Iif(std(4)=0,0,(C-sma(4))/std(4))
|