OPEN-SOURCE SCRIPT

.b pin-up symbol

Updated
When trading cryptocoins, it is necessary to check the price trend of NASDAQ, BTC.D, BTC.OI, BTC spot or other coins of similar groups.
However it is very cumbersome to put a comparison symbol in the Tradingview chart and combine individual indicators one by one.
Moreover even with such a combination, the chart is messy and visibility is not good.
This script was developed as a composite-solution to that situation, and will make you happy.

- NQ1!, USTECH100CFD | symbol fixed
- BTC.Dominance, BTC.OpenInterest, BTC symbol, others pin-up-symbol | selectable
- Pin-up-symbol | selectable

- Pin-up-symbol's candle chart

- Trending
* EMA 9,21,50,200 ribbon classic EMA
* .b price line ; .b price = unique trending price with price-action + relative-volume-action + ATR
* Dynamic S/R Cloud ; BB + donchian band + high/low + atr mixed custom-logic
* VWWMA + .b price Shadow ; Volume-weighted WMA on .b price = unique MA faster than classic VWMA
Trending shadow direction is not bad even on low-timeframe (1, 2, 3, 5m, 15m...)

- Pattern
* Harmonic Pattern ; A simplified version of the harmonic pattern indicator, simply show-up pattern complete position
for reference only - adopted from HeWhoMustNotBeNamed's script.

- Information Panel
* BTC Dominance, BTC Open Interest, Pin-Up-Symbol price
* Trend meter ; 5,15,30,1h,2h,4h Meter Calc with 1 minute-timeframe candles
5 = Green if the current price is higher than the price 5 minutes ago.
1h = Green if the current price is higher than the price 2 hours ago.
4h = Red if the current price is lower than the price 4 hours ago.

* caution ; To use real-time chart of "CME_MINI:NQ1!" you have to additional subscribe CME data,
default setting is 'NQ1!' , you can change to 'USTECH100CFD'

* When you choose symbol which is closed trading hours, the script's update stopped.
Even if the selected pin-up-symbol is on trading hours, the currently selected symbol's chart doesn't update.

* recommended | chart setting > Appearance : Top margin 0%, Bottom margin 0% for optimized screen usage :)


if you have any questions freely contact to me by message on tradingview, or telegram @sr_bt
but please understand that responses may be quite late.
------------------------------------------------------------------------------------------------------------------------------------------------------------
copyright 2022 (sr_b)
Special thanks to all of contributors of community.
The script (originaly .b) may be freely distributed under the MIT license.
The other classic script code also may be freely distributed under the MIT license.
Simplified Harmonic script part | core adopted from 'Multi ZigZag Harmonic Patterns (HeWhoMustNotBeNamed)' MPL2.0 license
Release Notes
To display a continuous MA line on an HTF chart, bug fixed.
  • when trading hours ended, still drawing MA lines.
  • wjem trading hours ended, stop update 'latest .bp direction marker'
  • when trading hours ended, stop drawing candles.
Release Notes
Feature Improvement

* All of drawing, individually control - For clear visibility, now you can.
* EMA,WMA ribbon - now 3 ribbon a.EMA9-21-50 b.WMA89-100 c.EMA200-233
* Dual Dynamic S/R - now dual dynamic S/R, more useful.
* Trendmeter - adding 1D, 2D
Release Notes
explain update in the code.
Release Notes
Critical Bugfix

when selected pin-up symbol is the one like USTECH100CFD (it doesn't have volume data)
then indicator (Dual Dynamic S/R Band) doesn't works (because of custom volume-weighted calc. function)
so I made alternative calc for the symbol which has no volume data.
Release Notes
update

Even when the info.panel is turned off, the pin-up symbol name is still displayed.
Release Notes
Feature Update

  • All drawings are customizable in settings.
  • Info.Panel | display type theme ; all, symbol, mobile.
  • Info.Panel | ATR value % add-on ; easy to see current TF volatility.
  • Trendmeter ; 5,15,30,1h, 4h, D, W.
  • minor bugfix
Release Notes
update the chart screen
Release Notes
  • change BB : It doesn't occupy screen, just drawing, so you cand view near by actual candle area more large scale.
  • some minor update.
Release Notes
Performace tuned, Bugfix, update
  • Triple Dynamic S/R ; BB, D.S/R indivisually on/off (You can see only BB or D.S/R)
  • Triple Dynamic S/R ; regular color is changed to dark-gray
  • Triple Dynamic S/R ; color-marking when price reversal timing (emphasized by color)
  • Info.Panel ; Panel re-designed.
  • Info.Panel ; Trend-meter 5,15,30m --> Black/White Circle, 1h,2h,4h ---> Red/Green Circle, 1D,2D ---> Red/Green Square
  • Info.Panel ; Performance tuned, Mobile mode display is optimized. BTC.D, BTC.OI trend-meter is simplified (it''s 1H meter)
  • Info.Panel ; Can on/off BTC.D/OI display
  • EMA 200-233 --> 200-224 changed
  • removed trend shadow feature, It's not an essential feature, IMHO. sorry.
Bands and ChannelsBTCbtc-dominancecoincomparenasdaqOIPortfolio managementsr_bsymbolTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer