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

Programmatic modification of Tester "From:" and "To:" fields with user32.dll - MetaTrader 4용 스크립트

조회수:
8936
평가:
(10)
게시됨:
2011.02.24 08:06
업데이트됨:
2014.04.21 14:55
SetDate.mq4 (6.47 KB) 조회
\MQL4\Include\
WinUser32.mqh (62.68 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

For this script to run properly you must have the strategy tester window open.

I made this for the purpose of creating a distributed automated optimization package.
I was unsatisfied with the available automated optimization code because it necessitates modification of expert advisor code.

This was created and tested on Windows 7 64 bit. It is possible that the #define statements need to be changed to point to the proper IDs for your operating system.

I was unable to directly send a string to the date field because its control, SysDateTimePick32, is difficult to interface with MQL4.

Instead I used a somewhat round-about method of parsing the control's text and sending UP, DOWN, LEFT, and RIGHT keystrokes to adjust the date.

I posted this script because I found it very time consuming to find the necessary information to achieve this (especially for a Windows API newbie like myself). Hopefully this will help others.

Daily trend ZCOMFX v2 Daily trend ZCOMFX v2

Daily trend indicator to show up to 6 pairs and arrows on your chart.

'Am I missing bars in my chart?' two simple indicators to show you 'Am I missing bars in my chart?' two simple indicators to show you

Two similar indicators (one in main chart, another in separate window) to show when you're missing historical bars from your chart.

VisualTrader-SimulatorEdtion VisualTrader-SimulatorEdtion

Use the tester as Simulator

Daily Breakdown Daily Breakdown

The Expert Advisor places stop orders and waits for breakdown of the last day or time period.