PureBytes Links
Trading Reference Links
|
This is a slight modification to a simple system from an article in
April 2005 'Active Trader' mag (article by Xavier Raj). It looks
for 'extreme' price bars i.e., it goes long the next day if price
today opens at the bottom 10% of the price bar and closes at the top
10% of the bar. The trade stays in the market for 24 hrs i.e., it
sells on the open of the following day. Going short is the exact
opposite.
Can somebody test it for me on the NDX100 stocks or, perhaps, Dow30 ?
[I don't carry alot of stocks on my flash drive] Thanks
Range = (H-L);
//Open is in the lowest 10% of the price bar and Close
// is in the highest 10% of the price bar
PriceUp = Close > (High - (Range/10)) AND Open < (Low + (Range/10));
//Open is in the highest 10% of the price bar and
// Close is in lowest 10% of the price bar
PriceDown = Close < (Low + (Range/10)) AND Open > (High -(Range/10));
//Trade on BuyPrice and ShortPrice with one bar delay
SetTradeDelays (1,1,1,1);
BuyPrice = ShortPrice = CoverPrice = SellPrice = Open;
Buy = IIf (PriceUp, BuyPrice, 0);
Sell = 0;
Short = IIf (PriceDown, ShortPrice, 0);
Cover = 0;
ApplyStop (stopTypeNBar, 1, 1,0);
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12h6ac40u/M=362343.6886682.7839641.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1124290546/A=2894350/R=0/SIG=10tj5mr8v/*http://www.globalgiving.com">Make a difference. Find and fund world-changing projects at GlobalGiving</a>.</font>
--------------------------------------------------------------------~->
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/
|