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

[amibroker] Brian's Tether Code Help



PureBytes Links

Trading Reference Links

I am trying to convert the MS code for Brian's Tether.  I thought I
had it right but when I plot MY AB code the tether always remains
below the price.  This should not happen because at times price should
be above tether line (bullish scenarios).

MS CODE:
TL = ( HHV(H,50) + LLV(L,50) ) / 2

MY AB CODE:
//BRIAN'S TETHER
HV = Param("High Period", 50, 0, 100, 1);
LV = Param("Low Period", 50, 0, 100, 1 ); 

Tether = (LLV(Close,HV) + LLV(Close, LV)) / 2;

// plot tether line
Plot( Tether, "Tether Line", ParamColor("Color", colorBlue),
ParamStyle("style", styleLine ));




Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/