MQL4 Indicator Sample / Bar Counter Utility
A minimal boilerplate MQL4 indicator template that prints the current bar count to the Experts terminal. It does not perform visual plotting.
Formula
\text{Total Bars} = iBars(\text{Symbol}, \text{Period})
See signal primitives, usage in published strategies and more on WOBR StrategyVerse.