Hi,
I've developed SelfAjustRSI with following inputs:
Price = 0; 0-Close; 1-Open; 2-High; 3-Low; 4-Median; 5-Typical; 6-Weighted
RSIPeriod=14; Period of RSI
K = 1; Deviation ratio
Mode = 0; RSI mode : 0 - typical(smoothed by SMMA); 1- clssic (smoothed by SMA)
Igor
Files:
selfadjustrsi_v1.mq4
5 kb
Excellent Igorad, Thank u very much
Where did you get the 25 LSMA indicator?
formor:
Hi, u can use some filters, i.e. overlayed SMA and/or LSMA.
Hi, u can use some filters, i.e. overlayed SMA and/or LSMA.
RSI itself has some internal problem, even the creator himself can not solve.
As least, 70-30 should not be fixed at any time to represent oversold and overbought !
If this oversold and overbought can be adjusted automatically, it will be much better !
Carlo
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi Programmers!![](https://c.mql5.com/forextsd/smiles/teeth_smile.png)
Anybody can help me convert this indicator to MT4? . Thanks very very much!
======================================================
1. Navigator Window>Tools>Indicator Builder>[New] button
2. In the Indicator Bookmark, type the following text for each field:
Name: Self-Adjusting Relative Strength Index
Short Name: vt_RsiSa
Label Mask: Self-Adjusting Relative Strength Index (%price%, %periods%, %k%)
Placement: New Frame
Inspect Alias: Self-Adjusting RSI
3. In the Input Bookmark, create the following variables:
[New] button... Name: Price , Display Name: Price , Type: price , Default: Close
[New] button... Name: Periods , Display Name: Periods , Type: integer , Default: 14
[New] button... Name: k , Display Name: Standard Deviation of RSI , Type: float , Default: 1.8000
4. In the Output Bookmark, create the following variables:
[New] button...
Var Name: _RSI
Name: _RSI
Line Color: dark green
Line Width: slightly thicker
Line Type: solid line
[New] button...
Var Name: OB
Name: OverBought Level
Line Color: light blue
Line Width: slightly thicker
Line Type: solid line
[New] button...
Var Name: OS
Name: OverSold Level
Line Color: light blue
Line Width: slightly thicker
Line Type: solid line
5. In the Horizontal Line Bookmark, create the following lines:
[New] button...
Value: +70.000
Color: red
Width: thin line
Type: dashed line
[New] button...
Value: +50.000
Color: grey
Width: thin line
Type: dashed line
[New] button...
Value: +30.000
Color: red
Width: thin line
Type: dashed line
6. In the Formula Bookmark, copy and paste the following formula:
{Provided By: Visual Trading Systems, LLC © Copyright 2006}
{Description: Self-Adjusting Relative Strength Index by David Sepiashvili}
{Notes: February 2006 Issue – Flexible Relativity – The Self-Adjusting RSI}
{SA-RSI Version 1.0}
rsi_r:= (price - ref(price,-1));
rsi_rs:= Wilders(if(rsi_r>0,rsi_r,0),periods) / Wilders(if(rsi_r<0,Abs(rsi_r),0),periods);
_RSI:= 100-(100/(1+rsi_rs));
OB:= 50 + k * stdev(_RSI,periods);
OS:= 50 - k * stdev(_RSI,periods);
6. Click the “Save” icon to finish building the Self-Adjusting RSI indicator.