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

[amibroker] New Notepad



PureBytes Links

Trading Reference Links

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 ");






------------------------ 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/