PureBytes Links
Trading Reference Links
|
instead of the preset macd:
period1:=Input("period1",1,50,12);
period2:=Input("period2",1,50,39);
trigger:=Input("trigger",1,50,17);
( Mov( C,period1,E ) - Mov( C,period2,E ) ) - Mov( ( Mov( C,period1,E
) - Mov( C,period2,E ) ),trigger,E )
torque
On 5/13/05, pumrysh <no_reply@xxxxxxxxxxxxxxx> wrote:
> Jose,
>
> Here's a first run of a MACD histogram.
>
> Preston
>
>
> {MACD HISTOGRAM}
> {plots as a histogram}
> {with help from Jose Silva}
>
> { User inputs }
> plot:=Input("[1]Line,[2]Histogram",
> 1,2,2);
> signal:=Mov(MACD(),9,S);
>
> {Plot boundaries}
> HiMAC:=If(MACD()>0,MACD(),0);
> LoMAC:=If(MACD()<0,MACD(),0);
> MAC2:=(LoMAC + HiMAC)/2;
> MAC4:=(LoMAC + HiMAC)/4;
> Base:=0;
>
> even:=Cum(1)/2=Int(Cum(1)/2);
> fill1:=If(even,MACD(),MAC2);
> fill2:=If(even,MACD(),MAC4);
> fill3:=If(even,MACD(),base);
> fill4:=If(even,MAC2,MACD());
> fill5:=If(even,MAC4,MACD());
> fill6:=If(even,base,MACD());
> fill7:=If(even,MAC2,base);
> fill8:=If(even,MAC4,base);
> fill9:=If(even,MAC2,MAC4);
>
> {Plot}
> If(plot=1,MACD()and 0,0);
> If(plot=2,fill1,MACD());
> If(plot=2,fill2,MACD());
> If(plot=2,fill3,MACD());
> If(plot=2,fill4,MACD());
> If(plot=2,fill5,MACD());
> If(plot=2,fill6,MACD());
> If(plot=2,fill7,MACD());
> If(plot=2,fill8,MACD());
> If(plot=2,fill9,base);
> signal{end}
>
>
>
>
> ________________________________
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/equismetastock/
>
> To unsubscribe from this group, send an email to:
> equismetastock-unsubscribe@xxxxxxxxxxxxxxx
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
Dr. Torque
http://groups.yahoo.com/group/FXtrades
------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> 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/
|