rsi-with-dynamic-levels

#1
rsi-with-dynamic-levels as shown in Karthik's blog

http://karthikmarar.blogspot.ca/2013/08/rsi-with-dynamic-levels.html

but if one click his "Download the afl from here "

there is no afl to be found there,
all they got is .exe file , which is about 400KB,

usually a normal afl is only less than 20KB,

I hated those 4 shared link, you don't know which one is the one
u needed to download.

can someone post rsi with dynamic levels by Karthik here ?
 

NJ23

Well-Known Member
#2
Here's the code:
Period = Param("RSI Period", 10, 2, 30, 1);
Multiplier = Param("SD Multiplier", 3, 1, 30, 1);
myRSI = RSI(Period);
Adev = StDev(myRSI, Multiplier*Period);
Hiline = 50 + 1.8*Adev;
Loline = 50 - 1.8*Adev;
Plot(myRSI,"",ParamColor("RSI Color", Colorcycle),8);
Plot(Hiline,"",ParamColor("Hi Color", colorRed),1);
Plot(Loline,"",ParamColor("Low Color", colorGreen),1);

Title = " " +Name() +
" Dynamic RSI Threshold, t = " +
WriteVal(period, format=1.0) + " ";
 
#4
found this on internet and was in my afl folder

_SECTION_BEGIN("MODIFIED RSI ");
SetChartBkColor(ParamColor("Panel color ",colorBlack));
RP = Param("RSI",14,2,20,1);
UL= Param("Upper Limit",70,0,100,1);
LL= Param("Lower Limit",30,0,100,1);
PlotGrid(UL,colorBlue);
PlotGrid(LL,colorBlue);
R= RSIa(C, RP);
Plot(R, "MODIFIED RSI", colorLime, styleThick);

Overbought=70;
Oversold=30;
Plot(Overbought,"Overbought Zone",colorBlue);
Plot(Oversold,"Oversold Zone",colorGreen);

Overbought=70;
Oversold=30;
Buy = Cross(R, Oversold) AND R > Oversold;
Sell = Cross(Overbought, R) AND R < Overbought;

PlotShapes(IIf(Sell, shapeDownArrow , shapeNone), colorRed);
PlotShapes(IIf(Buy, shapeUpArrow , shapeNone), colorGreen);

_SECTION_END();

MaxGraph=10;
Period1=Param("Period 1", 10, 5, 50, 1);
Period2=Param("Period 2", 10, 5, 50, 1);
EMA1= EMA(R,Period1);
EMA2= EMA(EMA1,Period2);
Difference= EMA1 - EMA2;
ZeroLagEMA= EMA1 + Difference;
PR=abs(ZeroLagEMA);

Graph0=PR;

MoveAvg=MA(PR,5);

// Graph1=MoveAvg; Remove the // if you want a Crossover MA to plot
// Graph1Color=colorTan;

Graph0Style=4;
upbar= PR>= MoveAvg AND PR>= Ref(PR,-1) ;
downbar=(PR < MoveAvg) OR PR>= MoveAvg AND PR< Ref(PR,-1) ;
barcolor = IIf( downbar,colorRed, IIf( upbar, colorBrightGreen, 7));
Graph0BarColor = ValueWhen( barcolor != 0, barcolor );
Graph2=30;
Graph3=70;

Graph2Style=Graph3Style=Graph4Style=1;
Graph4Color=2;
Graph2Color=5;
Graph3Color=4;
Period = Param("RSI Period", 10, 2, 30, 1);
Multiplier = Param("SD Multiplier", 3, 1, 30, 1);
myRSI = RSI(Period);
Adev = StDev(myRSI, Multiplier*Period);
Hiline = 50 + 1.8*Adev;
Loline = 50 - 1.8*Adev;
Plot(myRSI,"",ParamColor("RSI Color", Colorcycle),8);
 
Last edited:

umeshmandal

Well-Known Member
#5
rsi-with-dynamic-levels as shown in Karthik's blog

http://karthikmarar.blogspot.ca/2013/08/rsi-with-dynamic-levels.html

but if one click his "Download the afl from here "

there is no afl to be found there,
all they got is .exe file , which is about 400KB,

usually a normal afl is only less than 20KB,

I hated those 4 shared link, you don't know which one is the one
u needed to download.

can someone post rsi with dynamic levels by Karthik here ?
The file I found on 4shared was very small. Please recheck.
This is the link I got from Karthink blog:
http://www.************/get/Z4iz5o31/RSI_with_Dynamic_Levels_V10.html
 

KelvinHand

Well-Known Member
#6
rsi-with-dynamic-levels as shown in Karthik's blog

http://karthikmarar.blogspot.ca/2013/08/rsi-with-dynamic-levels.html

but if one click his "Download the afl from here "

there is no afl to be found there,
all they got is .exe file , which is about 400KB,

usually a normal afl is only less than 20KB,

I hated those 4 shared link, you don't know which one is the one
u needed to download.

can someone post rsi with dynamic levels by Karthik here ?
There is no download issue:
PHP:
// Dynamic Levels RSI version V.1.0
// Afl by Karthikmarar
// www.karthikmarar.blogspot.com
//============================================================
_SECTION_BEGIN("RSI with Dynamic Levels");
//SetChartBkColor(colorWhite); 
DZbuy = Param("Buy Zone Probability",0.1,0.1,0.5,0.1);
DZsell = Param("Sell Zone Probability",0.1,0.1,0.5,0.1);
Period = Param("Period", 14, 2, 30, 1);
Lb = Param("LookBack Period",60,40,120,1);
mySig = RSI(Period);
jh = HHV(mySig,Lb);
jl = LLV(mySig,Lb);
jc = (WMA((jh-jl),Period)*0.50)+WMA(jl,Period);
Hiline = jh-jc*DZbuy;
Loline = jl+jc*DZsell;
//midline = (jh-jl)/2;
Plot(HiLine,"",colorDarkRed, styleThick| styleDashed);
Plot(LoLine,"",colorDarkRed, styleDashed|styleThick);
Plot(jc,    "",colorGrey40,   styleDashed|styleThick);

R =  ( 4 * mySig + 3 * Ref(mysig,-1) + 2 * Ref(mysig,-2) + Ref(mysig,-3) ) / 10;
Plot(R,"",IIf(R>jc,colorLime,colorRed),styleThick);
kh = IIf(R>Hiline, R,Hiline);
PlotOHLC( kh,kh,Hiline,Hiline, "", IIf(R>HiLine,colorLime,colorBlack), styleCloud );
kl = IIf(R <Loline, R,Loline);
PlotOHLC( Loline,Loline,kl,kl, "", IIf(R<HiLine,colorRed,colorBlack), styleCloud );
Title = Name() + "- Floating Level RSI V1.0(" + WriteVal(period, 1.0) + ")";
 
#7
can anyone , modified using Kartik formula , make "stochastic dynamic level" AFL version ?

i tried before, changing mySig with Stochastic value but fail

still working / confuse with these math formula
jc = (WMA((jh-jl),Period)*0.50)+WMA(jl,Period);

R = ( 4 * mySig + 3 * Ref(mysig,-1) + 2 * Ref(mysig,-2) + Ref(mysig,-3) ) / 10;

still trying compare / combine with Mladen Rakic DSL & DZ mql version
https://forex-station.com/viewtopic.php?t=8412010&start=100
https://www.mql5.com/en/forum/179876

hope Karthik Marar, @KelvindHand or others can help
thank in advance
afl newbie only
 

Similar threads