[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Referencing custom indicators in back testing



PureBytes Links

Trading Reference Links

BUY=DSS<30 AND DSS>REF(DSS,-1);

--- In amibroker@xxxx, Yuki Taga <yukitaga@xxxx> wrote:
> All:
> 
> Probably pretty simple answer, but I can't find it. How do I write 
a
> reference to my own custom indicator for a buy or sell Signal?
> 
> For example, if I create a custom indicator called DSS, how do I
> write a buy formula that specifies DSS be less than 30 but higher
> than the previous day's DSS. (I understand ref() of course, but
> cannot seem to write my own indicator as a function in AFL that the
> system will accept.)
> 
> Yuki ^_^
> 
> mailto:yukitaga@x...