거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
스크립트

A 3 line script that tells you how many bars are on your chart - MetaTrader 5용 스크립트

조회수:
2178
평가:
(2)
게시됨:
2025.02.12 18:56
업데이트됨:
2025.02.19 09:51
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The following code is deceptively simple and straightforward.

And yet it is also quite useful, especially if you would like to know how many bars are on your chart.

This is always going to be equal to or less than any constraint you have specified through Tools/Options/Charts and Max Bars in Chart, of course, and dependent on the data either downloaded from your broker, or uploaded by you, using a custom symbol, for instance.

I use the built-in iBars function in this instance. All you do is drag the script onto the chart, and look in the experts tab of the Toolbox

You can also look at the top left corner of the chart window because I added a Comment line


Intrabar Volume Flow Intrabar Volume Flow

An indicator which visualizes how volume changes over time within each bar. It shows tick volume in a rolling histogram format.

Calendar-Based Backtesting: an Event-Driven Trading EA Calendar-Based Backtesting: an Event-Driven Trading EA

This Script & EA enables coders to backtest their news based strategies which use the MQL5 Calendar.

Print massive information (PrintXYZ) from the terminal Print massive information (PrintXYZ) from the terminal

PrintXYZ() library to print massive information from the terminal.

Collect Data (Date, Time and Close Price) Collect Data (Date, Time and Close Price)

A simple starting-point script to collect data and send to a CSV in oldest-newest ordering. In this example only the close price data is collected.