为论坛提供的关于元引号的图片 - 页 58

 
仪表板正在滑落

 

对MT5的祝愿

 

视频:如何使更多的字符在终端中可用?


 

如何检查账户功能 -账户信息

CheckAccountFunctions.mq4脚本:

//+------------------------------------------------------------------+
//|                                        CheckAccountFunctions.mq4 |
//|                      Copyright © 2007, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2007, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net"
 
//+------------------------------------------------------------------+
//| script program start function                                    |
//+------------------------------------------------------------------+
int start()
  {
//----
   string MarginLevel;
   string CommentString=StringConcatenate("Account Number = ",AccountNumber(),"\n");
   CommentString=StringConcatenate(CommentString,"AccountCurrency=",AccountCurrency(),"\n");
   CommentString=StringConcatenate(CommentString,"AccountCompany=",AccountCompany(),"\n");
   CommentString=StringConcatenate(CommentString,"AccountName=",AccountName(),"\n");
   CommentString=StringConcatenate(CommentString,"AccountServer=",AccountServer(),"\n");
   CommentString=StringConcatenate(CommentString,"AccountStopoutLevel=",AccountStopoutLevel(),"\n");
   CommentString=StringConcatenate(CommentString,"AccountStopoutMode=",AccountStopoutMode(),"\n");
   CommentString=StringConcatenate(CommentString,"AccountBalance()=",AccountBalance(),"\n");
   CommentString=StringConcatenate(CommentString,"AccountMargin=",AccountMargin(),"\n");
   CommentString=StringConcatenate(CommentString,"AccountEquity=",AccountEquity(),"\n");
   CommentString=StringConcatenate(CommentString,"AccountLeverage=",AccountLeverage(),"\n");
   
   if (AccountMargin()>0) MarginLevel=StringConcatenate("MarginLevel=",DoubleToStr(AccountEquity()/AccountMargin()*100,2),"% ");
   else MarginLevel="MarginLevel=N/A";
 
   CommentString=StringConcatenate(CommentString,MarginLevel);
   Comment(CommentString);   
//----
   return(0);
  }
//+------------------------------------------------------------------+


 

视频:如何在价格图表上查看交易(进入和退出点)。


 

如何在非标准时间框架的离线图表上运行EA。

在WinUser32.mqh文件中插入以下一行

   int      RegisterWindowMessageA(string lpstring);

period_converter.mq4 脚本中插入以下一行

   int MT4InternalMsg = RegisterWindowMessageA("MetaTrader4_Internal_Message"); //incoming tick for EAs

和一条线

            PostMessageA(hwnd,MT4InternalMsg,2,1); //incoming tick for EAs

视频中的细节。




 
平滑的抛物线

附加的文件:
 

如果教程被安全系统锁定,如何打开它。

解锁是在文件属性中通过按解锁 按钮完成的。请看视频。



要打开一本教科书

 

如何连接到ATC 2008 上的账户。


 

如何快速改变图表上的符号。