Use external indicator signal in my EA to open buy or sell orders

 


I have an indicator that I bought that indicates times to buy and to sell in forex assets, I want to develop an EA that uses the sign of that indicator to carry out its operations. It is possible? if so, how? can anyone help?
 
Yuri Royer:


I have an indicator that I bought that indicates times to buy and to sell in forex assets, I want to develop an EA that uses the sign of that indicator to carry out its operations. It is possible? if so, how? can anyone help?

Hi, 

Use iCustom() to get the indicator output.

 
jacques366 :

Hi,

Use iCustom () to get an indicator output.

But I only have the .ex4 file. Can I use iCustom?
 

Write iCustom in your EA and press F1 - you should see it.

Beside that this might help you: https://docs.mql4.com/function_indices

List of MQL4 Functions - MQL4 Reference
List of MQL4 Functions - MQL4 Reference
  • docs.mql4.com
Reads from the file of the CSV type a string of one of the formats: "YYYY.MM.DD HH:MM:SS", "YYYY.MM.DD" or "HH:MM:SS" - and converts it into a datetime value
 
Yuri Royer:

English only in the forum please.