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

Isfandi Profit Taker Channel for Amibroker (AFL)
isfandi
about 13 years ago
Amibroker (AFL)

Rating:
5 / 5 (Votes 2)
Tags:
amibroker, bands

Enjoy everyone

Regards,
Isfandi

Screenshots

Similar Indicators / Formulas

%B of Bollinger Bands With Adaptive Zones
Submitted by kaiji over 14 years ago
Trend Bands
Submitted by rogercraft about 14 years ago
Jurik's Spandex Band
Submitted by xavier over 12 years ago
Bollinger %B
Submitted by konidena about 14 years ago
Bollinger Band Squeeze & Expansion
Submitted by razasia about 14 years ago
Bands
Submitted by tanujaya almost 13 years ago

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Isfandi Profit Taker Channel");
HaClose =EMA((O+H+L+C)/4,3);
HaOpen = AMA( Ref( HaClose, -1 ), 0.5 );
HaHigh = Max( H, Max( HaClose, HaOpen ) );
HaLow = Min( L, Min( HaClose, HaOpen ) );

ProfitTaker = EMA( H, 13 ) + 2 * ATR(10);
LosserTaker = EMA( L, 13 ) - 2 * ATR(10);
MidTaker = (LosserTaker+ProfitTaker)/2;
MidHigh = (MidTaker+ProfitTaker)/2;
MidLow = (MidTaker+LosserTaker)/2;
secure= (MidTaker+MidHigh)/2;
worry= (MidTaker+MidLow)/2;

outsidebar = C < secure AND C > MidTaker;
insidebar = C < MidTaker  AND C > worry;
upbar = C > MidTaker AND C > secure ;
downbar = C < MidTaker AND C < worry;

barcolor = IIf(outsidebar, colorGold,
               IIf(downbar, colorRed,
                   IIf(upbar, colorBrightGreen,
                       IIf(insidebar, 11, colorYellow)
                      )
                  ) 
              );

Title = Name() + "\\c" + barcolor + " - Color Bar Chart : " +
         WriteIf(Outsidebar, "Outside Bar",
                  WriteIf(insidebar, "Inside Bar",
                             WriteIf(upbar, "Up Bar",
                                      WriteIf(downbar, "Down Bar", "Neutral Bar")
                                   )
                         )
                );

Plot(Close, Title, barcolor, styleThick + styleCandle);
Plot( ProfitTaker, "Profit taker", colorViolet, styleLine );
Plot( LosserTaker, "LosserTaker", colorDarkBlue, styleLine );
Plot( MidTaker, "MidTaker", colorLightGrey, styleLine );
Plot( MidHigh, "MidHigh", colorDarkGreen, styleLine );
Plot( MidLow, "MidLow", colorPlum, styleLine );
Plot( secure, "secure", colorPlum, styleLine );
Plot( worry, "worry", colorPlum, styleLine );
PlotOHLC(MidHigh, MidHigh, secure, secure, "", IIf(MidHigh > secure,colorDarkGreen, colorDarkGreen),styleNoLabel|styleCloud );
PlotOHLC(MidLow, MidLow, worry, worry, "", IIf(MidLow > worry,colorPlum, colorPlum),styleNoLabel|styleCloud );
_SECTION_END();

5 comments

1. didicapital

Punteun, abdi cobian kang.. Nuhun ah, Insya Allah bermanfaat..

2. anandnst

code is not working

3. Rakesh Kumar

Working fine for me.

4. macerina

does anyone have the indicator at the bottom of this chart

Pls post the afl … thanks

5. jeyaraman

Excellent work and fine afl…..Thanks a lot

Leave Comment

Please login here to leave a comment.

Back