나는 기울고있는 mql4 코드를 시작하고 thise 코드를 실행했다.
삽입 된 코드/*/my_DailyOpen_indior/*/* 개정판 1.1 2005/11/13 Midnite/* DailyOpen indior/* pm/* #property copyright Midnite #property link [email protected] # 속성 indior_chart_window #property indior_buffers 1 #property indior_color1 DodgerBlue #property indior_style1 2 #property indior_width1 1 double TodayOpenBuffer # 91; # 93 ;; extern int TimeZoneOfData = 0;/ ----------------------------------------------- ------------------- /| 사용자 정의 내부 초기화 함수 |/ ----------------------------------------------- ------------------- int init () {SetIndexStyle (0, DRAW_LINE); SetIndexBuffer (0, TodayOpenBuffer); SetIndexLabel (0, Open); SetIndexEmptyValue (0,0.0); return (0); }/ ---------------------------------------------- -------------------- /| 커스터 내부 초기화 기능 |/ ----------------------------------------------- ------------------- int deinit () {return (0); }/ ---------------------------------------------- -------------------- /| 사용자 정의 내부 반복 기능 |/ ----------------------------------------------- ------------------- int start () {int lastbar; int counted_bars = IndiorCounted (); if (counted_barsgt; 0) counted_bars--; lastbar = Bars-counted_bars; DailyOpen (0, lastbar); return (0); }/ ---------------------------------------------- -------------------- /| |/ ----------------------------------------------- ------------------- int DailyOpen (int offset, int lastbar) {int shift; int tzdiffsec = TimeZoneOfData * 3600; double barsper30 = 1.0 * PERIOD_M30Period ();/lt; lt; lt; lt; lt; lt; lt; lt; lt; lt; <- lt-; - ------ thise line 나에게 분명하지 않음 ------- bool ShowDailyOpenLevel = True;/lastbar = barsperday 2;/매일 열려있는 lastbar = MathMin (Bars-20 * barsper30-1, lastbar);/lt; lt; lt; lt; lt; lt; lt; lt; lt; lt; ---- --- Thise는 또한 명확하지 않다 ------- (shift = lastbar; shiftgt; = offset; shift -) {TodayOpenBuffer # 91; shift # 93; TodayOpenBuffer # 91, shift # 93 변경 (ifDownOpenBuffer # 91, shift # 93, -tzdiffsec) {if (ShowDailyOpenLevel) {if (TimeDay (시간 # 91; ; = 열린 # 91; 교대 # 93 ;; TodayOpenBuffer # 91; shift 1 # 93; = 0;/계단을 피하십시오} else {TodayOpenBuffer # 91; shift # 93; = TodayOpenBuffer # 91; shift 1 # 93 ;; }}} return (0); }
동일한 2 행의 코드를 설명 할 수 있습니까?
미리 감사드립니다.
https://www.koreaforex.kr/attachments/1529221426.png