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

Trend Swing for Amibroker (AFL)

4 / 5 (Votes 5)

This swing is NOT based on percentage OR logarithmic changes of the Price.
Swing segments are triggered by the current Price (Close) > OR < than an average Price (Close) for a specified Period.
Additionally, a minimum number of bars can be set to make a swing segment valid.
Triggers can be turned on/ off (small triangles above High OR Low).
Swing Pivots can be annotated (on/off) with: change in value, % change, AND length of the swing segment in bars.
Swing color is NOT based on segments.
If the resistance is taken out (previous Peak) the Trend is up. If the support is taken out (previous Trough) the Trend is down.

Here is a screenshot of how the indicator looks:

Similar Formulas


You must be a member to view this formula. Please login or register.


Can i have your email address please?

I want to do some modification in above formula’s to make it as barros swing chart.


Hi is it possible to draw auto fib levels to swings in above Formula

Please login here to leave a comment.

Main Menu