How to apply ExRem() only for current day (with AFL)

Discussion in 'App Development' started by option_greek, Sep 14, 2015.

  1. Hi all,
    I'm using amibroker formula language to code up a simple buy/sell indicator. I'm using ExRem() function to remove extra Buy/Sell signals. Problem is that if a buy signal is generated yesterday, ExRem won't let another be raised even for today till another Sell signal is generated. This is driving me nuts. Any help is appreciated.

    Thanks!
     
  2. M.ST.

    M.ST.

    "How to apply ExRem() only for current day (with AFL)"

    for example

    Code:
    Sell = ..... OR Cross( TimeNum(), 160000 );
     
    option_greek likes this.
  3. Thanks M.ST.