Think I have found my own answer. hopefully useful for someone else.
https://www.mql5.com/en/articles/31
Thanks
Rob
![MQL5 for Newbies: Guide to Using Technical Indicators in Expert Advisors MQL5 for Newbies: Guide to Using Technical Indicators in Expert Advisors](https://c.mql5.com/36/1/mql5-for-newbies-guide-to-using.png)
MQL5 for Newbies: Guide to Using Technical Indicators in Expert Advisors
- 2010.03.18
- Sergey Pavlov
- www.mql5.com
In order to obtain values of a built-in or custom indicator in an Expert Advisor, first its handle should be created using the corresponding function. Examples in the article show how to use this or that technical indicator while creating your own programs. The article describes indicators that are built n the MQL5 language. It is intended for those who don't have much experience in the development of trading strategies and offers simple and clear ways of working with indicators using the offered library of functions.
RobLangley:
Think I have found my own answer. hopefully useful for someone else.
https://www.mql5.com/en/articles/31
Thanks
Rob
![](https://c.mql5.com/3/25/clapping.gif)
This article : Step-By-Step Guide to writing an Expert Advisor in MQL5 for Beginners is also good for beginning.
Good luck.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi
I have wrote a few simple EA and have them running on a demo account. I now want to use the indicator Williams Fractals, I see the function iFractal, but note this is described as an indicator and the example uses onCalculate which is triggered by an indicator.
Is there a difference when coding for an EA compared to an Indicator? can I utilise pre built indicators in my EA code? Or is an Indicator different when coding?
Its just when I create a project I have to specify EA, Indicator or Script. Are these just wizards and I can utilise all code in my EA?
Thanks In Advance
Rob