- Joined
- 7 June 2007
- Posts
- 28
- Reactions
- 0
Hi all,
Getting bizzare results from alertif in Amibroker...
Using this code: (my concern is with the Alertif a the bottom)
buyif = bollidown
AND minprice
AND turnover
AND notMonthbuy
//AND avgvol ;
sellif = bolliup;
PositionScore = 1/C;
Buy = buyif;
Sell = sellif;
Buy=ExRem(Buy,Sell);
Sell=ExRem(Sell,Buy);
Short=Cover=0;
AlertIf( buy, "EMAIL", "Simple text alert", 1 );
The alerts are emailed but I get stocks that do not appear in the analysis. Have set the preferences to "automatic analysis" but ther emust be something wrong with my alertif code as it sends anything but the stocks that are bought in the test. Also, I am testing across one day...but get alerts for the previous days date???
TIA....oh yeah...I get emails for "cover" as well as "buy"????
Getting bizzare results from alertif in Amibroker...
Using this code: (my concern is with the Alertif a the bottom)
buyif = bollidown
AND minprice
AND turnover
AND notMonthbuy
//AND avgvol ;
sellif = bolliup;
PositionScore = 1/C;
Buy = buyif;
Sell = sellif;
Buy=ExRem(Buy,Sell);
Sell=ExRem(Sell,Buy);
Short=Cover=0;
AlertIf( buy, "EMAIL", "Simple text alert", 1 );
The alerts are emailed but I get stocks that do not appear in the analysis. Have set the preferences to "automatic analysis" but ther emust be something wrong with my alertif code as it sends anything but the stocks that are bought in the test. Also, I am testing across one day...but get alerts for the previous days date???
TIA....oh yeah...I get emails for "cover" as well as "buy"????