Heatmap I made/reverse engineered.

Currently tracks the 4 following oscillators:
- CCI (Channel Commodity Index)
- MFI ( Money Flow Index)
- VZO ( Volume Zone Oscillator)
- RSI ( Relative Strength Index )

Any feedback or suggestions highly appreciated.

/* Inspiration taken from @ByzantineGeneral (TradingView profile: /u/ByzantineGeneral, indicator: /script/keAGdnWO-Byzantium-Oscillator-Heatmap) */
릴리즈 노트: Clarified user input.

- Changed levels (editable = false) -> These where transparent 100% anyways so made the input screen unorganized.
- Changed plot (editable = false) -> These where transparent 100% anyways so made the input screen unorganized.

Only the inputs that have visual difference are now being shown i.e the fill colors
릴리즈 노트: New version because the screenshot of showing the indicator was not sized properly.
릴리즈 노트: VERSION 1.4

On request, I added buy/long and sell/short signals dependig on certain conditions. The indicator will display those above or below the heatmap. Unfortunately, I had to add some 'whitespace' above and below the heatmap for the signals to become visible, otherwise the signals would blend in with the heatmap.

I want to keep this as a standalone indicator. If you want me to turn this into a strategy, let me know and i'll make a new script for this.
릴리즈 노트: VERSION 1.5 (because why not)

Added color gradients instead of using if/else stacks for choosing color. Thankfully, a gradient framework was already in circulation by @PineCoders
You can find the framework here:
- Removed the two 'whitespace' horizontal lines again so it looks more clean in my opinion.
- Changed the plotchart symbols to the color white so it is visible even if the oscillator has the maximum color gradient assigned.
- Added more comments to the code for better reusability
릴리즈 노트: VERSION 1.6

- Added input for customizing the colors that are used for the gradient (Default values: #0097A7, #9C27B0 - Bullish, Bearish)
- Removed the Oscillator inputs and turned them into constants (Default values: 14, 28, 14, 28 - RSI, VZO, MFI, CCI )
- Removed some unnecessary code: unused color constants and colors needed for previous versions
- Reformatted the code for easier source reading and reusability

오픈 소스 스크립트

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


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

차트에 이 스크립트를 사용하시겠습니까?