閰嶇疆寮€鍚?/h1>

瀹㈡埛绔彲浠ュ簲鐢ㄩ鍏堣瀹氬紑鍚€? For this purpose,杩欐牱閰嶇疆鏂囦欢鐨勫悕绉颁細浣滀负鍙傛暟閫氳繃瀹㈡埛绔€?/p>

渚嬪:

    terminal.exe config\start.ini    terminal.exe test1.txt    terminal.exe "C:\Program Files\MetaTrader 4\config\settings25.ini"  

濡傛灉娌℃湁缁欏嚭瀹屾暣璺緞(Drive:\SubDirectory\FileName) 鍦ㄥ鎴风鐩綍閲屾悳绱㈡枃浠躲€傞厤缃枃浠跺寘鎷互涓嬪唴瀹癸細
[鍙傛暟] = [鎴愪氦閲廬

娉ㄨВ浠ュ垎鍙峰紑濮?;)銆?/p>

閰嶇疆鏂囦欢鍒嗕互涓嬪嚑缁? 閫氱敤璁剧疆锛屼唬鐞嗘湇鍔″櫒璁剧疆(缁堢璁剧疆 “鏈嶅姟鍣?quot; )锛?FTP 璁剧疆 (鏈嶅姟鍣ㄨ缃?”鍏紑椤?quot; ) EA 璁剧疆 (鏈嶅姟鍣ㄨ缃?quot;鏅鸿兘浜ゆ槗” )锛? 浜ゆ槗鎴栬剼鏈殑鍗曠嫭璁剧疆锛岀瓥鐣ユ祴璇曡缃殑寮€鍚€?/p>

閫氱敤璁剧疆

  • Profile – 鍦ㄦ暟鎹浘琛ㄧ洰褰曚腑鐨勫瓙鑿滃崟鍚嶇О銆傚鎴风鍐呯殑鍥捐〃浼氭寜鐓ф墍缁欏嚭鐨勬暟鎹浘琛ㄦ墦寮€銆? 濡傛灉鍙傛暟娌℃湁琚寚瀹氾紝褰撳墠鏁版嵁鍥捐〃浼氳鎵撳紑銆?/p>

  • MarketWatch – 鍦ㄥ寘鍚晢鍝佸垪琛ㄧ殑鏂囦欢鍚嶇О鍐? 鐩綍\symbolsets ) 浼氭樉绀哄湪甯傚満鎶ヤ环绐楀彛銆? 鏂囦欢鍙互鍦ㄦ墽琛屽懡浠ょ殑“甯傚満鎶ヤ环 – 璁剧疆 – 淇濆瓨涓?..”绐楀彛寰楀埌銆?/p>

  • Login – 寤虹珛杩炴帴璐︽埛鏁板瓧銆傚鏋滃弬鏁版湭琚瀹氾紝搴旂敤褰撳墠鐧婚檰銆?/p>

  • Password -鍏佽杩涘叆绯荤粺鐨勫瘑鐮併€?濡傛灉瀹㈡埛绔湪鐩樹笂瀛樿串涓汉鏁版嵁锛屽弬鏁颁細琚拷鐣ャ€?/p>

  • Server – 浜ゆ槗鏈嶅姟鍣ㄧ殑杩炴帴銆傛湇鍔″櫒鐨勫悕绉颁細浣滀负鐩稿簲淇℃伅鐨勫悕绉般€傛湇鍔″櫒鏂囦欢鏄瓨璐湪閰嶇疆鑿滃崟閲岀殑銆? 濡傛灉璐︽埛淇℃伅瀛樿串鍦ㄧ洏涓婂弬鏁颁細琚拷鐣ャ€?/p>

  • AutoConfiguration – “true” 鎴?quot;false”鍙栧喅浜庤嚜鍔ㄩ厤缃槸鍚﹀厑璁搞€傚鏋滃弬鏁版湭琚寚瀹氾紝鍒欎細搴旂敤褰撳墠鏈嶅姟鍣ㄨ缃殑鎴愪氦閲忋€?/p>

  • DataServer -鏁版嵁涓績鍦板潃銆傚鏋滃厑璁告湇鍔″櫒鑷姩閰嶇疆锛岃褰曞彲浠ュ拷鐣ャ€? 濡傛灉鍙傛暟鏈鎸囧畾锛屽垯浼氬簲鐢ㄥ綋鍓嶆湇鍔″櫒璁剧疆鐨勬垚浜ら噺銆?/p>

  • EnableDDE – “true” 鎴?quot;false” 鍙栧喅浜嶥DE鏄惁鍏佽銆?濡傛灉鍙傛暟鏈鎸囧畾锛屽垯浼氬簲鐢ㄥ綋鍓嶆湇鍔″櫒璁剧疆鐨勬垚浜ら噺銆?/p>

  • EnableNews – “true” 鎴?”false” 鍙栧喅浜庢柊闂绘槸鍚﹀紑鍚€傚鏋滃弬鏁版湭琚寚瀹氾紝鍒欎細搴旂敤褰撳墠鏈嶅姟鍣ㄨ缃殑鎴愪氦閲忋€?

鑼冧緥:

    ; common settings    Profile=test 3    MarketWatch=set2.set    Login=12345    Password=xxxxxx    Server=MetaQuotes-demo    AutoConfiguration=false    DataServer=192.168.0.1:443    EnableDDE=true    EnableNews=false  

