错误、漏洞、问题 - 页 1458

 

大家好。大师们,你们能不能推荐一段mt5上现成的机器人的代码。滑倒。谢谢你。

啊,我知道了。不客气。

 
Vasyl Nosal:

好吧,谁把它去掉了。

:)))))))))))

shaitanam一定在删除它。

 #property copyright "eevviill" 
 #property link "http://alievtm.blogspot.com/"
 #property version "1.0"
 #property strict



string name="probe";

/////
void OnStart()
{
ObjectCreate(0,name,OBJ_LABEL,0,0,0);
ObjectSetString(0,name,OBJPROP_TEXT,name);
ObjectSetInteger(0,name,OBJPROP_COLOR,clrYellow);

string text=ObjectGetString(0,name,OBJPROP_TEXT);
color col=color(ObjectGetInteger(0,name,OBJPROP_COLOR));
int text_sizeX=int(ObjectGetInteger(0,name,OBJPROP_XSIZE));
Alert(text," ",col," ",text_sizeX);


ObjectDelete(name);      ///  Отама шайтанама

}


    
 

我认为这些骗子是mql5.com?

它是由Yandex在搜索引擎查询中给出的。

该网站看起来不是这样的,但熟悉的图标起到了作用。


 
Alexandr Bryzgalov:

我认为这些骗子是mql5.com?

当我搜索时,Yandex给出了这一信息。

该网站看起来并不像这样,但熟悉的favicon起到了作用。


他们不仅仅是骗子,在我看来,他们是病毒的传播者,因为当你下载任何产品时,你会下载一个Ehashnik,它的工作就像你知道的那样--快速而准确地完成。

我们应该集体提出申诉

我看到有市场专家,包括我所谓的专家,但他们下载了一个病毒。

 
Vladislav Andruschenko: 我可以看到,有来自市场的专家,包括我所谓的专家,但病毒正在被下载。
据说也有我的。
[删除]  
Vladimir Pastushak:

shaitanam正在清除它。

是的,这是个剧本。

指标中没有删除的内容。这是关于设置新的文本。

 
Alexandr Bryzgalov:

我认为这些骗子是mql5.com?

这是一个Yandex搜索引擎的查询。

该网站看起来不是这样的,但熟悉的图标起到了作用。

是的,他们在顾问的幌子下传播特洛伊人。

谢谢你!我们将采取行动。

 
Vasyl Nosal:

嗯,这是一个剧本。

指标中没有删除的内容。有一个新的文字装置。

不是吗?那么添加什么问题呢?

用简单的语言(MQL)向终端解释,如果交易者将指标从图表上移走,指标必须清理其在图表上的痕迹和对象。

[删除]  
Vladimir Pastushak:

没有吗?那么添加什么问题呢?

用简单的语言(MQL)向终端解释,如果交易者将指标从图表上移走,指标必须清理其在图表上的痕迹和对象。

我很震惊。

灌水器?

 
Vasyl Nosal:

我很震惊。

灌水器?

你有什么不明白的?我给了你一个例子!

你的问题是什么?

//+------------------------------------------------------------------+
//|                                                        proba.mq4 |
//|                        Copyright 2015, MetaQuotes Software Corp. |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2015, MetaQuotes Software Corp."
#property link      "https://www.mql5.com"
#property version   "1.00"
#property strict
#property indicator_chart_window

string name="probe";
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int OnInit()
  {
   EventSetTimer(1 /*переодичность в секундах*/); // 
                                                  // или
//bool  EventSetMillisecondTimer( 
//int  milliseconds      // количество миллисекунд 
//);
   ObjectCreate(0,name,OBJ_LABEL,0,0,0);
   return(INIT_SUCCEEDED);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int OnCalculate(const int rates_total,
                const int prev_calculated,
                const datetime &time[],
                const double &open[],
                const double &high[],
                const double &low[],
                const double &close[],
                const long &tick_volume[],
                const long &volume[],
                const int &spread[])
  {
   return(rates_total);
  }
//+------------------------------------------------------------------+
//| Timer function                                                   |
//+------------------------------------------------------------------+
void OnTimer()
  {
   ObjectSetString(0,name,OBJPROP_TEXT,name);
   string text=ObjectGetString(0,name,OBJPROP_TEXT);
   int text_sizeX=int(ObjectGetInteger(0,name,OBJPROP_XSIZE));
   Alert(text," ",text_sizeX);
  }
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
  {
   ObjectDelete(name);
   EventKillTimer();
  }
//+------------------------------------------------------------------+