OPEN-SOURCE SCRIPT
Overnight Mid-point

This script defines a scrollable intraday session and continuously tracks the highest and lowest candle body closes made during that session, explicitly ignoring wicks. As the session develops, it plots a single horizontal midpoint line (dotted, dashed, or solid by user selection) calculated as the average of those two body closes, extending to the right from the session. For visual verification, it places exactly two dots on the chart: a green dot above the bar with the highest body close and a red dot below the bar with the lowest body close. Each new session resets the calculation, ensuring only one midpoint line and two verification markers are visible at any time. For proper use, 1800 - 0800 local time should be used (may be a couple hours off depending on your region).
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。