Tâche terminée
Spécifications
Working timeframes for the indicator:
1D and higher.
Data:
A time (for 1D) or a number of the day inside the period (for W and MN) of reaching High and Low of the current period.
Example for 1D timeframe.
1. Take the data from the 1H timeframe inside the day.
2. Take the time of the highest high of the day and the lowes low of the day.
3. Convert the time from 0 to 23 hours to numbers, so that these numbers 0-23 will be used for Y axis of the chart.
4. In the separate window, plot the histogram2 basing on the time of High and Low of the current timeframe.
If the High was formed first, plot "bearish" histogram, if the Low was formed first, plot "bullish" histogram.
Let the user select the colors of the histogram.
The same thing for Weeks and Months, but in their case for Y axis the indicator should use the number of the Day bar within the period.