Trader_Morry

Yearly Monthly Vertical Lines [MsF]

Trader_Morry Updated   
This indicator that draws vertical lines for each year and month starting from the specified date and time.

For example, starting from August 26th, 2022,
The annual vertical lines are Aug 26th, 2022, Aug 26th, 2021, Aug 26th, 2020, Aug 26th, 2019, Aug 26th, 2018, Aug 26th, 2017...

It is useful to check the action of the chart at the event of each year and month.

Caution:
Since there is a limit to the Bar-Count that can be specified in the script language, depending on the chart period setting It may not be displayed.

-------------------------

指定した日時を起点として、年、月ごとに垂直線(縦線)を描画するインジケータです。

例えば、2022/9/1を起点とした場合、
年次のラインは、2021/9/1、2020/9/1、2019/9/1、2018/9/1、2017/9/1、2016/9/1...
に描画します。

年、月ごとのイベント時のチャートの動きを確認するのに便利です。
※過去イベント時の価格変動確認の際、手作業で垂直線を引くのが面倒なため、作成しました。

<注意>
スクリプト言語で指定できるBarCntに制限がある為、チャートの期間設定によっては
表示されない場合があります。※今後改善の余地あり
Release Notes:
Improved so that weekly and daily lines can also be drawn.
Enable "for Crypto" if you want to use it for cryptocurrencies.
It will be possible to draw a vertical line even on holidays.

-----------------------------------------------------------------------------
週ごと、日ごともラインが引けるように改善しました。
なお、暗号通貨に使用する場合は「for Crypto」を有効にしてください。
土日も縦線が引けるようになります。
Release Notes:
Changed the sample chart to make it easier to understand.

--------------------------------------------------------------------------
見本のチャートをわかりやすいものに変更しました。
Release Notes:
-Improved so that you can select the day of the week when drawing lines for each day of the week.
-Fixed a bug that less drawing lines were drawn.

--------------------------------------------------------------------------------------------------------------------------

・【改善】WEEK指定にて曜日ごとに線を引く際に"曜日"をドロップダウンで選択できるように改善
・【不具合対応】描画線が少なくなる不具合に対応
Release Notes:
Updated this indicator, Please check below:
- Increase number of visible vertical lines
- Show "day of the week" at the bottom if you select "day"
------------------------------------------------------------
インジケータを更新しました。更新内容は以下の通りです。
・【改善】表示可能な縦線の数を増やしました(場合によってはこれ以上増えないかも)
・【改善】「日」を選択すると、チャート下部に「曜日」を表示するようにしました
Release Notes:
Hide daily vertical lines if for over 4 hours - for clean view
------------------------------------------------------------------------------
【改善】可視性向上のため、4時間を超える時間足ではDailyラインを非表示としました
Release Notes:
Removed Crypto selection. Improved to automatically switch to Crypto.
------------------------------------------------------------------------------
【改善】Crypto選択を削除しました。自動で切り替わるように改善しました。
Release Notes:
Added each open lines Yearly, Monthly, Weekly, and Daily. It's optional.
--------------------------------------
年次、月次、週次、日次の各オープンラインを追加しました。オプションです。
Release Notes:
Bug fixed. The weekly, daily open were not sync with the time.
Release Notes:
Fixed bug about weekly open price lines.

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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?