Scanner MACD CrossOver for Amibroker (AFL)
enotes7 about 15 years ago Amibroker (AFL)
It can simply scan the Bullish and Bearish Divergence from the list of Stocks
Indicator / Formula
Copy & Paste Friendly
Buy = Cross( MACD(), Signal() );
Sell = Cross( Signal(), MACD() );
// trade on next bar open
SetTradeDelays( 1, 1, 1, 1 );
BuyPrice = SellPrice = Open;
// trade size: 25% of current portfolio equity
SetPositionSize( 25, spsPercentOfEquity );0 comments
Leave Comment
Please login here to leave a comment.