MQL4 Indicator Sample / Bar Counter
A minimal boilerplate indicator that prints the total count of bars on the chart to the terminal log. It contains no visual plotting logic or trading signals.
Formula
\text{Log Output} = \text{iBars}(\text{Symbol}, \text{Period})
See signal primitives, usage in published strategies and more on WOBR StrategyVerse.