Hi, I downloaded this Display of Bar Count indicator from a website and it displays the number of each bar's count either from Bar0 or since the bar history.
However, I find that the display on each bar is too frequent and I need coders' help to modify it to display bars only on each interval (excluding the bar0) by adding the following :-
extern int interval = 5 / 10 / 15 .... (user to decide)
。if interval = 5, the number will only be displayed only on bar 5, 10, 15, 20, 25 ...
。if interval = 10, the number will only be displayed only on bar 10, 20, 30, 40, 50 ...
。if interval = 15, the number will only be displayed only on bar 15, 30, 45, 60, 75 ...
Hope you can help, thank you.
However, I find that the display on each bar is too frequent and I need coders' help to modify it to display bars only on each interval (excluding the bar0) by adding the following :-
extern int interval = 5 / 10 / 15 .... (user to decide)
。if interval = 5, the number will only be displayed only on bar 5, 10, 15, 20, 25 ...
。if interval = 10, the number will only be displayed only on bar 10, 20, 30, 40, 50 ...
。if interval = 15, the number will only be displayed only on bar 15, 30, 45, 60, 75 ...
Hope you can help, thank you.
Attached Image
Attached File(s)
BarNum.mq4
6 KB
|
170 downloads