Dear Mladen, can you please convert this codes into mt4 indicator..
One of the pro-member of tradingview(dot)com shared his indi code for everyone but it is the form of pinescript
Larry Williams Developed This Incredible Indicator. It Gives The Same Readings The VIX -7.78% does for Stock Index’s…But This Indicator Works on All Asset Classes.
pd = input(22, title="LookBack Period Standard Deviation High")
bbl = input(20, title="Bolinger Band Length")
mult = input(2.0 , minval=1, maxval=5, title="Bollinger Band Standard Devaition Up")
lb = input(50 , title="Look Back Period Percentile High")
ph = input(.85, title="Highest Percentile - 0.90=90%, 0.95=95%, 0.99=99%")
pl = input(1.01, title="Lowest Percentile - 1.10=90%, 1.05=95%, 1.01=99%")
hp = input(false, title="Show High Range - Based on Percentile and LookBack Period?")
sd = input(false, title="Show Standard Deviation Line?")
wvf = ((highest(close, pd)-low)/(highest(close, pd)))*100
sDev = mult * stdev(wvf, bbl)
midLine = sma(wvf, bbl)
lowerBand = midLine - sDev
upperBand = midLine + sDev
rangeHigh = (highest(wvf, lb)) * ph
rangeLow = (lowest(wvf, lb)) * pl
col = wvf >= upperBand or wvf >= rangeHigh ? lime : gray
plot(hp and rangeHigh ? rangeHigh : na, title="Range High Percentile", style=line, linewidth=4, color=orange)
plot(hp and rangeLow ? rangeLow : na, title="Range High Percentile", style=line, linewidth=4, color=orange)
plot(wvf, title="Williams Vix Fix", style=histogram, linewidth = 4, color=col)
plot(sd and upperBand ? upperBand : na, title="Upper Band", style=line, linewidth = 3, color=aqua)
There is already a vix indicator for metatrader
Here is just one of the versions (this one is using jurik filter for smoothing)
Upgraded bb stops (some code changes mainly)
Please look on the chart. VDAX isn't at a all-time low and I wrote you dates of the local highs on it. You can see a periodicity. It must be in a valley to take momentum.
If the changes are important, could you update please also the histo version?
DTosc 2.05 Multi RSI
..everything is fixed now .
Some errors and warnings removed.