MQL5 Coding Question

 

Hi, guys.. i am going to code a simple indicator for mt5, that only calculate the value of current open price to close price of the previous candle, and only put Up or Down as a Result in the chart..

Which code do i have to write ? or could you point at the library / documentation of how can i do it ? pleaseee

please bear in mind, i am new to coding..

Thank you for your help

 
r40s:

Hi, guys.. i am going to code a simple indicator for mt5, that only calculate the value of current open price to close price of the previous candle, and only put Up or Down as a Result in the chart..

Which code do i have to write ? or could you point at the library / documentation of how can i do it ? pleaseee

please bear in mind, i am new to coding..

Thank you for your help

If you are new to coding, then you should start at the beginning.   Regards.
Documentation on MQL5: Language Basics
Documentation on MQL5: Language Basics
  • www.mql5.com
The MetaQuotes Language 5 (MQL5) is an object-oriented high-level programming language intended for writing automated trading strategies, custom technical indicators for the analysis of various financial markets. It allows not only to write a variety of expert systems, designed to operate in real time, but also create their own graphical tools...
 
Jose Francisco Casado Fernandez:
If you are new to coding, then you should start at the beginning.   Regards.

Thank you for replying sir

Reason: