MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading and Strategy Testing Forum

Hundreds of Forex Robots from MetaTrader Market at Your Service
To add comments, please log in or register
Does your signal already have a lot of of subscribers? It's time to think about the paid subscription!
MetaQuotes Software Corp.
142234
MetaQuotes 2010.03.03 14:40

New article Custom Indicators in MQL5 for Newbies is published:

Any new subject seems complicated and hard-to-learn for a newbie. Subjects that we know seem very simple and clear to us. But we simply do not remember, that everyone has to study something from scratch, and even our native language. The same is with the MQL5 programming language that offers wide possibilities of developing one's own trading strategies - you can start learning it from basic notions and simplest examples. Interaction of a technical indicator with the MetaTrader 5 client terminal is consider in this article on the example of the simple custom indicator SMA.

Author: Nikolay Kositsin

S&P 500 TECHNICAL ANALYSIS
S&P 500 TECHNICAL ANALYSIS
Prices broke above the 38.2% Fibonacci expansion at 1963.70, exposing the 1985.30-91.40 area marked by the 50% level and the July 24 high. A further push beyond that aims for channel floor support-turned-resistance at 1999.10. Alternatively, a turn back below at 1963.70 targets the 23.6% Fib at 1937.10. By the way, The S&P 500 advanced 9.86...
antonio
79
supermagix 2010.03.03 22:20

 Very interesting article for those who start..... I hope that others as this.... thanks

ts_
8
ts_ 2010.03.18 02:53
thank you. very clear explanation for newbie like me. waiting for next article ...

OldZ
52
OldZ 2010.05.12 06:17

Thank you.It is very clear and useful for beginners.

 

okwh
295
DxdCn 2010.08.22 08:02

  if(prev_calculated==0) // check for the first start of the indicator
      first=MAPeriod-1+begin; // start index for all the bars
   else first=prev_calculated-1; // start index for the new bars

when  first=MAPeriod-1+begin;     which is current bar ?  [0] or [rates_total] ?

 when  first=prev_calculated-1;   it is a large number, need repeat calculate ? 

 

locan.BBS
193
locan.BBS 2012.06.06 18:02
In the article " Custom Indicators in MQL5 for Newbies" it is said, "It's better to use the increasing order [rather than "reverse order"] in indicators." But if the program runs on and on, it would eventually tend toward infinity, i.e. the (integer) buffer for the index numbers would soon run over, wouldn't it? How do you handle this?
Custom Indicators in MQL5 for Newbies
  • 2010.03.03
  • Nikolay Kositsin
  • www.mql5.com
Any new subject seems complicated and hard-to-learn for a newbie. Subjects that we know seem very simple and clear to us. But we simply do not remember, that everyone has to study something from scratch, and even our native language. The same is with the MQL5 programming language that offers wide possibilities of developing one's own trading strategies - you can start learning it from basic notions and simplest examples. Interaction of a technical indicator with the MetaTrader 5 client terminal is consider in this article on the example of the simple custom indicator SMA.
/
To add comments, please log in or register