TradingView
AIZEN_MT
2021年4月9日午前2時43分

Auto Round Number and Repdigit Line 

AUD/USDOANDA

詳細

Auto Round Number and Repdigit Line

It is an indicator that automatically draws round numbers of any number of digits and doublet horizontal lines.
Two horizon lines are drawn above and below the current price and are designed to always follow the price.

For "Round-Up / Round-Down Digits", specify "Number of zeros you want to arrange".
For "Repdigit Digits", specify "what digit of the current price you want to get doublet".

If you want to know how it behaves, use "Bar Replay".

(Google Translate)


任意の桁数のラウンドナンバーとゾロ目の水平線を自動で描画するインジケーターです。
水平線は現在の価格の上下に2本ずつ描画され、常に価格に追従するように設計されています。

「Round-Up / Round-Down Digits」は、「並べたいゼロの数」を指定してください。
「Repdigit Digits」は、「現在の価格の何桁目をゾロ目にしたいか」を指定してください。

挙動を知りたい場合は、「バーのリプレイ」を使ってください。

リリースノート

Auto Round Number and Repdigit Line ver.1.1

Added support for Pine script changes.
The operation does not change.

Pineスクリプトの変更に対応しました。
動作は変わりません。
コメント
rbower
Why do you protect the code of the script, if the logic is so simple? A for loop with line.new()
AIZEN_MT
@rbower,
I'm sorry, it contains the logic used by other indicators, so I'm keeping it private.
I'm using line.new (), but not the for loop.
(Google Translate)
rbower
@AIZEN_MT, No problem. Thank you for sharing.
詳細