EAã§ææ¨çºè¡¨çãåé¿ããã«ã¯ï¼
ã»ã»ã»ã¨ãã©ãªããã«èããã¦ãããããªæ°ãããã®ã§æ¹éã ãæ¸ãã¦ããã¾ãã
1.ãããä¸ã§çµæ¸ææ¨çºè¡¨æå»ä¸è¦§ãå ¬éãã¦ãããµã¤ããæ¢ãã
2.å®æçã«èªååå¾ãã¦ãEAã«èªã¿è¾¼ãã
å
¬éãµã¤ãã¨ãã¦ã¯ã
ForexFactoryã® http://www.forexfactory.com/ff_calendar_thisweek.xml ãã
DailyFXã® http://www.dailyfx.com/files/Calendar-10-21-2012.csv (é±åä½ã§ãã¡ã¤ã«åãå¤ããã¾ã)
ãç¥ããã¦ãã¾ãã
EAãããã¼ã¿åå¾ããã¨ããããWinInet.mqh ã®ãããªã©ã¤ãã©ãªã使ãã¨
âãããªæãã§ãâã®CSVãã¼ã¿ãåå¾ã§ãã¾ãã
DailyFXã®ãã¼ã¿ã¯CSVãªã®ã§ãMQL4ã§ã¯ç°¡åã«èªãã¾ãã(ãã ããæåã³ã¼ããUnicodeãªã®ã§ä¸é¨æååããã¾ãã)
DailyFXã®ææ¨ã表示ãããã¤ã³ã¸ã±ã¼ã¿ãここã«ããã®ã§ããã®ããããåèã«ããã°ããã¨æãã¾ãã
ä¸æ¹ãForexFactory ã®ãã¼ã¿ã¯ãFFCal.mq4 ã対å¿ãã¦ãã¦ãEA ããç´æ¥ iCustom çµç±ã§ç´åç´å¾ã«ã©ã®ã¤ã³ãã¯ãã®ææ¨çºè¡¨ãããã®ããï¼ã¤ã ãåå¾ã§ãã¾ãã
âEAã§ã®æ¸ãæ¹ã¯ããã ãã§ããä¸ã¤ã®MT4å
ã§ãè¤æ°ã®EAã§ä½¿ãå ´åã¯ãiCustom ãããã°ãã¼ãã«ç°å¢å¤æ°ãç¨ãã¦æ
å ±å
±æãããæ¹ãè¯ãããããã¾ããã
åé¡ã¯ãããFFCal.mq4 èªä½ããã¾ãæ¹è¯ããã¦ããªãç¹ã§ãä¾ãã°ããSetIndexStyle(1, DRAW_NONE);//âæ¬æ¥ã¯ 2 ãã¿ãããªãã°ãç¸å¤ãããæ¾ç½®ããã¦ãã¾ãã
ä¸å®æéåã«é³´ãããã« Alert ã®è¨å®ããã¦ããå¸ãªã¿ã¤ãã³ã°ã§é³´ããªããã¨ãããã¾ããEAããå¼ã°ããéã«ãæ¯åãXMLãã¡ã¤ã«ãèªã¿åã£ã¦ãæ§æ解æããå¦çãéå¹çã§ãã(ä¸åº¦èªãã çµæãã¡ã¢ãªä¸ã«ä¿æãã¦ããã°è¯ãã¯ããªã®ã«...)
ææ¨ã¤ã³ã¸ã±ã¼ã¿èªä½ã¯ã凝ったものãããã¤ãããã®ã§ä½ãè¾¼ãæ°ã¯ãªãã®ã§ãããæä½éã®ã«ã¹ã¿ãã¤ãºããããã®ãこちらã«ç¨æãã¾ããã
ã»ç¸¦ã©ã¤ã³è¡¨ç¤ºæ©è½ã®åé¤
ã»Alertã¯å°ãé ãã¦ã確å®ã«é³´ãããã«
ã»3å以ä¸ã®ææ¨æå»ã表示å¯è½ã«
ã»XMLã®ãã¼ã¿ã¯è§£æçµæãä¿æ
ã»æ¢ç¥ã®ææ¨åã¯æ¥æ¬èªè¡¨ç¤ºå¯è½ã«
ãªã©ã®å¤æ´ãè¡ã£ã¦ãã¾ãã指標ボットãä½ããã人åãã®ä¸å°ã«ãªãã°è¯ãããªã¨æã£ã¦ã¾ãã
âäºæ®µè¡¨ç¤º
âæ¥æ¬èªè¡¨ç¤ºï¼ï¼ï¼
æ¥æ¬èªè¡¨ç¤ºã¯ãå梱ã®CSVãã¡ã¤ã«ã«ããç½®æããã¦ããã ããªã®ã§ãé©å®ãæ£ãã訳èªã«ä¿®æ£ãã¦ã使ããã ããã