Use Filter = Buy OR Sell;
By the way, your use of "BuyPrice - SellPrice" as "Profit" doesn't make sense to me. Maybe you meant something else.
 
----- Original Message -----
Sent: Wednesday, November 08, 2006 12:38 PM
Subject: [amibroker] exploration help....

for some reason not my try at creating an exploration file is not
working properly. the buy and buy price are displayed correctly but
the sell and sell price are not being reflected properly and are just
giving me the buy and buy price again. any suggestions?

Buy = momfilter AND newlows;

Sell = RSI(2) > 95;

Filter = Buy==True;
AddColumn(BuyPrice,"Entry",10.2, colorDefault, colorGreen);
AddColumn(SellPrice,"Sell",10.2);
AddColumn(BuyPrice-SellPrice,"Profit",10.2);
AddColumn(H,"High",10.2);
AddColumn(L,"LOW",10.2);
AddColumn(MA(V,20),"Volume 20Close",10.2);
AddColumn(RSI(2),"RSI",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