RicardoSantos

[RS]jangseohee NYSE - NHNL Indicator

829 뷰
138
829 15
Request for jangseohee: added fractal channels as a extra :p
즐겨찾기 스크립트에서 빼기 즐겨찾기 스크립트에 넣기
study("[RS]jangseohee NYSE - NHNL Indicator V0")
timeperiod = input("D")
NH = security("HIGN", timeperiod, close)
NL = security("LOWN", timeperiod, close)
plot(NH, color=green, style=columns)
plot(-NL, color=maroon, style=columns)

showvectorchannel1 = input(true)
showvectorchannel2 = input(false)
showvectorchannel3 = input(false)
showvectorchannel4 = input(false)
showvectorchannel5 = input(false)

topvc1 = NH[2] < NH[1] and NH[1] > NH[0]
botvc1 = NL[2] < NL[1] and NL[1] > NL[0]

topv1 = topvc1 ? NH[1] : na
botv1 = botvc1 ? -NL[1] : na

plot(showvectorchannel1 ? topv1 : na, color=silver, offset=-1)
plot(showvectorchannel1 ? botv1 : na, color=silver, offset=-1)

topvc2 = topvc1 and valuewhen(topvc1, topv1, 1) < topv1
botvc2 = botvc1 and valuewhen(botvc1, botv1, 1) > botv1

topv2 = topvc2 ? NH[1] : na
botv2 = botvc2 ? -NL[1] : na

plot(showvectorchannel2 ? topv2 : na, color=gray, offset=-1)
plot(showvectorchannel2 ? botv2 : na, color=gray, offset=-1)

topvc3 = topvc2 and valuewhen(topvc2, topv2, 1) < topv1
botvc3 = botvc2 and valuewhen(botvc2, botv2, 1) > botv1

topv3 = topvc3 ? NH[1] : na
botv3 = botvc3 ? -NL[1] : na

plot(showvectorchannel3 ? topv3 : na, color=black, offset=-1)
plot(showvectorchannel3 ? botv3 : na, color=black, offset=-1)

topvc4 = topvc3 and valuewhen(topvc3, topv3, 1) < topv1
botvc4 = botvc3 and valuewhen(botvc3, botv3, 1) > botv1

topv4 = topvc4 ? NH[1] : na
botv4 = botvc4 ? -NL[1] : na

plot(showvectorchannel4 ? topv4 : na, color=black, offset=-1)
plot(showvectorchannel4 ? botv4 : na, color=black, offset=-1)

topvc5 = topvc4 and valuewhen(topvc4, topv4, 1) < topv1
botvc5 = botvc4 and valuewhen(botvc4, botv4, 1) > botv1

topv5 = topvc5 ? NH[1] : na
botv5 = botvc5 ? -NL[1] : na

plot(showvectorchannel5 ? topv5 : na, color=black, offset=-1)
plot(showvectorchannel5 ? botv5 : na, color=black, offset=-1)

new version:
+3 응답
BoonOng RicardoSantos
Look very neat tho. =)
+1 응답
New high, new low? I'll have to play around with it.
응답
jangseohee IvanLabrie
you can use candle, line, H.A.. no problem
but this is a market breath indicators, so i reckon it is more suitable for indices..
let me know whether it works on stocks or FX
+1 응답
jangseohee IvanLabrie
because of the fact that it is derive from NYSE, it is suitable for use on NYA, i try it on DAX/Ger30 showing the same thing
+1 응답
IvanLabrie jangseohee
Ah, it uses NYSE by default?
I'd find a use for a thing that counts new highs or lows, from a specific date onwards...gonna have to ask Ricardo :p
응답
jangseohee IvanLabrie
it derives from the number of stocks making new high on daily and number of stocks making new low on daily basis
+1 응답
i can make it optional NASD, NYSE, OTC, TSX, AMEX, TSXV.
and i can make a filter to hide before N candle (date) and after X candle(date) as a optional filter:p
+1 응답
jangseohee RicardoSantos
Gracias, you are a true indicator champion :-)
DOWI, DOWT, SPX, IUX, DAX
+1 응답
IvanLabrie RicardoSantos
Hide, or count from x candle?
I'd like a thing that counts and plots an uptrend signal, no trend or downtrend, based on the following criteria, starting from a specific bar:
Count to see if we have 1 new high every five bars, if we do, while not having new lows, plot an uptrend. If no new low or high after 5 bars, plot a neutral/range signal, and once you count 1 new low every 5 bars, while not having new highs, plot a downtrend if that's true.
This, based on the symbol on chart, not a finite number of indexes, etc.
응답
홈으로 스탁 스크리너 포렉스 스크리너 크립토 스크리너 이코노믹 캘린더 사용안내 차트 특징 프라이싱 하우스룰(내부규정) 모더레이터 웹사이트 & 브로커 솔루션 위젯 차팅 솔루션 도움 받기 기능 개발/개선 요청 블로그 & 뉴스 잦은물음 위키 트위터
프로화일 프로화일설정 계정 및 빌링 트레이딩뷰 코인 나의 서포트 티켓 도움 받기 공개아이디어 팔로어 팔로잉 비밀메시지 채팅 로그아웃