Programmers. Help me write an indicator to send me email if candle's body is over 50runts. I got help yesterday, but I tried it and it did not send the signal right( I need it to send a signal once the candlestick is > 50 pips and once it closes, only 1 time and that's it...
I am writing an Expert Advisor to work on Range Bars (implemented as a looped script). However, it makes a trade and is immediately removed from the chart.
The problem is obviously in return(0), but how do I get around it? I am attaching the scripts below. They differ only in the algorithm of looping.
http://dl.dropbox.com/u/47506458/RB4 sctipt2 .mq4
http://dl.dropbox.com/u/47506458/RB4 script3.mq4
/* edited by the moderator, please insert links correctly */
I am writing an Expert Advisor to work on Range Bars (implemented as a looped script). However, it makes a trade and is immediately removed from the chart.
The problem is obviously in return(0), but how do I get around it? I am attaching the scripts below. They differ only in the algorithm of looping.
http://dl.dropbox.com/u/47506458/RB4 sctipt2 .mq4
http://dl.dropbox.com/u/47506458/RB4 script3.mq4
I don't even want to look, but what's stopping the script from being moved to the experts folder and not suffering from perversion?
Hello. I am new to MT4. I have a question: Can I place several orders at the same time using an EA or a script? For example, to place 10 orders with the same parameters.
globad: Hello. I am new to MT4. I have a question: Can I place several orders at the same time using an EA or a script? For instance, I want to place 10 orders with the same parameters.
Only in the tester. This is also theoretically possible on a demo or real account, but only from 10 different terminals. The reason is that the server closes (declares busy) a trade thread for other orders while processing each order and we have to wait until this very thread becomes free.
globad: Hello. I am new to MT4. I have a question: Can I place several orders at the same time using an EA or a script? Let's say, you may place 10 orders with the same parameters.
i understand they just place orders at regular intervals. i need to place all orders at the same price with pp and slots the same. at the same time i want to be able to place orders simultaneously and not one after another.
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.
Thanks because I'm already exhausted :)))))
The indicator does not show past values. Help and correct.
Programmers. Help me write an indicator to send me email if candle's body is over 50runts. I got help yesterday, but I tried it and it did not send the signal right( I need it to send a signal once the candlestick is > 50 pips and once it closes, only 1 time and that's it...
static int prevtime = 0;
int start() {
if (Time[0] == prevtime) {
return(0);
}
if ((High[0] - Low[0]) > (50.0 * Point)) {
SendMail("???? ?????? ????? ??????", "????? ?????? 50 ??????");
prevtime = Time[0];
}
return(0);
}
please help me with this error
I am writing an Expert Advisor to work on Range Bars (implemented as a looped script). However, it makes a trade and is immediately removed from the chart.
The problem is obviously in return(0), but how do I get around it? I am attaching the scripts below. They differ only in the algorithm of looping.
http://dl.dropbox.com/u/47506458/RB4 sctipt2 .mq4
http://dl.dropbox.com/u/47506458/RB4 script3.mq4
/* edited by the moderator, please insert links correctly */
I am writing an Expert Advisor to work on Range Bars (implemented as a looped script). However, it makes a trade and is immediately removed from the chart.
The problem is obviously in return(0), but how do I get around it? I am attaching the scripts below. They differ only in the algorithm of looping.
http://dl.dropbox.com/u/47506458/RB4 sctipt2 .mq4
http://dl.dropbox.com/u/47506458/RB4 script3.mq4
Hello. I am new to MT4. I have a question: Can I place several orders at the same time using an EA or a script? For instance, I want to place 10 orders with the same parameters.
Hello. I am new to MT4. I have a question: Can I place several orders at the same time using an EA or a script? Let's say, you may place 10 orders with the same parameters.
Only in the tester.
Yes, search for: Grid, Grider,