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

[EquisMetaStock Group] OBTR MACD Color Coded Hist


  • Date: Fri, 19 Mar 2010 20:30:14 -0000
  • From: "formulaprimer" <formulaprimer@xxxxxxxxx>
  • Subject: [EquisMetaStock Group] OBTR MACD Color Coded Hist

PureBytes Links

Trading Reference Links

OBTR MACD Color Coded Hist (rapid)
=============================

TrueRangeHigh:=Max( Ref(CLOSE,-1), HIGH );
TrueRangeLow:=Min( Ref(CLOSE,-1), LOW );
OBTR:=Cum(If(C > Ref(C,-1),C-TrueRangeLow, If(C < Ref(C,-1),C-TrueRangeHigh,0)));

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}



OBTR MACD Color Coded Hist 
=======================================

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/