Cbgbm788

HDW open_close

Cbgbm788 Uppdaterad   
上位時間軸のロウソク足を表示したくて、それに代わるものが見つからなかったので作ってみました。
1時間足、日足、週足の始値終値をラインで表示するものです。
ヒゲの部分は作っていません。実体を見て判断します。

【Google translate】
I wanted to display the candlestick on the upper time axis, so I could not find an alternative to it, so I made it.
It displays the start value and closing price of 1 hour foot, daily stick, weekly leg with a line.
Versionsinformation:
改正
・枠内の塗りつぶし
・各時間軸のOn/Off
・月足追加(デフォルト:OFF)
Revision
· Fill in the frame
· On / Off on each time axis
· Add monthly feet (default: OFF)
Versionsinformation:
スタイルに表示されている文字の誤記を訂正しました。
Corrected mistyping of characters displayed in style.
Versionsinformation:
改正
・4時間足を追加
・入力タブの線幅項目削除
Revision
· Add:4 hour bar
· Delete:line width item on input tab
Versionsinformation:
・ Convert to Ver4
・ Code review and weight reduction
・ Add fill and frame switching
Versionsinformation:
Change
 Title: Multi Time Frame Open Close
 Short Title: Mtf OC
Add: fill density magnification
Versionsinformation:
Change the ON / OFF setting method.
0: Not displayed
1-4: Line width (valid only when there is no fill)
5: Fill

ON/OFF設定方法変更。
0:非表示
1-4:線幅(塗りつぶし無の時のみ有効)
5:塗りつぶし
Versionsinformation:
Fixed a bug that the foot is not filled for 1 hour.
Fixed a typo in the property notation.
Versionsinformation:
The source has not changed.
This is because I was displaying a different one on the chart screen...
Versionsinformation:
訂正
・閉じていない時間軸の現在のラインを表示しないように訂正
・陽線、陰線のカラーを一括で変更できるように訂正
・pine version 5にコード訂正

//Google Translation
correction
- Corrected so that the current line of the unclosed time axis is not displayed.
- Corrected so that you can change the color of positive and negative lines at once.
・Code correction to pine version 5
Versionsinformation:
訂正
※暫定対応(tradingviewの仕様、request.securityにより上位足を取得した場合、リアルタイムデータでは任意の時間足の更新のタイミングで過去データのようには取得できない為)
・リアルタイム中における上位足の更新不具合を下記のように訂正しました。
・1時間足と4時間足に関しては、plotをやめboxを使うように変更。
 その為、オブジェクトの数に制限がかかる為、ある程度の過去までしか表示できません。
・日足、週足、月足に関しては、前回同様の仕様でplotによるラインで表示しています。
 その為、リアルタイムからの更新は、上手く表示されませんので、手動で再度描画し直して下さい。(日足を跨ぐ事はあるかもしれませんが、つけっぱなしにする事は無いと思われるためこのような暫定対応にしました。リプレイを使用する場合は、そのような不具合がでるため注意して下さい。)
・日足、週足、月足を表示する際は、始まり値のラインも追加で引くよう訂正しました。

//Google translation//

Correction

※Temporary support
(Tradingview specifications, if you obtain top bars using request.security, real-time data cannot be obtained like past data at the timing of updating any time frame)

・ Corrected the bug in updating the top bar in real time as follows.

・For the 1-hour and 4-hour charts, I stopped using plot and changed to using box.
As a result, the number of objects is limited, so it is only possible to display a certain amount of time in the past.

・Daily, weekly, and monthly data are displayed using plot lines with the same specifications as last time.
Therefore, updates from real time will not display well, so please redraw them manually. (Although there may be times when the daily chart crosses over, it is unlikely that it will be left on, so we have taken this temporary measure. When using replay, be careful as such problems may occur. please do it.)

・When displaying daily, weekly, and monthly charts, the starting value line has been corrected to be drawn additionally.

Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?