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

[amibroker] Help on what function to use



PureBytes Links

Trading Reference Links

I would like to get a buy signal when 3 conditions are met within a 5 
trading day period. For instance, when the Macd has crossed the 
signal, the stochastic has been below 30, and the MA has changed 
direction from down to up. I know how to write the code when the all 
happen on one day, but I do not understand how to write the code when 
they all happen on different days.

As you can tell, I do not understand how AFL works. I can just do a 
few things.

Thanks,
Tom