浠g悊鏈嶅姟鍣ㄨ缃?/h2>

  • ProxyEnable – “true” 鎴?”false” 鍙栧喅浜庡繀椤诲簲鐢ㄤ唬鐞嗘湇鍔″櫒杩炴帴浜ゆ槗鏈嶅姟鍣ㄣ€?/p>

  • ProxyServer – 浠g悊鏈嶅姟鍣ㄥ湴鍧€銆?/p>

  • ProxyType – 浠g悊鏈嶅姟鍣ㄧ被鍨嬨€傚彲浠ユ槸”HTTP”锛?”SOCKS4″鍚?”SOCKS5″銆?/p>

  • ProxyLogin – 楠屾槑鐧婚檰銆?/p>

  • ProxyPassword – 浠g悊鏈嶅姟鍣ㄧ殑璁块棶瀵嗙爜銆?/p>

濡傛灉涓婅堪鍙傛暟鏈鎸囧畾锛屽簲鐢ㄥ鎴风鐨勫綋鍓嶈缃? (鍦ㄥ鎴风璁剧疆 “鏈嶅姟鍣?quot;浠g悊鏈嶅姟鍣?銆?/p>

鑼冧緥:

    ; proxy settings    ProxyEnable=true    ProxyServer=proxy.company.com:3128    ProxyType=HTTP    ProxyLogin=user45    ProxyPassword=xxx  

FTP璁剧疆

  • FTPEnable – 鍏佽/绂佹鍏紑銆?鍙帴鍙椾环鍊间负”true” 鎴?quot;false”銆?/p>

  • FTPPassiveMode – 鍏佽/绂佹浠ヨ鍔ㄦā寮忎紶杈撴暟鎹€?鍙帴鍙椾环鍊间负”true” 鎴?quot;false”銆?/p>

  • FTPAccount – 鍙戦€佽处鎴锋暟瀛楃殑鐘舵€佸埌FTP銆?/p>

  • FTPServer – FTP鏈嶅姟鍣ㄥ湴鍧€銆?/p>

  • FTPLogin -楠屾槑 FTP 鏈嶅姟鍣ㄧ櫥闄嗐€?/p>

  • FTPPassword – FTP鏈嶅姟鍣ㄨ闂瘑鐮併€?/p>

  • FTPPath – 鍦‵TP鏈嶅姟鍣ㄤ笂鐨勭洰褰曞悕绉板畨鏀炬姤鍛婁綅缃€?/p>

  • FTPPeriod – FTP鏈嶅姟鍣ㄥ彂閫佸懆鏈熴€?/p>

濡傛灉涓婅堪鍙傛暟鏈鎸囧畾锛屽簲鐢ㄥ鎴风鐨勫綋鍓嶈缃? (鍦ㄦ湇鍔″櫒璁剧疆“鍏紑椤?quot;)銆?/p>

鑼冧緥:

    ; ftp settings    FTPEnable=true    FTPPassiveMode=false    FTPAccount=12345    FTPServer=ftp.company.com    FTPLogin=admin    FTPPassword=pAssWOrd123    FTPPath=/inetpub    FTPPeriod=10  

EA 璁剧疆

  • ExpertsEnable – 鍏佽/绂佹浜ゆ槗銆?

  • ExpertsDllImport – 鍏佽/绂佹DLL瀵煎叆銆?/p>

  • ExpertsDllConfirm -鍏佽/绂佹鎵嬪姩纭DLL鍔熻兘銆?/p>

  • ExpertsExpImport -鍏佽/绂佹浠庡閮ㄤ氦鏄撴垨 MQL4璧勬枡搴撳鍏ャ€?/p>

  • ExpertsTrades – 鍏佽/绂佹鎵ц浜ゆ槗銆?/p>

  • ExpertsTradesConfirm – 鍏佽/绂佹鎵嬪姩鎵ц浜ゆ槗浠撳唴鐨勪笟鍔°€?/p>

娉ㄦ剰: 鎵€鏈変氦鏄撶殑鍙傛暟缁勫彧鏈変互 “true” 鎴?”false”涓烘帴鍙椾环鍊笺€?/div>

濡傛灉涓婅堪鍙傛暟鏈鎸囧畾锛屽簲鐢ㄥ鎴风鐨勫綋鍓嶈缃? (鍦ㄦ湇鍔″櫒璁剧疆 “鏅鸿兘浜ゆ槗” )銆?/p>

鑼冧緥:

    ; experts settings    ExpertsEnable=true    ExpertsDllImport=true    ExpertsDllConfirm=true    ExpertsExpImport=true    ExpertsTrades=true    ExpertsTradesConfirm=false  

浜ゆ槗鎴栬剼鏈殑鍗曠嫭璁剧疆

  • Symbol – 缁堢鍚姩鍚庢姤浠峰浘琛ㄤ腑鐨勫晢鍝佷細绔嬪嵆寮€濮嬭繍浣溿€傚鎴风鍏抽棴鏃讹紝闄勫姞鍒板浘琛ㄧ殑淇℃伅涓嶄細淇濆瓨銆? 鍦ㄦ病鏈夐厤缃枃浠剁殑鎯呭喌涓嬬粓绔噸璧锋椂锛屽浘琛ㄤ笉浼氭墦寮€銆傚鏋滃弬鏁版湭琚寚瀹氾紝娌℃湁闄勫姞鍥捐〃鍙

    配置启?macr;