Contribute an indicator to the library by clicking here. Note you must be logged in.

New! Stock Portfolio Organizer is now available:
  • Shares, Margin, Futures and Forex
  • EOD and Realtime data
  • And Much More...
GoTo Stock Portfolio Organizer
New! WiseTrader Toolbox for Amibroker is now available with:
  • Advanced Adaptive Indicators
  • Advanced Pattern Exploration
  • Neural Networks
  • And Much More...
GoTo WiseTrader Toolbox

Popular Indicators

Intraday Trend Following Strategy using MACD and Bollinger Band for Amibroker (AFL)

3 / 5 (Votes 2)

Trend following is certainly a sure-shot way to mint money during rising or falling markets. At sideways trend it can be painful due to consecutive whipsaws but there is no way to avoid that. The only thing we can try is to minimize whipsaws using combination of indicators. The intraday trend following strategy that we are going to discuss uses combination of MACD and Bollinger Bands to indicate trading opportunities. MACD is used to identify the direction of market (uptrend or downtrend) while Bollinger bands are used to catch only strong trends and avoid unnecessary whipsaws. This is a pure intraday strategy as none of the positions are carried forward. The strategy has a decent success rate in 5 minutes timeframe. Also, the CAGR of 40%~ in 4 years backtesting period is commendable.

Read more about this strategy and download the backtest report here.

Here is a screenshot of how the indicator looks:

Similar Formulas



It shows a syntax error at Line:18. Could you kindly double check

2. joeoil

No, it’s not any syntax error in the code.

I have Amibroker v. 5.90.

is not good

Hello, I found your formula is very useful if do it reversely, may i ask your to write one to do that? thx a lot

Please login here to leave a comment.

Main Menu