Yedelkin: So try duplicating your question directly there. There are many more interested parties there.
It's a reasonable suggestion! When I asked this question I thought it was closer to the Dummies' Questions than to the OpenCL: Internal Tests of Implementation in MQL5. :). Let's wait - maybe someone will suggest a solution to this problem...
MigVRN: Reasonable suggestion! When I asked this question I thought it was closer to the Dummies' Questions thread than to the OpenCL: Internal Tests of Implementation in MQL5 thread. :). Let's wait and see if someone will suggest a solution to this problem...
The thing is that some forum participants are subscribed to updates of certain topics and they don't look through all threads in a row. So you can get a response to your problem with a better chance of success if you post a specific question in a topic thread.
My aim is to find out where I should withdraw my first deposit, on which brokerage company I would like to start from a simple one, directly on MT5, because I have not mastered the option to copy the signal to MT4 through a file, I have been working for 3 days and it has been empty so far.
I looked at a list on my sitehttp://www.brokersearch.ru and I'm interested in opinions of the respected gentlemen. They are: MQL5, MQL5 for those who do not want to work with scalping and spread betting, MQL5 for those who do not want to work with scalping and spreading.
For me the most known is Roboforex, but they say different things about it.)
I am morally ready to experiment with amounts up to $500, without any remorse. Even many times ready (3-5), until I do not understand that for sure, or it's all awfully clever casino (that is a scam), or that's right, you can get income on it.
If this forum can not talk about this, then please let me know in private, or on e-mail alex.bondar1969@gmail.com, I would be very grateful)))
I understand that the first deposit is intended exclusively for the experience of plum, but I do not want this plum to be because of a brazen scam, it can discourage ahota, as to trading in general, and to algotrading in particular.
I also wonder what kind of account is better to open for a beginner - ECN or with fixed spread?
Hi all!!! This is the day I can not understand how to output the text information in the Expert Advisor, that is, I need to output the spread on the currency pair, as well as the difference between the moving averages, please advise how to do it? In mql4 it looks like this:
//+------------------------------------------------------------------+//| my_fist_sov.mq4 |//| Начало создания 26.12.2012, test |//| http:// |//+------------------------------------------------------------------+#property copyright "test"#property link "http://www.my_expert.ru"//-- объявляем переменныеstring Obj_Name ="Spread"; // string Obj_Name2 ="EMA_8";
string Obj_Name3 ="EMA_40";
string Obj_Name4 ="Raznica";
int Period_MA_1 = 8;
int Period_MA_2 = 40;
//--- объявляем константы//--- ввод параметров EUR_GBRint init()
{
string Text = MarketInfo (Symbol(), MODE_SPREAD);
if(ObjectFind(Obj_Name)==-1) // Если объекта нет..
{
ObjectCreate (Obj_Name,OBJ_LABEL,0,0,0); // Создаём новый объект
ObjectSet (Obj_Name,OBJPROP_CORNER, 1);// Угол привязки
ObjectSet (Obj_Name,OBJPROP_XDISTANCE,15);// Координата Х
ObjectSet (Obj_Name,OBJPROP_YDISTANCE,20);// Координата Y
}
ObjectSetText(Obj_Name,"Спред = "+Text,10,"Times New Roman",Red);// Текстовое описание объектаreturn;
}
int start ()
{
string Text2 = iMA(NULL,0,Period_MA_1,0,MODE_EMA,PRICE_CLOSE,0); // МА_1if(ObjectFind(Obj_Name2)==-1) // Если объекта нет..
{
ObjectCreate (Obj_Name2,OBJ_LABEL,0,0,0); // Создаём новый объект
ObjectSet (Obj_Name2,OBJPROP_CORNER, 1);// Угол привязки
ObjectSet (Obj_Name2,OBJPROP_XDISTANCE,15);// Координата Х
ObjectSet (Obj_Name2,OBJPROP_YDISTANCE,35);// Координата Y
}
ObjectSetText(Obj_Name2,"Экспоциональная скользящая средняя = "+Text2,10,"Times New Roman",Red);// Текстовое описание объектаstring Text3 =iMA(NULL,0,Period_MA_2,0,MODE_EMA,PRICE_CLOSE,0); // МА_2if(ObjectFind(Obj_Name3)==-1) // Если объекта нет..
{
ObjectCreate (Obj_Name3,OBJ_LABEL,0,0,0); // Создаём новый объект
ObjectSet (Obj_Name3,OBJPROP_CORNER, 1);// Угол привязки
ObjectSet (Obj_Name3,OBJPROP_XDISTANCE,15);// Координата Х
ObjectSet (Obj_Name3,OBJPROP_YDISTANCE,50);// Координата Y
}
ObjectSetText(Obj_Name3,"Экспоциональная скользящая средняя = "+Text3,10,"Times New Roman",Blue);// Текстовое описание объектаstring Text4 =iMA(NULL,0,Period_MA_2,0,MODE_EMA,PRICE_CLOSE,0)- iMA(NULL,0,Period_MA_1,0,MODE_EMA,PRICE_CLOSE,0); // МА_2if(ObjectFind(Obj_Name4)==-1) // Если объекта нет..
{
ObjectCreate (Obj_Name4,OBJ_LABEL,0,0,0); // Создаём новый объект
ObjectSet (Obj_Name4,OBJPROP_CORNER, 1);// Угол привязки
ObjectSet (Obj_Name4,OBJPROP_XDISTANCE,15);// Координата Х
ObjectSet (Obj_Name4,OBJPROP_YDISTANCE,70);// Координата Y
}
ObjectSetText(Obj_Name4,"До пересечения скользящих осталось = "+Text4+ " пунктов",10,"Times New Roman",Red);// Текстовое описание объектаreturn;
}
//int deinit()
{
ObjectDelete(Obj_Name); // Удаление объекта при выходеObjectDelete(Obj_Name2);
ObjectDelete(Obj_Name3);
ObjectDelete(Obj_Name4);
return;
}
How to do it in mql5, because even simple text does not show:
//+------------------------------------------------------------------+//| my_first.mq5 |//| test |//| http://www.mql5.com |//+------------------------------------------------------------------+#property copyright "test"#property link "http://www.mql5.com"#property version "1.00"//--- начало ввода параметровinputint EMA_fast=8;
inputint EMA_slow=40;
//---конец ввода параметров//--- начало объявление переменныхstring txt_name ="Spread";
//--- окончание объявление переменныхdatetime txt;
#define UP "\x0431"//---intOnInit()
{
{
string txt_name="Спред по валютной паре составляет: ";
if(ObjectFind(0,label_name)<0)
Print("Object ",txt_name," not found. Error code = ",GetLastError());
//--- создадим объект LabelObjectCreate(0,txt_name,OBJ_TEXT,0,0,0);
//--- установим координату XObjectSetInteger(0,txt_name,OBJPROP_XDISTANCE,200);
//--- установим координату YObjectSetInteger(0,txt_name,OBJPROP_YDISTANCE,300);
//--- зададим цвет текстаObjectSetInteger(0,txt_name,OBJPROP_COLOR,clrWhite);
//--- установим текст для объекта LabelObjectSetString(0,txt_name,OBJPROP_TEXT,UP);
//--- установим шрифт надписиObjectSetString(0,txt_name,OBJPROP_FONT,"Wingdings");
//--- установим размер шрифтаObjectSetInteger(0,txt_name,OBJPROP_FONTSIZE,10);
//--- повернем на 45 градусов по часовой стрелкеObjectSetDouble(0,txt_name,OBJPROP_ANGLE,-45);
//--- запретим выделение объекта мышкойObjectSetInteger(0,txt_name,OBJPROP_SELECTABLE,false);
//--- отрисуем на графикеChartRedraw(0);
}
return (0);
}
//---intOnDeinit()
{
ObjectDelete(0,txt_name); // Удаление объекта при выходеreturn(0);
}
//--- intOnTick ()
{
{
//---
}
return (0);
}
Hi all!!! This is the day I can not understand how to output the text information in the Expert Advisor, that is, I need to output the spread on the currency pair, as well as the difference between the moving averages, please advise how to do it? In mql4 it looks like this:
How to do it in mql5, because even simple text does not show:
I don't know mql4 and mql5 very well.
Wow, it is so complicated.
The simple text is shown with the following commands
Print and Comment
The difference between these commands is taken from the indicator handle
Hello gentlemen. I have, as usual, quite probably a silly question... Just recently, it wasn't even a question, but now, after talking with a very experienced uncle, confusion arose (((
MTS (mechanical trading system) and ATC (algorithmic trading system) are very different things?
It has been argued (by an experienced uncle) that MTS is a "great illusion" and algorithmic trading is cool. This is after a slight moral abuse, to me as a beginner, who turns out not to know the fundamental differences between MTS and ATS... I'm not offended, but I don't understand what the difference is(((
Please explain in 2 words what are the fundamental differences.
Pesa: In particular uncle said that HFT is algorithmic trading but it is not MTS...
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
MigVRN: Вот тут говорят что работает.
So try duplicating your question directly there. There are many more interested parties there.
My aim is to find out where I should withdraw my first deposit, on which brokerage company I would like to start from a simple one, directly on MT5, because I have not mastered the option to copy the signal to MT4 through a file, I have been working for 3 days and it has been empty so far.
I looked at a list on my sitehttp://www.brokersearch.ru and I'm interested in opinions of the respected gentlemen. They are: MQL5, MQL5 for those who do not want to work with scalping and spread betting, MQL5 for those who do not want to work with scalping and spreading.
For me the most known is Roboforex, but they say different things about it.)
I am morally ready to experiment with amounts up to $500, without any remorse. Even many times ready (3-5), until I do not understand that for sure, or it's all awfully clever casino (that is a scam), or that's right, you can get income on it.
If this forum can not talk about this, then please let me know in private, or on e-mail alex.bondar1969@gmail.com, I would be very grateful)))
I understand that the first deposit is intended exclusively for the experience of plum, but I do not want this plum to be because of a brazen scam, it can discourage ahota, as to trading in general, and to algotrading in particular.
I also wonder what kind of account is better to open for a beginner - ECN or with fixed spread?
Hi all!!! This is the day I can not understand how to output the text information in the Expert Advisor, that is, I need to output the spread on the currency pair, as well as the difference between the moving averages, please advise how to do it? In mql4 it looks like this:
How to do it in mql5, because even simple text does not show:
I don't know much about mql4 and mql5/ Thank you
Hi all!!! This is the day I can not understand how to output the text information in the Expert Advisor, that is, I need to output the spread on the currency pair, as well as the difference between the moving averages, please advise how to do it? In mql4 it looks like this:
How to do it in mql5, because even simple text does not show:
I don't know mql4 and mql5 very well.
Wow, it is so complicated.
The simple text is shown with the following commands
Print and Comment
The difference between these commands is taken from the indicator handle
https://www.mql5.com/ru/docs/indicators/ima
The spread is taken from SymbolInfoInteger, but the information will be shown as number of points, like - 3, not 0.0003
I don't know where to ask this question, so I'll ask it in the usual thread
Can I test several indicators simultaneously or should I combine them into a custom one and run it?
For example, I want to see how Fractals+Bollinger Channels behave
I don't know where to ask this question, so I'll ask it in the usual thread
Can I test several indicators simultaneously or should I combine them into a custom one and run it?
For example, I want to see how Fractals+Bollinger Channels behave
Run in tester:
run in the tester:
Hello gentlemen. I have, as usual, quite probably a silly question... Just recently, it wasn't even a question, but now, after talking with a very experienced uncle, confusion arose (((
MTS (mechanical trading system) and ATC (algorithmic trading system) are very different things?
It has been argued (by an experienced uncle) that MTS is a "great illusion" and algorithmic trading is cool. This is after a slight moral abuse, to me as a beginner, who turns out not to know the fundamental differences between MTS and ATS... I'm not offended, but I don't understand what the difference is(((
Please explain in 2 words what are the fundamental differences.
Pesa: In particular uncle said that HFT is algorithmic trading but it is not MTS...