I need an EA which would place positions in both directions (e.g. Bay Stop and Sell Limit) at a given distance from the market, taking into account the spread. This would have the possibility to enable trawl while the positions are not in the market, and to switch to Breakeven after opening. And if there is an option to enable/disable automatic opening of positions after closing the previous ones, it would be great.
Help me write an indicator to send a message to my email when a candle with a body over 50 pips appears. Both up and down! I tried to write but my messages are sent all the time, how to write only 1 message after the candle closes? Help plz really need, for you it is nothing!
Bodiu: Please help me write an indicator which sends messages to email when there is a candle with more than 50 pips body. As up and down! I tried to write but my messages are sent all the time, how to write only 1 message after the close of the candle? Help plz really need, for you it is nothing!
start at the beginning of the function:
int start()
{
staticint per;
if (per== Time[0]) return;
per = Time[0];
this code checks if the bar is new; if it is still old, it exits the function.
then we check penultimate closed bar (index 1) and send it to email
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.
Hello!
How about this system Turtles trading strategy?
Please help me write an indicator which sends messages to email when there is a candle with more than 50 pips body. As up and down! I tried to write but my messages are sent all the time, how to write only 1 message after the close of the candle? Help plz really need, for you it is nothing!
start at the beginning of the function:
this code checks if the bar is new; if it is still old, it exits the function.
then we check penultimate closed bar (index 1) and send it to email
I think I have a good strategy.
This thread is being closed because it is not fulfilling its function.
Please write to the author of the thread(https://www.mql5.com/ru/users/juravlev/) as soon as possible.
All new posts will be deleted without warning.