int WindowBarsPerChart( )
Function returns the amount of bars visible on the chart.
チャート上に表示されているバーの本数を返します。
Sample:
サンプル:
// work with visible bars.
int bars_count=WindowBarsPerChart();
int bar=WindowFirstVisibleBar();
for(int i=0; i<bars_count; i++,bar--)
{
// ...
}
|