Daily Bar Number CFD
- インディケータ
-
Vincent Jose Proenca
私はトレーダーとして10年以上の経験があり、主にCFDを専門としています。トレーディングの魅力は、論理性・規律・そして意思決定を簡単にするツールを作り出すことにあります。自分の手法に合うインジケーターが見つからなかったため、必要に迫られて自作を始め、次第にそれが楽しみになりました。
最初に開発したツールの一部は、Custom Box と Daily Bar Number です。これらのインジケーターは理論上の試作品ではなく、日常使用を目的に設計され、実際の市場環境でテスト・改良を重ねてきました。その結果、実用的で統合しやすく、情報過多に陥ることなく素早い判断を支援するツールが生まれました。 - バージョン: 1.0
indicator that numbers the bars (candles) in a custom trading session.
The indicator allows:
-
Defining the session start time (StartHour and StartMinute)
-
Displaying numbers only on odd bars (if AfficherUniquementImpairs is true)
-
Displaying numbers on the last N days (NbJours)
-
Customizing the color and font size of the text
The indicator will loop through the bars of the last N days and, for each day, start counting from the session start time.
It will display the bar number (starting at 1) below the bar.
We are going to use the OnCalculate function for MT5.
Steps:
-
Clean up old labels at the beginning.
-
Determine the start time for the analysis (now - NbJours days).
-
For each day in the last NbJours days, set the session start time.
-
Loop through the bars (from the oldest to the newest) and for each bar that is within the session of that day, assign a number.
-
If AfficherUniquementImpairs is true, then only display odd numbers.
