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

Re: ELA-Help



PureBytes Links

Trading Reference Links

This should be what you're looking for.  

Plot1(TSI_Trade(Close,32,5,5),"TSI_Trade");
 

 

>I have entered the following code from the book "Momentum, Direction &
>Divergences"
>by Bill Blau:
>
>{ User Function:  TSI_Trade = True Strength Index Trade by Bill Blau}
>
>{Triple exponential moving averages are used.}
>
>{FORMAT:  TSI_TRADE(PRICE,r,s,u) }
>
>Inputs:  Price(NumericSeries), r(NumericSimple), s(NumericSimple),
>u(NumericSimple);
>
>Value1 = TSI(Price,r,s,u);
>
>If Value1 - Value1[1] > 0 AND Value1 > 0 then
>        Value2 = value1
>Else
>        Value2 = 0;
>
>If value1 - Value1[1] < 0 AND Value1 < 0 then
>        Value3 = Value1
>Else
>        Value3 = 0;;
>
>TSI_Trade = Value2 + Value3;
>
>
>My question is:  How do I display TSI_Trade as and indicator?
>
>Thanks,
>Randy
>
>