PureBytes Links
Trading Reference Links
|
Coba, was this posted to the AB forum site?
See there
Cheers,
Graham
http://e-wire.net.au/~eb_kavan/
-----Original Message-----
From: coba702002 [mailto:nineplushalf@xxxxxxxxxxx]
Sent: Thursday, June 17, 2004 5:15 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] help!!!!!!!!!!!!!!!!!!!!!!!!
using this formula i get weird results
after i debug this i am finding that the open. close high low
figures don't match what is in quote editor... what am i doing
wrong?????
/**** Morning Doji Star */
MDS = Ref(LargeBodyB,-2) AND //Large Black Candle
Ref(O,-1) < Ref(C,-2) AND Ref(doji,-1) AND //Gap down and doji
yesterday
C > Ref(C,-2) AND white; // GAp up white candle or LARGEWHITE
Filter = (MDS);
Buy = IIf((MDS > 0),1,0);
Var=Ref(H,-1);
Var0=Ref(H,-2);
Var1=Ref(O,-1);
Var2=Ref(O,-2);
Var3=Ref(L,-1);
Var3=Ref(L,-2);
Var4=Ref(C,-1);
Var5=Ref(C,-2);
Var6=O;
Var7=C;
AddColumn( Var, "H -1");
AddColumn( Var0, "H -2 ");
AddColumn( Var1, "O -1");
AddColumn( Var2, "O -2 ");
AddColumn( Var3, "L -1 ");
AddColumn( Var3, "L -2 ");
AddColumn( Var4, "C -1 ");
AddColumn( Var5, "C -2 ");
AddColumn( Var6, "O 0 ");
AddColumn( Var7, "C 0 ");
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 --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/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/
|