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

[EquisMetaStock Group] On Balance True Range MACD Hist


  • Date: Tue, 16 Mar 2010 05:47:48 -0000
  • From: "formulaprimer" <formulaprimer@xxxxxxxxx>
  • Subject: [EquisMetaStock Group] On Balance True Range MACD Hist

PureBytes Links

Trading Reference Links

Accumulation and Distribution Indicator
Color Coded Histogram

On Balance True Range MACD Hist

====================================

{On Balance True Range MACD Hist by formulaprimer}
OBTR:=Cum(If(C > Ref(C,-1),1,-1) * 
(If(Ref(C,-1) < L,{Then} (H - Ref(C,-1)),
{Else}If(Ref(C,-1) > H,{Then} (Ref(C,-1) - L),
{Else} (H - L)))));
ShortMA:= Input("ShortMA -",1,200,8);
LongMA:= Input("LongMA -",1,200,17);
SignalMA:= Input("SignalMA - ",1,200,9);
MACDOBTR:=Mov(OBTR,ShortMA,E) - Mov(OBTR,LongMA,E);
If(MACDOBTR>=Ref(MACDOBTR,-1),MACDOBTR,0);
If(MACDOBTR<Ref(MACDOBTR,-1),MACDOBTR,0);
Mov(Mov(MACDOBTR,ShortMA,E)-Mov(MACDOBTR,LongMA,E), SignalMA,E);
{End}






------------------------------------

Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    equismetastock-digest@xxxxxxxxxxxxxxx 
    equismetastock-fullfeatured@xxxxxxxxxxxxxxx

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

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