Australian (ASX) Stock Market Forum


  1. D

    Amibroker Question: Delay buying signal until second condition is verified

    Dear All, I am trying to implement a simple logic: 1) Find a bar for which MA(C,5) crosses above MA(C,15) 2) From that bar, wait until MA(RSI(),5) crosses above MA(C,15) 3) If 2) happens within 10 bars, then execute a buy otherwise skip I wrote the following AFL code: Crossma =...