but it doesn't work! Am I making a mistake somewhere in the parameters? The code of indicator Kon below. Help!
I think you have a condition if(iClose(NULL,0,r)>=iOpen(NULL,0,r)), because of this the value is not assigned to the up buffer, which you have a zero number and from which you take value with iCustom
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.
Is there a correlator program with the SP500 Fuchs, it seems to have the eu and oil and other things going for it?
Experimented with the sound and added the following:
I was expecting "Sell" and then "Buy", but only "Buy" is heard.
- Is there any way to solve this problem using the same two wav files?
Thank you!
Experimented with the sound, added the following:
I was expecting "Sell" and then "Buy", but only "Buy" is heard.
- Is there any way to solve this problem using the same two wav files?
>> Thank you!
if it's in the script put Sleep(1000); after PlaySound(sell); so it has time to play before you start the next one,
If it is in an inductor, then make a cycle delay.
>> the argument in Sleep, it's better to delay by the length of the sound.
If it's in the script, put Sleep(1000); after PlaySound(sell); so it has time to play before you start the next one,
If it's in the turkey, make it cycle a delay.
Note, the argument in Sleep is in microseconds, it's better to delay it by the length of the sound.
I see the idea, thank you!
Hello.
Can you give me a hint, I can't figure something out: I want this function instead of the word "Hello"
ObjectSetText("Original", "Hello", 10, "Arial Bold", Red);
write the time in the terminal
int YY=TimeYear( TimeCurrent());
I understand that I need to move it to string type string value, but how to make it show the year and not "YY".
Thank you.
Hello.
Can you give me a hint, I can't figure something out: I want this function instead of the word "Hello"
ObjectSetText("Original", "Hello", 10, "Arial Bold", Red);
write the time in the terminal
int YY=TimeYear( TimeCurrent());
I understand that I need to translate it to string type string, but how can I get the year displayed instead of "YY".
Thank you.
translate to string using https://docs.mql4.com/ru/convert/TimeToStr
cut specific characters from the string using https://docs.mql4.com/ru/strings/StringSubstr
translate to a string using https://docs.mql4.com/ru/convert/TimeToStr
cut certain characters from that string with https://docs.mql4.com/ru/strings/StringSubstr
Thank you very much. >> Everything is clear.
Hello.
Can you tell me please, I am running a tester on M5 and inserting an indicator with
iMA(NULL, TM, Factor, 0, Method _ Calculation _ MA, PRICE_MEDIAN, pos); (loop while(pos >= 0) )
TF is a timeframe equal to M60 and the indicator reads today's bars instead of the bars being tested.
How to implement reading of M60 of the period under test for the indicator?
I need to add time synchronization.
People, can you tell me what I'm doing wrong?
I'm trying to call the indicator:
but it doesn't work! Am I making a mistake somewhere in the parameters? The code of indicator Kon below. Help!
People, can you tell me what I'm doing wrong?
I'm trying to call the indicator:
but it doesn't work! Am I making a mistake somewhere in the parameters? The code of indicator Kon below. Help!
I think you have a condition if (iClose(NULL,0,r)>=iOpen(NULL,0,r)), because of this the value is not assigned to the up buffer, which you have a zero number and from which you take value with iCustom