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

Report - MetaTrader 4용 스크립트

조회수:
12766
평가:
(23)
게시됨:
2008.06.05 06:51
업데이트됨:
2014.04.21 14:52
Report.mq4 (19.73 KB) 조회
report.png (85.21 KB)
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동


Report generator:

  • allows you to select data from history by a preset criterion;
  • allows you to sort the displayed data by any field or by a group of fields;
  • allows you to show/hide specific columns;
  • additionally displays statistics on the selected orders and other parameters.

The script can be launched in any window. The final file is created in the \experts\files directory under the name of AccountName_rep.htm. The area to be modified is marked with the following comments in the script code:
// This may and must be modified
// End of the area allowed to be modified

For sorting, we use arrays SortBy and SortBy2. To sort orders by open time, you should write in the script body:


int SortBy[] = {BY_OPENTIME};


To sort orders by symbol and then by chart, you should write:


int SortBy[] = {BY_SYMBOL, BY_PROFIT};


The other array, SortBy2, is responsible for sorting direction (ASC, DESC). By default, ASC is used.


The next version will sort orders first by symbol in the ascending direction and then by open time in the descending direction.


int SortBy[] = {BY_SYMBOL, BY_OPENTIME};
int SortBy2[] = {ASC, DESC};

The method of Validate allows you to set a criterion to select data in history:


  • return all orders:return (true);
  • return only orders with positive profit:return (OrderProfit() > 0);
  • return all orders for GBPUSD:return (OrderSymbol() == "GBPUSD");


CustomCandle CustomCandle

CustomCandle draws candlesticks of a larger and, perhaps, non-standard (for MT 4) timeframe in the current chart.

MarketProfile MarketProfile

Market Profile is a tool used by many Futures traders.

Interception Interception

Script interception of pressing keys or mouse buttons in the windows of MetaTrader 4. It can be helpful in writing controls.

StepByStep StepByStep

A step-by-step passing of historical data for manual testing of trading.