Huynh Trung Hieu / Publications
Forum
Who can help me convert this code from mql5 to mql5?
Hi there, I'm a newbie and I want to create a new indicator mql5, but I want to use IndicatorCounted() function like this mql4 code: int limit; int counted_bars = IndicatorCounted(); if (counted_bars < 0 ) return (- 1 ); if (counted_bars > 0 ) counted_bars--; limit= Bars - counted_bars;