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

Fibonacci High-Probability Zones for Amibroker (AFL)

3 / 5 (Votes 9)
fibonacci, amibroker

Typically used for day trading based on previous day trading range but this will be adjusted automatically according to the chart interval (If you need to finetune them, jump in and change the ‘Periodicity’ to your heart’s content). For longer trading timeframes, Weekly, monthly or yearly price range may be optimally selected for you. The indicator plots high-probability Fibonacci zones which are the regions most likely to see a reversal during the current trading day. Look for a bounce off one of the levels while the Stochastics is turning up from the oversold area on the 15-min chart (the reverse for a short trade).
The center black line is the daily pivot point.


Similar Indicators / Formulas

Auto retracment
Submitted by gaurav918 almost 9 years ago
Automatic Fibonacci Levels
Submitted by kaiji almost 11 years ago
Automatic Fibonacci
Submitted by ngocleasing over 10 years ago
fibonacci extension updown
Submitted by vijaybaroda over 7 years ago
Fibonacci Cluster
Submitted by sd_stocks over 10 years ago

Indicator / Formula

Copy & Paste Friendly

ShowFibHiProbZone=ParamToggle("Show FIb High-Probability Zone","No|Yes",1);
HpzColor = ParamColor("Line Color",colorBlack);
Periodicity = inDaily;

if(ShowFibHiProbZone AND Interval()<inHourly)
Periodicity = inDaily;
else if(ShowFibHiProbZone AND Interval()==inHourly)
Periodicity = inWeekly;
else if (ShowFibHiProbZone AND Interval()>=inDaily AND Interval()<inMonthly)
Periodicity = inMonthly;
else if(ShowFibHiProbZone AND Interval()>inWeekly AND Interval()<inYearly)
Periodicity = inYearly;
else // Default just to silence the compiler. This will never occur.

Lo=TimeFrameGetPrice("L",Periodicity ,-1);
Cl=TimeFrameGetPrice("C",Periodicity ,-1);




Plot(r1-extnd,"",HpzColor ,sty,Null,Null,extnd,1000);

Plot(s1-extnd,"",HpzColor ,sty,Null,Null,extnd,1000);
Plot(p-extnd,"",HpzColor ,styleNoLabel|styleStaircase|styleNoRescale,Null,Null,extnd,1000);
Plot(r2-extnd,"",HpzColor ,sty,Null,Null,extnd,1000);
Plot(s2-extnd,"",HpzColor ,sty,Null,Null,extnd,1000);

//Daily Range Hi Lo
//Plot(Hi-extnd,"",ColorBlend(colorLime,colorBrightGreen) ,styleNoLabel|styleStaircase|styleNoRescale,Null,Null,extnd,1000);
//Plot(Lo-extnd,"",ColorBlend(colorCustom12,colorRed) ,styleNoLabel|styleStaircase|styleNoRescale,Null,Null,extnd,1000);



1. natiraj

Hey Jay,

I tried using this AFl. My chart screen is complete blank. I cant see any chart

2. kv_maligi


Add price chart, you will get whole picture.

I appreciate Jay for this wonder code.
I need to study this.

Is this code can be used for daily/weekly charts?
if so any adjustments required?

Jay,Kindly post some tips on using this

My ratings 5 ( my initial impression)


3. kv_maligi

Hellow Jay,

Please guide me where i can change in parametsr for daily time frame. i can not see it in parameters.
“This will be adjusted automatically according to the chart interval (If you need to finetune them, jump in and change the ‘Periodicity’ to your heart’s content)”


4. jayman2005

@Natiraj, you have to drop this indicator on an existing chart.

@kv_maligi, if you study the code, you’ll discover that the levels are automatically adjusted according to the current chart time frame.
- If the current chart timeframe is less than an hour, Daily HP lines are drawn.
- If you’re looking at a Daily chart, the monthly HP lines are drawn and so on.
These levels are chosen after a long time of using these levels and they work out best. But you are free to jump in and change it as you desire.

Cheers and happy trading.

5. kv_maligi

Jay, many thanks for prompt reply.

Any reason why weekly HP lines not taken for daily chart (Reference “If you’re looking at a Daily chart, the monthly HP lines are drawn”).

If possible, can you change the code for weekly HP lines & post here.

I will study both & update my comments


6. kv_maligi


I have tested this ( & also compared with my changes as i requested).

This is indeed great code, helps traders. Once again thanks for sharing


7. tsarvjit

good afl .But i think ordinary pivots work well in intraday trading . Fibonacci ret and ext. of last minor and major swing are the best levels according to my experience . I have not posted it here as chart looks too much crowded by so many levels .So i draw manually always .

8. Ram23

I get black screen no chart.

Leave Comment

Please login here to leave a comment.