ChrisMoody

CM_Williams_Vix_Fix_V3_Upper_Text Plots

จำนวนเข้าชม 16085
3577
Williams Vix Fix Text Plots! Alert Capable!

Use With Lower Indicator or as Single Indicator!

Has Text Plots For All Plot Types Lower Indicator Uses.

To Get Lower Indicator:

Info On Lower Indicator - Discussion:
ลบออกจากสคริปส์โปรด เพิ่มเข้าไปในสคริปส์โปรด
//Created By ChrisMoody on 3-3-2015 To Go With Lower Indicator...Or Use Seperately

study(title="CM_Williams_Vix_Fix_V3_Upper_Text-Plots", shorttitle="CM_WVF_V3_Upper_Text-Plots", overlay=true)
//Inputs Tab Criteria.
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%")
new = input(false, title="-------Text Plots Below Use Original Criteria-------" )
sbc = input(false, title="Show Text Plot if WVF WAS True and IS Now False")
sbcc = input(false, title="Show Text Plot if WVF IS True")
new2 = input(false, title="-------Text Plots Below Use FILTERED Criteria-------" )
sbcFilt = input(true, title="Show Text Plot For Filtered Entry")
sbcAggr = input(true, title="Show Text Plot For AGGRESSIVE Filtered Entry")
ltLB = input(40, minval=25, maxval=99, title="Long-Term Look Back Current Bar Has To Close Below This Value OR Medium Term--Default=40")
mtLB = input(14, minval=10, maxval=20, title="Medium-Term Look Back Current Bar Has To Close Below This Value OR Long Term--Default=14")
str = input(3, minval=1, maxval=9, title="Entry Price Action Strength--Close > X Bars Back---Default=3")
//Alerts Instructions and Options Below...Inputs Tab
new4 = input(false, title="-------------------------Turn On/Off ALERTS Below---------------------" )
new5 = input(false, title="----To Activate Alerts You HAVE To Check The Boxes Below For Any Alert Criteria You Want----")
sa1 = input(false, title="Show Alert WVF = True?")
sa2 = input(false, title="Show Alert WVF Was True Now False?")
sa3 = input(false, title="Show Alert WVF Filtered?")
sa4 = input(false, title="Show Alert WVF AGGRESSIVE Filter?")

//Williams Vix Fix Formula
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

//Filtered Bar Criteria
upRange = low > low[1] and close > high[1]
upRange_Aggr = close > close[1] and close > open[1]
//Filtered Criteria
filtered = ((wvf[1] >= upperBand[1] or wvf[1] >= rangeHigh[1]) and (wvf < upperBand and wvf < rangeHigh))
filtered_Aggr = (wvf[1] >= upperBand[1] or wvf[1] >= rangeHigh[1]) and not (wvf < upperBand and wvf < rangeHigh)

//Alerts Criteria
alert1 = wvf >= upperBand or wvf >= rangeHigh ? 1 : 0
alert2 = (wvf[1] >= upperBand[1] or wvf[1] >= rangeHigh[1]) and (wvf < upperBand and wvf < rangeHigh) ? 1 : 0
alert3 = upRange and close > close[str] and (close < close[ltLB] or close < close[mtLB]) and filtered ? 1 : 0
alert4 = upRange_Aggr and close > close[str] and (close < close[ltLB] or close < close[mtLB]) and filtered_Aggr ? 1 : 0

plotshape(sbcc and  alert1 ? alert1 : na, title="WVF Is True Text", color=lime, style=shape.arrowup, location=location.belowbar ,text='WVF', transp=0)
plotshape(sbc and  alert2 ? alert2 : na, title="WVF Was True - Now False Text", color=aqua, style=shape.arrowup, location=location.belowbar ,text='WVF Was True\nNow False', transp=0)
plotshape(sbcAggr and alert4 ? alert4 : na, title="Aggressive Entry Text",color=orange, style=shape.arrowup, location=location.belowbar ,text='Aggressive\nEntry', transp=0)
plotshape(sbcFilt and alert3 ? alert3 : na, title="Filtered Entry Text", color=fuchsia, style=shape.arrowup, location=location.belowbar ,text='Filtered\nEntry', transp=0)

//Coloring Criteria of Williams Vix Fix
col = wvf >= upperBand or wvf >= rangeHigh ? lime : gray

//Plots for Williams Vix Fix Histogram and Alerts
plot(sa1 and alert1 ? alert1 : 0, title="Alert If WVF = True", style=line, linewidth=2, color=lime)
plot(sa2 and alert2 ? alert2 : 0, title="Alert If WVF Was True Now False", style=line, linewidth=2, color=aqua)
plot(sa3 and alert3 ? alert3 : 0, title="Alert Filtered Entry", style=line, linewidth=2, color=fuchsia)
plot(sa4 and alert4 ? alert4 : 0, title="Alert Aggressive Filtered Entry", style=line, linewidth=2, color=orange)

ความคิดเห็น

Hi
Can this indicator be applied to stock screener, to select the stocks which are satisfying this condition ?
If yes then please tell me how to do it.
+17 ตอบกลับ
Block-Head hotpot64
@hotpot64, did you find a way of applying this indicator to the screener?
+1 ตอบกลับ
hotpot64 Block-Head
@block-head, Sorry I have not found it yet. I'll inform you if I find it.
+2 ตอบกลับ
Block-Head hotpot64
Thanks @hotpot64, likewise
+1 ตอบกลับ
Hey how can i fix this issue? The chart is not being displayed correctly.
+4 ตอบกลับ
davvito davvito
setting scale left or no scale show the chart but the entry text stuff is still up top
ตอบกลับ
Block-Head davvito
@davvito, I found unchecking the "alert if" options on the Style tab removes the straight orange line at the bottom of the screen (at 0.00) and allows the chart to scale correctly. I'm not yet sure what other effect disabling these options might have. Enjoy!
ตอบกลับ
Very nice, I like the use of text a lot.
+4 ตอบกลับ
chris awesome script...do you have one that pick out the top as well...love your work and learning a lot from you
+2 ตอบกลับ
THANK YOU!
+1 ตอบกลับ
หน้าแรก ตัวช่วยคัดกรองหุ้น ตัวคัดกรองฟอเร็กซ์ ตัวคัดกรองคริปโต ปฏิทินเศรษฐกิจ มันทำงานได้อย่างไร ฟีเจอร์ของชาร์ต อัตราค่าบริการ แนะนำเพื่อน กฎระเบียบการใช้งาน ศูนย์ช่วยเหลือ โซลูชั่นสำหรับเว็บไซต์ & โบรกเกอร์ วิดเจ็ต ชาร์ตโซลูชั่น Lightweight ชาร์ตไลบรารี บล็อก & ข่าว Twitter
โปรไฟล์ ตั้งค่าโปรไฟล์ บัญชีและการเรียกเก็บเงิน เพื่อนที่ชวนมา เหรียญ ตั๋วการขอความสนับสนุนของฉัน ศูนย์ช่วยเหลือ ไอเดียที่เผยแพร่ ผู้ติดตาม ติดตาม ข้อความส่วนตัว แชท ออกจากระบบ