vdubus

Momentum VMA KITKAT CROSS v2

vdubus Wizard 업데이트됨   
*Update Momentum VMA KITKAT CROSS v2
triple MVMA (Hull MA) with integrated Kitkat
코멘트:
couple of fixes + kitkat full

오픈 소스 스크립트

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

면책사항

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

차트에 이 스크립트를 사용하시겠습니까?
//╭╮╱╱╭╮╭╮╱╱╭╮
//┃╰╮╭╯┃┃┃╱╱┃┃
//╰╮┃┃╭┻╯┣╮╭┫╰━┳╮╭┳━━╮
//╱┃╰╯┃╭╮┃┃┃┃╭╮┃┃┃┃━━┫
//╱╰╮╭┫╰╯┃╰╯┃╰╯┃╰╯┣━━┃
//╱╱╰╯╰━━┻━━┻━━┻━━┻━━╯
//╭━━━┳╮╱╱╱╱╱╱╱╭╮
//┃╭━╮┃┃╱╱╱╱╱╱╱┃┃
//┃┃╱╰┫╰━┳━━┳━╮╭━╮╭━━┫┃
//┃┃╱╭┫╭╮┃╭╮┃╭╮┫╭╮┫┃━┫┃
//┃╰━╯┃┃┃┃╭╮┃┃┃┃┃┃┃┃━┫╰╮
//╰━━━┻╯╰┻╯╰┻╯╰┻╯╰┻━━┻━╯
//━╯
//Momentum VMA KITKAT CROSS v2
//Vdubus_Channel http://www.vdubus.co.uk/
study(title = "Momentum VMA KITKAT CROSS v2", shorttitle="MVMA_KITKAT_CROSS_v2", overlay = true)
length = input(25, minval=1)
src = input(close, title="Source")
mvma = wma(2*wma(src, length/2)-wma(src, length), round(sqrt(length)))
plot(mvma, linewidth=2, offset=+1, color=blue, transp=0, title="MVMA 1")
//
length2 = input(21, minval=1)
src2 = input(close, title="Source")
mvma2 = wma(2*wma(src2, length2/2)-wma(src2, length2), round(sqrt(length2)))
plot(mvma2, linewidth=2, offset=+0, color=red, transp=0, title="MVMA 2")
//
source = close, length3 = input(9, minval=1)
Lead = wma(2*wma(source, length3/2)-wma(source, length3), round(sqrt(length3)))
plot(Lead, linewidth=3, offset=+0, color=black, transp=0, title=" Lead MVMA")

plot(cross(Lead,mvma2) ? mvma2 : na, style = cross, linewidth = 4, title="MVMA cross")

//============= KITKAT ==============================
RST2 = input(title='KITKAT 1:', type=integer, defval=16)     //
RSTT2 = valuewhen(high >= highest(high, RST2), high, 1)
RSTB2 = valuewhen(low <= lowest(low, RST2), low, 1)
RT22 = plot(RSTT2, color=RSTT2 != RSTT2[1] ? na : red, linewidth=9, offset=+0, title="Support")
RB22 = plot(RSTB2, color=RSTB2 != RSTB2[1] ? na : green, linewidth=9, offset=0, title="Resistance")

////////////////////////////////////////////////////