Double Sided Vix Fix
Double Sided Vix Fix
study(title="Double_Sided_Vix_Fix", shorttitle="Double_Sided_Vix_Fix",
overlay=false)
//Created By ChrisMoody on 12-26-2014...V3 MAJOR Update on 1-05-2014
//01-05-2014 Major Updates Include:
//FILTERED ENTRIES --- AND AGGRESSIVE FILTERED ENTRIES - HIGHLIGHT BARS AND ALERTS
//Ability to Change All Bars To Gray, and Plot Entries AND Highlight Bars That
Match The Williams Vix Fix
//Alerts Enabled for 4 Different Criteria
//Ability To Plot Alerts True/False Conditions on top of the WVF Histogram
//Or Get Rid Of the Histogram and just see True/False Alerts Conditions.
plot(wvf_i, title='wvf_i')
plot(lowerBand_i, title='lowerBand_i', color=blue)
plot(upperBand_i, title='upperBand_i', color=blue)
//Alerts Criteria
alert1_i = wvf_i >= upperBand_i or wvf_i >= rangeHigh_i ? 0.5 : 0
alert2_i = (wvf_i[1] >= upperBand_i[1] or wvf_i[1] >= rangeHigh_i[1]) and (wvf_i <
upperBand_i and wvf_i < rangeHigh_i) ? 0.5 : 0
alert3_i = upRange_i and close_i > close_i[str] and (close_i < close_i[ltLB] or
close_i < close_i[mtLB]) and filtered_i ? 0.5 : 0
alert4_i = upRange_Aggr_i and close_i > close_i[str] and (close_i < close_i[ltLB]
or close_i < close_i[mtLB]) and filtered_Aggr_i ? 0.5 : 0
plot(wvf*-1, title='wvf')
plot(lowerBand*-1, title='lowerBand', color=fuchsia)
plot(upperBand*-1, title='upperBand', color=fuchsia)
//Alerts Criteria
alert1 = wvf >= upperBand or wvf >= rangeHigh ? -0.5 : 0
alert2 = (wvf[1] >= upperBand[1] or wvf[1] >= rangeHigh[1]) and (wvf < upperBand
and wvf < rangeHigh) ? -0.5 : 0
alert3 = upRange and close > close[str] and (close < close[ltLB] or close <
close[mtLB]) and filtered ? -0.5 : 0
alert4 = upRange_Aggr and close > close[str] and (close < close[ltLB] or close <
close[mtLB]) and filtered_Aggr ? -0.5 : 0