Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

Trend Swing for Amibroker (AFL)
almost 13 years ago
Amibroker (AFL)

4 / 5 (Votes 5)
amibroker, pivots

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.


Similar Indicators / Formulas

Pivots and prices
Submitted by kaiji about 13 years ago
Submitted by kkumar over 10 years ago
Pivots And Prices And Swing Volume
Submitted by esnataraj almost 13 years ago
Camarilla Pivots
Submitted by novicetraders over 12 years ago
Pivot Trading All-In-One
Submitted by kirthi1987 almost 13 years ago
Daily, Weekly and Monthly Pivots
Submitted by sam_u6 almost 13 years ago
You cannot view the code for the following reasons:
  • You must be a member.


1. p_ashvin

Can i have your email address please?

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


2. Shivoham

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

3. LotusHeart

Hello Sir,

Myself Dr. Sunil. I need an indicator for my trading strategy, and for that I require an experienced AFL programmer. I am ready to pay for this service — under my budget limits. Please contact me if you are interested. My email address is:


Leave Comment

Please login here to leave a comment.