for some reason not buying and selling properly which i want it to do 
on the following day opening after meeting criteria.  and want it to 
show whether it was a profit or loss but my column isn't working for 
some reason.  help

bb = H > O + .05;

ss = Ref(RSI(2),-1) > 60;

ss1 = Low < O - .05;

 

Buy = pvfilter AND MAproperorder AND momfilter1 AND momfilter2 AND 
newhighs AND rsi5 AND uptrend AND bb;

 

Filter = Buy==True;

AddColumn(C,"Close",10.2);

AddColumn(C,"High",10.2);

AddColumn(L,"LOW",10.2);

AddColumn(Ref(C,-1),"Close -1",10.2);

AddColumn(MA(V,20),"Volume 20Close",10.2);

AddColumn(RSI(2),"RSI",10.2);

AddColumn(BuyPrice-SellPrice,"profit",10.2);





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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to