AndCam: I'm sorry, but no one can share (or poke a nose), in the copier trades which has the ability to reverse orders. I.E. If the master opens a sell, then I (the slave) buy and vice versa. If I want to open Sell or Buy, then I have to open Buy and vice versa, but deals should be closed by both of them at the same time.
Can someone tell me how to present information about price candlesticks in a program in the form of an array -
Four-dimensional array consisting of the main characteristics of each candlestick (open, closed, max, min.)? There must be some standard function ..... or something similar)
Can anyone advise how to present information about price candlesticks in a program in the form of an array?
A four-dimensional array consisting of the main characteristics of each candle (open, closed, max, min)? There must be some standard function..... or something similar)
Thank you in advance for the answer)
There is no standard function. Refer to the tutorial - starting from here - there is an array organized by order characteristics - sl, tr, etc - alternatively, you can do something similar in your own way... It's easy there - just put your characteristics in the cells instead of order characteristics...
Can anyone advise how to present information about price candlesticks in a program in the form of an array?
A four-dimensional array consisting of the main characteristics of each candle (open, closed, max, min)? There must be some standard function..... or something similar)
Can you please tell me what's wrong ? I am using the tester on GBPUSD - it opens trades as it should be. I am using it on the dollar index DXH1 - it does not open many deals, the error "130" - Incorrect stops. Moreover, it is not clear what is wrong - it opens and does not open in similar situations, but more than that. Spread and stop level for Dollar Index -100 and 200. Spread and stop level for GBPUSD -3 and 4. Prices in the dollar index, e.g. 78.150, in the pair - 4 decimal places. But it is accounted for.
if(Digits==5 || Digits==3) PointX = Point * 10; // Корректировка Point под трёх- пятизнакif(Digits==4 || Digits==2) PointX = Point;
Here is part of the code :
A++;
double ОткрФрвверх=High[Фр]+HФр*PointX;
SL=ОткрФрвверх-Ограничение*PointX;
TP=ОткрФрвверх+ПрибыльФр*PointX; // Заявленная цена TPPrint("ОткрФрвверх = ",ОткрФрвверх);
Print("TP = ",TP);
Print("SL = ",SL);
int Ind_max =ArrayMaximum(High,n,0); // Индекс бара макс.ц. double max = High[Ind_max]; // Искомая макс ценаint Min_Dist=MarketInfo(Symbol(),MODE_STOPLEVEL); // Мин. дистанцияint Время_фрактала=Time[Фр];
double Цена_рисунка=High[Фр];
Print("Цена_рисунка = ",Цена_рисунка);
string Номер_свечи = Время_фрактала;
ObjectFind(Номер_свечи);
ObjectCreate(Номер_свечи,OBJ_TEXT,0,Время_фрактала,Цена_рисунка+10*Point); // Создание надписи номера свечи С1
ObjectSetText(Номер_свечи,"Фрвв",14,"Arial",Свеча1 C); // Задание свойств надписиint Error=GetLastError(); // Назначение имени функции проверки ошибокAlert("Error рисунка = ", Error);
while(true) // Цикл открытия орд.
{
ticketup=OrderSend(Symb, OP_BUYSTOP, Lot, NormalizeDouble(ОткрФрвверх,Digits),0, SL, TP,NULL,A,0,вверх); // Ордер вверх
Error=GetLastError();
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.
I forgot to put the system inluder in the archive. I have added the necessary constants and functions to it.
I have attached the archive with inluder.
I will add new version of the library to the piggy bank soon. There will be more functions.
Thank you.
I forgot to put the system inluder in the archive. I have added the necessary constants and functions to it.
I have attached the archive with inluder.
I will add new version of the library to the piggy bank soon. There will be more functions.
When running Check_ServicesMT4.dll.mq4 the terminal hangs
I'm sorry, but no one can share (or poke a nose), in the copier trades which has the ability to reverse orders. I.E. If the master opens a sell, then I (the slave) buy and vice versa. If I want to open Sell or Buy, then I have to open Buy and vice versa, but deals should be closed by both of them at the same time.
Hello dear programmers!
Can someone tell me how to present information about price candlesticks in a program in the form of an array -
Four-dimensional array consisting of the main characteristics of each candlestick (open, closed, max, min.)? There must be some standard function ..... or something similar)
Thanks in advance for the answer)Hello dear programmers!
Can anyone advise how to present information about price candlesticks in a program in the form of an array?
A four-dimensional array consisting of the main characteristics of each candle (open, closed, max, min)? There must be some standard function..... or something similar)
Thank you in advance for the answer)There is no standard function. Refer to the tutorial - starting from here - there is an array organized by order characteristics - sl, tr, etc - alternatively, you can do something similar in your own way... It's easy there - just put your characteristics in the cells instead of order characteristics...
When running Check_ServicesMT4.dll.mq4 the terminal hangs
XP? If so, just wait a while. I'll post a new one soon.
It works on Vista and 7. Not all XP doesn't work. On some it's fine.
================
Posted. Tomorrow or the day after tomorrow it will appear in the piggy bank.
Hello dear programmers!
Can anyone advise how to present information about price candlesticks in a program in the form of an array?
A four-dimensional array consisting of the main characteristics of each candle (open, closed, max, min)? There must be some standard function..... or something similar)
Thanks in advance for the answer)Roman thank you)
Zhunko thank you!
Hello !
Can you please tell me what's wrong ? I am using the tester on GBPUSD - it opens trades as it should be. I am using it on the dollar index DXH1 - it does not open many deals, the error "130" - Incorrect stops. Moreover, it is not clear what is wrong - it opens and does not open in similar situations, but more than that. Spread and stop level for Dollar Index -100 and 200. Spread and stop level for GBPUSD -3 and 4. Prices in the dollar index, e.g. 78.150, in the pair - 4 decimal places. But it is accounted for.
Here is part of the code :