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.
With you Coders' Guru , your MQL4 trainer for the the next few months.
Welcome to the MQL4 course. In this series, I will try to strip the mystique and confusion from MQL4 by giving you comprehensive tutorials with a straight forward example.
In this series of lessons, I will show you how to use the MQL4 for building your own Expert Advisors, Custom Indicators and Scripts.
...............
To read more please download my first lesson.
See u
Coders' Guru
Hi Guru,
Amazing course...thank you so much for your generosity.
What stifles me is the basic concept of what happens when an indicator or EA runs....what happens first...does it run for each bar...and does it rerun for each new finished bar ?
Also, how does one do 'tick at a time' data checks when using daily or hourly close/high/low prices ? (hope this makes sense).
please explain why it is safe to use such code? out of habit I normally code these things like:
for (int i=total-1;i>=0;i--) {
OrderSelect(i,...);
...
OrderClose(...);
...
}
but I am new to writing EAs so please explain why your code is correct. I mean, what am I missing? Thanks.
also, ps.. I think there is a typo in your part-2-lesson14.pdf... it says "sort EMA", should be "short EMA". I think it was in that pdf that I read this error.
Can you please have a look at my EA and tell or help me fix this problem. It places to much orders at a time. I think the looping is wrong but where? If added the orderscnt()<MaxTrades code but does not seem to work. Your experience will see the mistake is seconds. i want the EA to place only the requested amount of orders in a selected time. Currently the EA place trades as long as the code is true with in a spesific time.
It's been said before, but I just stumbled across this thread after looking for a decent tutorial in writing this most "potentially profitable" of codes. Your work is fantastic, and we are grateful for your efforts!!!
I'd just like to say thank you so much for this tutorial. It is clear and concise.
I also love your writing style! I can tell english is not your first language, but you are so very precise with your words that your grammar is different, not wrong.