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

SAIEMA for Amibroker (AFL)

Rating:
2 / 5 (Votes 5)
Tags:
amibroker, moving average

GO Long over blue bar ,short below red bar,yellow bar indicates sideways so do not enter into trade.

Similar Indicators / Formulas

Hull Moving Average (HMA)
Submitted by kaiji almost 15 years ago
Beauty
Submitted by sbtc555 over 11 years ago
Smoothed MA (SSMA)
Submitted by kelvinhand over 11 years ago
Trend Scalping System
Submitted by esnataraj over 14 years ago
TD DeMarker Plane
Submitted by extremist over 13 years ago
Guppy GMMA with "derived" Indicator
Submitted by dalmas over 14 years ago

Indicator / Formula

Copy & Paste Friendly
SetChartBkColor(colorLightGrey) ;
SetBarFillColor( IIf( C >O AND C>MA(C,21) AND C>EMA(C,8),colorBlue, IIf( C <O AND C>MA(C,21) AND C>EMA(C,8),colorBlueGrey,IIf(( C<O AND C<MA(C,21) AND C>EMA(C,8)) OR ( 

C<O AND C>MA(C,21) AND C<EMA(C,8)) ,colorYellow,IIf(( C>O AND C<MA(C,21) AND C>EMA(C,8)) OR ( C>O AND C>MA(C,21) AND C<EMA(C,8)) ,colorPink,IIf( C>O AND C<MA

(C,21) AND C<EMA(C,8) ,colorPink,colorRed) )))));
Col=IIf( C<MA(C,21) AND C<EMA(C,8) ,colorRed,IIf( C>MA(C,21) AND C>EMA(C,8),colorBlueGrey,IIf(( C<MA(C,21) AND C>EMA(C,8)) OR ( C>MA(C,21) AND C<EMA(C,8)) 

,colorYellow,colorYellow)));
Plot( C, "Close", col, styleNoTitle | ParamStyle("Style") | GetPriceStyle() );

7 comments

1. Subash.trader

Hello Sai:
I just tried using your AFL.

I was unable to understand what you meant by Go Long Over the Blue bar etc, because there seem to be a string of Candles of varying shades of Blue or Red. Perhaps it would help if you can be more specific please
Regards
Subash

2. ford7k

hi subash

when you see blue color candle,buy
when you see red candle,sell
yellow is no trend.
you are getting other things other colors due to settings difference.
if uptrend is strong dark blue comes or else lighter color in blue
if dntrend strong,red candle,if weak dntrend,you get shades of red or pink.

anytime you enter you must use a stoploss as follows.
for long trades stoploss at (entry blue candle low -2)=L-2
for short trades, stoploss at entry red candle high 2 = H2 of short entry candle

3. mukyav

Hi ford7k
Can you help adding buy sell definition and scan in an afl chart as I tell the condition of BUY SELL and SL as you have mentioned here.
mukyav@gmail.com

4. saiprakash

Hi subash,
ford7k explained to your query well.to add to that in a strong uptrend you have series of blue bars ,after that if market opens high and close below in the next bar ,to show the lower close we have blue gray bar,similarly in downtrend you have series of red bars when market opens low and close higher in the bar in order to display the higher close in a downtrend we have pink bars ,yellow bars indicate sideways trend.so trade like this,go long when you see blue bar stay in the trade until you see a yellow bar or a red bar,go short when you see red bar stay in the trade until you see a yellow bar or blue bar.
regards
sai

5. saiprakash

hi mukyav,
this afl is pretty good in telling you the trend strength by visually,i have used this afl with other buy sell setups like OR breakouts ect.Haven’t tried alone.
regards,
sai

6. saiprakash

Hi ford7k,
Thanks for explaining the AFL.
regards
sai

7. Subash.trader

Thanks ford and Sai for the explanation.
I was not active for the last few months so I didnt really look into this
Thanks again
Cheers
Subash

Leave Comment

Please login here to leave a comment.

Back