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

Re: [amibroker] Re: short selling



PureBytes Links

Trading Reference Links

Gerard,

Very interesting indicators. Why did you use WMA, rather than the more usual
MA or EMA?
Would you care to 'indicate' how you use this group for trading/investing?

Steve

----- Original Message ----- 
From: "Gerard Carey" <gcfinance@xxxxxxxxxxx>
To: "AB Yahoo group" <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, July 27, 2004 4:15 PM
Subject: [amibroker] G1, G2 & G3. Three Simple Indicators


Friends,

One regularly hears variations
of the following.

"If the Close is near to the day's High
it indicates that the Bulls rule on this day".

And presumably vice versa.

Indications eh?
Shouldn't be too dificult to find something to plot.

Here are three simple Indicators, G1, G2 & G3, based around the above
theory.
Check the attachment.
Position all three below your selected chart and observe the subtle
differences.
(A medium and a longer term indicator based on percentages will come in
a separate post.)

Kind regards
Gerard

// G1 plots Close minus High
GraphXSpace=6;
Plot(A=WMA(WMA(C-H,25),10),"  G1 C-H  ",27,4) ;
Plot(AA=WMA(A,7),"",4,4) ;
Plot(A-AA,"",19,2+65536) ;

Buy=A>AA ;
Sell=A<AA ;
Color=IIf(Buy,27, IIf(Sell,4,
IIf(BarsSince(Buy)>BarsSince(Sell),7,6)));
Plot(5,"ribbon",Color, styleOwnScale|styleArea|styleNoLabel, -0.5,100 );


// G2 plots Close minus Open
GraphXSpace=6 ;
Plot(A=WMA(WMA(C-O,25),10),"  G2  C-O",27,4) ;
Plot(AA=WMA(A,7),"",4,4) ;
Plot(A-AA,"",19,2+65536) ;

Buy=A>AA ;
Sell=A<AA ;
Color=IIf(Buy,27, IIf(Sell,4,
IIf(BarsSince(Buy)>BarsSince(Sell),7,6)));
Plot(5,"ribbon",Color, styleOwnScale|styleArea|styleNoLabel, -0.5,100 );


// G3 plots Close minus Low
GraphXSpace=6;
Plot(A=WMA(WMA(C-L,25),10),"  G3  C-L",27,4) ;
Plot(AA=WMA(A,7),"",4,4) ;
Plot(A-AA,"",19,2+65536) ;

Buy=A>AA ;
Sell=A<AA ;
Color=IIf(Buy,27, IIf(Sell,4,
IIf(BarsSince(Buy)>BarsSince(Sell),7,6)));
Plot(5,"ribbon",Color, styleOwnScale|styleArea|styleNoLabel, -0.5,100 );



Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/