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

[amibroker] exploration help



PureBytes Links

Trading Reference Links

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