I am new to MQL4 and this is my first try of coding an indicator. I have just tuned some but not built one.
I have coded a custom indicator based on Heiken Ashi candles and two Envelopes applied to this candles. It should draw an arrow (dot) when buying or selling conditions are trigered.
I think the problem is in the iCustom functions or the iEnvelopesOnArray ones. Could someone help me understand what is going wrong?
Finally we've got an opportunity to try the new trade terminal - MetaTrader 5 . No doubt, it is noteworthy and has many new features as compared to its predecessor. The important advantages of this platform among others are: Essentially modified language allowing now to use the object-oriented programming, still allowing to use the rich...
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I am new to MQL4 and this is my first try of coding an indicator. I have just tuned some but not built one.
I have coded a custom indicator based on Heiken Ashi candles and two Envelopes applied to this candles. It should draw an arrow (dot) when buying or selling conditions are trigered.
I think the problem is in the iCustom functions or the iEnvelopesOnArray ones. Could someone help me understand what is going wrong?
Thanks you
This is the Heiken Ashi code:
And here is my custom indicator code:
Thank you a lot. I don't know what is the return of iCustom and iEnvelopesOnArray and that maybe a big problem.