oliver afl

labdhi

Active Member
#1
hi ,
my friend sandeep gives me oliver books and video's.
by his stratgery i needed an simple afl .

condition :

price > 200 sma >50 sma>20 sma > 8 ema . in wealkly also in daily and also in hourly .

i wanna to explore or scan the scripts in which price is greater than these sma's and also this condition satisfy in weakly , daily and hourly time frame .

afl's expert jonny bhai , kelvin sir also seniour member's plz help.

the main thing is here that in uptrend , price remain's mostly above 8 ema , so if it satisfy all above condition's than the script is in explosive uptrend .so any pullback is buyable.
 

mcxinvest

Well-Known Member
#2
hi ,
my friend sandeep gives me oliver books and video's.
by his stratgery i needed an simple afl .

condition :

price > 200 sma >50 sma>20 sma > 8 ema . in wealkly also in daily and also in hourly .

i wanna to explore or scan the scripts in which price is greater than these sma's and also this condition satisfy in weakly , daily and hourly time frame .

afl's expert jonny bhai , kelvin sir also seniour member's plz help.

the main thing is here that in uptrend , price remain's mostly above 8 ema , so if it satisfy all above condition's than the script is in explosive uptrend .so any pullback is buyable.
Clarify this
1) 8 ema rest all are SMA..?
2) you want prices to be above all emas/smas or some thing like this
" prices > 200 sma, 50 >200, 20 > 50, 8ema > 20" ?
 

myamit

Well-Known Member
#5
hi ,
my friend sandeep gives me oliver books and video's.
by his stratgery i needed an simple afl .

condition :

price > 200 sma >50 sma>20 sma > 8 ema . in wealkly also in daily and also in hourly .

i wanna to explore or scan the scripts in which price is greater than these sma's and also this condition satisfy in weakly , daily and hourly time frame .
See exploration AFL here... I could not check for correctness as I do not have data to find our 200 week avg. But check for daily and hourly timeframe and for weekly upto 50 weeks.

Do let me know if this is what you were looking for.


Code:
// Exploration to find out stocks where Price > 8 ema > 20 sma > 50 sma > 200 sma
// AFL by myamit @ TraderJi

SetOption("EveryBarNullCheck", True);
SetChartOptions(0,chartShowArrows|chartShowDates | chartWrapTitle | chartLogarithmic);

_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", colorBlack,ParamStyle("Style",styleCandle,maskAll)); 


wc = TimeFrameCompress(Close, inWeekly ); 
dc = TimeFrameCompress(Close, inDaily);
hc = TimeFrameCompress(Close, inHourly);

Wcond = WC > EMA(wc,8) AND EMA(wc,8) > MA(wc,20) AND  MA(wc,20) > MA(wc,50) AND MA(wc,50) > MA(wc,200) ;

dcond = dC > EMA(dc,8) AND EMA(dc,8) > MA(dc,20) AND  MA(dc,20) > MA(dc,50) AND MA(dc,50) > MA(dc,200) ;

hcond = hC > EMA(hc,8) AND EMA(hc,8) > MA(hc,20) AND  MA(hc,20) > MA(hc,50) AND MA(hc,50) > MA(hc,200) ;


Filter =  wcond AND dcond AND Hcond;
AddColumn( Close, "Close  " );
 

sanjn84

Active Member
#6
thanks myamit ji , i am also searching for same . thanks for help.
sir in my terms if we find out such scripts which r in super uptrend than if any decline comes than we may purchase at breaking of previous day high , what do u suggest sir.
 

sanjn84

Active Member
#7
amit ji , if we wanna to check with daily , hourly and 5 minutes than what is to be added for 5 minutes ,
 

Similar threads