It seems to be anything in your other conditions, because it works fine when you change your buy condition: Buy = bb;

 


From: [email protected] [mailto:[email protected]] On Behalf Of thecoolestdude1369
Sent: Friday, November 03, 2006 5:01 AM
To: [email protected]
Subject: [amibroker] exploration help

 

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





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to