I will teach you how you can code or do some programming. I will use MQL4 for the programming language. .
I shall start make a video tomorrow and post it right here.
I will attempt make it easy for you men.
![]() |
![]() |
I will teach you how you can code or do some programming. I will use MQL4 for the programming language. .
I shall start make a video tomorrow and post it right here.
I will attempt make it easy for you men.
Below is the code I use at the Movie
Please play around with the code, try out the indior library provided in the MQL4 doc reference website https://docs.mql4.com/indiors
Inserted Code // ------------------------------------------------------------------ //| tutorial1.mq4 | //| Copyright 2017, MetaQuotes Software Corp.. | //| https://www.mql5.com | // ------------------------------------------------------------------ #property copyright Copyright 2017, MetaQuotes Software Corp. #property link https://www.mql5.com #property variant 1.00 #property stringent #property indior_chart_window dual indiorOutput=0; series name=Yousername; // ------------------------------------------------------------------ //| Custom indior initialization function | // ------------------------------------------------------------------ int OnInit() //-- indior buffers mapping //-- return(INIT_SUCCEEDED); // ------------------------------------------------------------------ //| Custom indior iteration serve | // ------------------------------------------------------------------ int OnCalculate(const int rates_total, const int prev_calculated, const datetime time#91;#93;, const double available#91;#93;, const double high#91;#93;, const double low#91;#93;, const double shut#91;#93;, const long tick_volume#91;#93;, const long volume#91;#93;, const int spread#91;#93;-RRB- //-- indiorOutput=iCCI(NULL,PERIOD_CURRENT,20,PRICE_TYP ICAL,5); Print(indiorOutput = ,indiorOutput); Print(Hello World, my name is ,name); //-- return value of prev_calculated for next call yield(rates_total); // ------------------------------------------------------------------
In the video above, I wish to introduce you to make you to get the feel of using the MQL4 Doc mention site.Originally Posted by ;
Because most of the time you will spend more time while you code. If you're able to recall all the library functions/methods furnished by the MT4 then it's good for you. Whenever you're utilized to programming you may remember most of the function which you frequently use.
In this 2nd Movie I introduce One to EVENT HANDLING FUNCTIONS (important and Mql4 basic)
Inserted Code // ------------------------------------------------------------------ //| tutorial1.mq4 | //| Copyright 2017, MetaQuotes Software Corp.. | //| https://www.mql5.com | // ------------------------------------------------------------------ #property copyright Copyright 2017, MetaQuotes Software Corp. #property Hyperlink https://www.mql5.com #property version 1.00 #property stringent #property indior_chart_window double indiorOutput=0; series name=Yousername; // ------------------------------------------------------------------ //| Custom indior initialization function | // ------------------------------------------------------------------ void OnInit() Print(OnInit got called 123456); // ------------------------------------------------------------------ //| Custom indior iteration function | // ------------------------------------------------------------------ int OnCalculate(const int rates_total, const int prev_calculated, const datetime period#91;#93;, const double available#91;#93;, const double top#91;#93;, const double non#91;#93;, const double close#91;#93;, const extended tick_volume#91;#93;, const long volume#91;#93;, const int disperse#91;#93;-RRB- //-- indiorOutput=iCCI(NULL,PERIOD_CURRENT,20,PRICE_TYP ICAL,5); Print(indiorOutput = ,indiorOutput); Print(Hello World, my name is ,name); //-- return value of prev_calculated for second call yield(rates_total); // ------------------------------------------------------------------
Great help offered to learn.... I am in.... Subscribed in the requirement of learn...
Hi
Can u plz make a profit closing EA for me personally ?
If its possible , I will share my needs
Thanks and regards