MQL4 COURSE By Coders’ g u ru w w w . f orex -t sd. c om
-1- E --------------------
e to the MQL4 course. I n thi s seri es, I w i ll try to stri p the my sti q ue a n d con f usi on f rom MQL4 b y g i v i n g y ou comp rehen si v e tutori a ls w i th a stra i g ht f orw a rd ex a mp le.
I n thi s seri es of lesson s, I w i ll show y ou how to use the MQL4 f or b ui ld i n g y our ow n E x p ert Ad v i sors, C ustom I n d i ca tors a n d S cri p ts.
I f y ou a re p rog ra mmi n g i n C (or i ts sup erset C + + ) then y ou k n ow a lot of MQL4 b ef ore ev en I sta rt my lesson s, i f y ou d i d n ’ t w ri te i n a n y p rog ra mmi n g la n g ua g e b ef ore, n o p rob lem, I ’ ll g ui d e y ou to un d ersta n d the con cep t of p rog ra mmi n g i n g en era l a s w ell.
S o, let’ s sta rt f rom the b eg i n n i n g .
MQL4? What, Why an d Whe r e ?
MQL4 sta n d s f or Meta Quotes La n g ua g e 4. Meta Quotes i s p a n y w ho b ui lt the Meta Tra d er Tra d i n g P la tf orm. An d to ma k e i t stron g er tha n the other tra d i n g p la tf orms p a n y ex ten d ed i t b y a b ui lt-i n p rog ra mmi n g la n g ua g e tha t en a b les the user (y ou) to w ri te hi s ow n tra d i n g stra teg i es.
The la n g ua g e en a b les y ou to crea te on e of the f ollow i n g :
1- E x p ert Ad v i sors. 2- C ustom I n d i ca tors. 3- S cri p ts.
• E x p ert Ad v i sor i s a p rog ra m w hi ch ca n a utoma te tra d i n g d ea ls f or y ou. F or ex a mp le i t ca n a utoma te y our ma rk et ord ers, stop s ord ers a utoma ti ca lly , ca n cels/ rep la ces ord ers a n d ta k es y our p rof i t.
• C ustom I n d i ca tor i s a p rog ra m w hi ch en a b les y ou to use the f un cti on s of the techn i ca l i n d i ca tors a n d i t ca n n ot a utoma te y our d ea ls. • S cri p t i s a p rog ra m d esi g n ed f or si n g le f un cti on ex ecuti on . U n li k e the Ad v i sor, scr