Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
Thank you very much for your quick reply. I found an EA called MailAlertOnOrderClose.mq4 which I have downloaded from forexfactory Forum and I am attaching it for your reference. I tried it just now by applying it on another chart of the same currency of my original EA and it is working but it gives me an alert on close of the trade only. Is there a possibility that it can be modified so that it gives alert for both open and close.
Or if you have any other EA or script which can do this, I shall be really greatful. I really appreciate your time.
Thank you very much for your quick reply. I found an EA called MailAlertOnOrderClose.mq4 which I have downloaded from forexfactory Forum and I am attaching it for your reference. I tried it just now by applying it on another chart of the same currency of my original EA and it is working but it gives me an alert on close of the trade only. Is there a possibility that it can be modified so that it gives alert for both open and close.
Or if you have any other EA or script which can do this, I shall be really greatful. I really appreciate your time.
Thanks
Sophia
I'm busy with paying clients at the moment but you can do it yourself with a little bit of effort. Use the link in my sig to learn the basics and then help file and looking at other EA's should help you with the rest.
Thank You Very Much!
I hope you understand being a newbie I do not have enough confidence right now whether I will be able to do it or not. I appreciate you for encouraging me to try myself. I shall spend some time and try to figure out and if I will be able to do it I shall surely Send you a Thank you again or else I might trouble you if I am stuck anywhere. I hope you won't mind. And sure I do understand you need to prioritize the paid customer. I appreciate your professionalism.
Hi! Lux
When I am trying to apply for the free e course at the link given by you, a GetResponse window appears which says "This account has expire limits. Please contact owner of this campaign."
Well, I'm really new - started trying to write a 'learning' EA before I new there was a course - I've got one working, using some indicators etc. But, I must be making something much too hard..... This is what I want: int elapsedTimeInSeconds = ElapsedTime(datetime dateTime1, datetime dateTime2);
Well, heading off to look at the course....
I think I found my own answer in the date-time lesson. It assures that the time is in seconds since (some date in the past), so a simple subtraction will work. So, int elapsedTime = ElapsedTime (datetime dateTime1, datetime dateTime2) { int elapsedTime = dateTime1 -dateTime2; return(elapsedTime); } should give the results I'd like. I'll do some prints and see what I'm getting, as it doesn't seem right.
One question:
is coding
{
OrderModify (OrderTicket(), OrderOpenPrice(), Bid - Point * TrailingStop, OrderTakeProfit(), 0, Green);
return(0);
}
same as coding
{
OrderModify (OrderTicket(), OrderOpenPrice(), Bid - TrailingStop * Point, OrderTakeProfit(), 0, Green);
return(0);
}
???
Does MQL calculates by written order or by mathematic logic - product (*) and divide (/) has priority before + and -?
One question:
is coding
{
OrderModify (OrderTicket(), OrderOpenPrice(), Bid - Point * TrailingStop, OrderTakeProfit(), 0, Green);
return(0);
}
same as coding
{
OrderModify (OrderTicket(), OrderOpenPrice(), Bid - TrailingStop * Point, OrderTakeProfit(), 0, Green);
return(0);
}
???
Does MQL calculates by written order or by mathematic logic - product (*) and divide (/) has priority before + and -?
Thank you,
Have fun,
Simon
If you are not sure you can allways code like this:
__________________
You need proffesional mql coder? Contact me! I will help you!
........................................ http://www.fxservice.eu/
........................................