• Australian (ASX) Stock Market Forum

Hello and welcome to Aussie Stock Forums!

To gain full access you must register. Registration is free and takes only a few seconds to complete.

Already a member? Log in here.

Email alerts in Amibroker

Discussion in 'Trading/Investing Resources' started by stevecar144, Dec 20, 2019.

  1. stevecar144

    stevecar144

    Posts:
    28
    Likes Received:
    0
    Joined:
    Jun 7, 2007
    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"????
     
Loading...

Share This Page