tux

TUX Candles

This indicator has a lot of information. This is the first version so stay tuned for updates, and please let me know of any bugs.

Candlestick Indicators:
Doji
Shooting Star
Evening Star
Hammer
Hanging Man

Candlestick Formations
Tri-star
Bearish Harami
Bullish Harami
Bearish Harami Cross
Bullish Harami Cross
Bullish Engulfing
Bearish Engulfing
Rising Three
Falling Three
Bearish Abandoned Baby
Bullish Abandoned Baby
Three Black Crows
Three White Soldiers

Technical Indicators:
(You can set you MA periods)
Moving Average Cross
Move Average Crossover
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?
study(title="TUX Candles", shorttitle="TUX Candles", overlay=true)

//simple moving average high
len = input(200, minval=1, title="Simple Moving Average")
src = input(close, title="Source")
out = sma(src, len)
plot(out,color=blue,linewidth=2)

//simple moving average low
len1 = input(50, minval=1, title="Simple Moving Average")
src1 = input(close, title="Source")
out1 = sma(src1, len1)
plot(out1,color=olive,linewidth=2)

mabuy = cross(close,out) and close[1] < out
plotshape(mabuy, color=green, style=shape.flag, text="MA Cross ^", location=location.belowbar)
masell = cross(close,out) and close[1] > out
plotshape(masell, color=red, style=shape.flag, text="MA Cross -", location=location.abovebar)

macrossbuy = cross(out1,out) and out1[1] < out1
plotshape(macrossbuy, color=green, style=shape.flag, text="MA Crossover ^", location=location.belowbar)
macrosssell = cross(out1,out) and out1[1] > out1
plotshape(macrosssell, color=red, style=shape.flag, text="MA Crossover -", location=location.abovebar)


// Candlesticks
dojicandle = open == close
plotshape(dojicandle, color=blue, style=shape.diamond, text="Doji", location=location.belowbar)
dojibearish = open[1] == close[1] and close < close[1] 
plotshape(dojibearish, color=red, style=shape.arrowdown, text="Evening Star", location=location.abovebar)


shootingstar = out < close and open < high and open > close and close > low and close > close[1]
plotshape(shootingstar, color=red, style=shape.diamond, text="Shooting Star", location=location.abovebar)

thehammer =  close > hl2 and close < close[len1] and open > close
plotshape(thehammer, color=green, style=shape.arrowup, text="Hammer", location=location.belowbar)


hangman =  close > hl2 and close > close[len1] and open > close
plotshape(hangman, color=red, style=shape.arrowdown, text="Hangman", location=location.abovebar)


// Candlestick formations
tristar = open == close and open[1] == close[1] 
plotshape(tristar, color=blue, style=shape.diamond, text="Tristar", location=location.abovebar)

bearishharami = high[1] > high and low[1] < low and close < close[1] and open > open[1] and close > close[len1]
plotshape(bearishharami, color=red, style=shape.arrowdown, text="Bear Harami", location=location.abovebar)

bullishharami = high[1] < high and low[1] > low and close > close[1] and open < open[1] and close < close[len1]
plotshape(bullishharami, color=green, style=shape.arrowup, text="Bull Harami", location=location.belowbar)

bullharmcross = close[1] < close[2] and close == open and close < close[len1]
plotshape(bullharmcross, color=green, style=shape.arrowup, text="Bull Har Cross", location=location.belowbar)

bearharmcross = close[1] > close[2] and close == open and close > close[len1]
plotshape(bearharmcross, color=red, style=shape.arrowdown, text="Bear Har Cross", location=location.abovebar)


bullengulfing = close > open and close > close[1] and close > open[1] and open < open[1] and open < close[1] and open < low[1] and close > high[1]
plotshape(bullengulfing, color=green, style=shape.arrowup, text="Bull Engulfing", location=location.belowbar)


bearengulfing = close < open and close < close[1] and close < open[1] and open > open[1] and open > close[1] and open > low[1] and close < high[1]
plotshape(bearengulfing, color=red, style=shape.arrowdown, text="Bear Engulfing", location=location.abovebar)

risingthree = close[1] < close[2] and close[2] < close[3] and close[3] < close[4] and low[1] > low[5] and high[4] < high[5]
plotshape(risingthree, color=green, style=shape.arrowup, text="Rising 3", location=location.belowbar)

fallingthree = close[1] > close[2] and close[2] > close[3] and close[3] > close[4] and low[1] < low[5] and high[4] > high[5]
plotshape(fallingthree, color=red, style=shape.arrowdown, text="Falling 3", location=location.abovebar)

bearabandbaby = close[1] > close[2] and close[2] > close[3] and close[3] > close[4] and close == open
plotshape(bearabandbaby, color=red, style=shape.arrowdown, text="Bear Abd Baby", location=location.abovebar)

bullabandbaby = close[1] < close[2] and close[2] < close[3] and close[3] < close[4] and close == open
plotshape(bullabandbaby, color=green, style=shape.arrowup, text="Bull Abd Baby", location=location.belowbar)

threeblackcrows = close[1] < close[2] and close[2] < close[3] and close[3] < close[4] and high > low[1] and high[1] > low[2] and high[2] > low[3] and close[2] > out1 and close < out1
plotshape(threeblackcrows, color=red, style=shape.arrowdown, text="3 Black Crows", location=location.abovebar)

threewhitesoliders = close[1] > close[2] and close[2] > close[3] and close[3] > close[4] and low[1] < high[2] and low[2] < high[3] and low[3] < high[4] and close[2] < out1 and close > out1
plotshape(threewhitesoliders, color=green, style=shape.arrowup, text="3 W Soliders", location=location.belowbar)



// channel lines
//plot(high[len1],color=green)
//plot(low[len1],color=red)

crosschannelup = cross(high[len],close) and close > high[len] and close > close[1]
plotshape(crosschannelup, color=green, style=shape.arrowup, text="X Channel Bull", location=location.belowbar)

crosschanneldown = cross(low[len],close) and close < low[len] and close < close[1]
plotshape(crosschanneldown, color=red, style=shape.arrowdown, text="X Channel Bear", location=location.abovebar)