Join our fan page
Time_Bar_Custom - indicator for MetaTrader 5
- Views:
- 5615
- Rating:
- Published:
- 2018.11.20 12:51
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The indicator plots one vertical line per day in a specified moment of time. Lines are drawn using indicator buffers and DRAW_HISTOGRAM2 graphical construction type. It is recommended to place the indicator on the main chart before attaching other indicators.
Fig. 1. Time_Bar_Custom indicator in the main chart window
You can also place the indicator in the additional windows of other indicators simply by dragging it to these windows from the Navigator window.
Fig. 2. Time_Bar_Custom indicator in the additional window of another indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/22982
The indicator paints a candle in color corresponding to its direction once per day at a specified time
SecwentaThe Expert Advisor counts the number of bullish and bearish bars in a row.