スポンサーサイト

--/--/-- --

上記の広告は1ヶ月以上更新のないブログに表示されています。
新しい記事を書く事で広告が消せます。

Breakout Range LS alert 893 ver 仮

2018/04/05 Thu

study(title="Breakout Range LS alert 893 ver 仮", overlay = true)
look_bak = input(1, minval=1, title="Look Bak")
xHighest = highest(high, look_bak)
xLowest = lowest(low, look_bak)
ren = xHighest - xLowest
renave = sma(ren, 18)
kave = renave * 1.6
pos = iff(high > xHighest[1] and ren >= kave, 1, 0)
pos1 =iff(low < xLowest[1] and ren >= kave, 1, 0)
priH = xLowest + kave
priL = xHighest - kave
plot(ren, color = aqua)
plot(renave, color = red)
plot(kave, color = yellow)
plotshape(pos, style=shape.square, location = location.belowbar, color = yellow, size = size.auto)
plotshape(pos1, style=shape.diamond, location = location.abovebar, color = aqua, size = size.auto)
plot(priH, color = aqua)
plot(priL, color = red)

Breakout Range LS alert仮

2018/04/05 Thu

study(title="Breakout Range LS alert仮", overlay = true)
look_bak = input(1, minval=1, title="Look Bak")
xHighest = highest(high, look_bak)
xLowest = lowest(low, look_bak)
ren = xHighest - xLowest
renave = sma(ren, 5)
kave = renave * 1.6
pos = iff(high > xHighest[1] and ren >= kave, 1, 0)
pos1 = iff(low < xLowest[1] and ren >= kave, 1, 0)
plot(ren, color = aqua)
plot(renave, color = red)
plot(kave, color = yellow)
plotshape(pos, style=shape.square, location = location.belowbar, color = yellow, size = size.auto)
plotshape(pos1, style=shape.diamond, location = location.abovebar, color = aqua, size = size.auto)

CM_RSI_EMA hamu ver2

2018/04/01 Sun

study(title="CM_RSI_EMA hamu", shorttitle="CM_RSI_EMA_", overlay=false)
src = close,
len = input(20, minval=1, title="RSI Length")
len2 = input(10, minval=1, title="EMA of RSI Length")
len3 = input(20, minval=1, title="EMA of RSI Length")
up = rma(max(change(src), 0), len)
down = rma(-min(change(src), 0), len)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
emaRSI = ema(rsi,len2)
emaRSI2 = ema(rsi,len3)
plot(emaRSI, title="EMA of RSI", style=line, linewidth=2, color=red)
plot(emaRSI2, title="EMA of RSI", style=line, linewidth=2, color=green)

CM_RSI_EMA hamu

2018/04/01 Sun

study(title="CM_RSI_EMA hamu", shorttitle="CM_RSI_EMA_", overlay=false)
src = close,
len = input(20, minval=1, title="RSI Length")
len2 = input(10, minval=1, title="EMA of RSI Length")
len3 = input(20, minval=1, title="EMA of RSI Length")
up = rma(max(change(src), 0), len)
down = rma(-min(change(src), 0), len)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
emaRSI = ema(rsi,len2)
emaRSI2 = ema(rsi,len3)

plot(rsi, title="RSI", style=line, linewidth=3, color=silver)
plot(emaRSI, title="EMA of RSI", style=line, linewidth=2, color=red)
plot(emaRSI2, title="EMA of RSI", style=line, linewidth=2, color=green)
band1 = hline(70, title="Upper Line", linestyle=dashed, linewidth=1, color=red)
band0 = hline(30, title="Lower Line", linestyle=dashed, linewidth=1, color=lime)
fill(band1, band0, color=purple, transp=90)

CM_Williams_Vix_Fix 緑&赤 黄紫青 RSIxSVOver仮

2018/04/01 Sun

study("CM_Williams_Vix_Fix 緑&赤 黄紫青 RSIxSVOver仮", overlay=false)
src = close,
up = rma(max(change(src), 0), 2)
down = rma(-min(change(src), 0), 2)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
ma5 = sma(close,5)
ma200= sma(close, 200)
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?")
TrigLen = input(13, minval=1)
FastX = input(34, minval=1)
SlowX = input(55, minval=1)
wvf = ((high-lowest(close[1], pd))/lowest(close[1], 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
xTrend = iff(hlc3 > hlc3[1], volume * 100, -volume * 100)
xFast = ema(xTrend, FastX)
xSlow = ema(xTrend, SlowX)
xKVO = xFast - xSlow
xTrigger = ema(xKVO, TrigLen)
col = wvf <= wvf[1] and wvf >= upperBand and xKVO >= xTrigger ? fuchsia : wvf <= wvf[1] and wvf >= rangeHigh and xKVO >= xTrigger ? fuchsia : wvf >= 1.3 and wvf >= wvf[1] and xTrigger >= xTrigger[1] ? blue :wvf >= 1.0 and wvf >= upperBand and xTrigger >= xTrigger[1] ? blue : wvf >= 1.0 and wvf >= rangeHigh and xTrigger >= xTrigger[1] ? blue : wvf >= upperBand and xTrigger >= xTrigger[1] and xKVO >= xTrigger ? lime : wvf >= rangeHigh and xTrigger >= xTrigger[1] and xKVO >= xTrigger ? lime : wvf <= 0.02 ? red :wvf <= 0.06 and xTrigger <= 0 ? yellow : gray
plot(rsi, title="RSI", style=line, linewidth=4,color=col)
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)
plot(sma(midLine,5))
plot(sma(midLine,15), color=red)
plot(sma(midLine,60), color=green)
plot(xKVO / 100000000, color=yellow, title="KVO")
plot(xTrigger / 100000000, color=fuchsia, title="Trigger")
band1 = plot(80, title="Upper Line 90",style=line, linewidth=1, color=aqua)
band0 = plot(20, title="Lower Line 10",style=line, linewidth=1, color=aqua)
fill(band1, band0, color=silver, transp=90)
プロフィール

madoqa

Author:madoqa
シガーレビューとか

最新記事
Link
カテゴリ
cigar review

最新コメント
最新トラックバック
月別アーカイブ
FC2カウンター
メールフォーム

名前:
メール:
件名:
本文:

cigar review

Tatuaje VegasdeSatiago Illusione NestorMiranda 5Vegas 

検索フォーム
RSSリンクの表示
リンク
ブロとも申請フォーム

この人とブロともになる

QRコード
QR
上記広告は1ヶ月以上更新のないブログに表示されています。新しい記事を書くことで広告を消せます。