PureBytes Links
Trading Reference Links
|
It seems to be anything in your other conditions, because it works fine when
you change your buy condition: Buy = bb;
Thomas
<http://www.tradingbasis.com/> www.tradingbasis.com
_____
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of thecoolestdude1369
Sent: Friday, November 03, 2006 5:01 AM
To: amibroker@xxxxxxxxxxxxxxx
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);
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.27/517 - Release Date: 11/3/2006
|