Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)
Can someone please check the code to know while this indicator is not displaying on the terminal even when the called indicator "TMA+CG mladen NRP" is present in the indicator file . Thanks in advance
Hi! Here's the finished file, everything works fine for me.
The trendTMACGLWMA.mq4 indicator code (file 1) won't work without the TMA+CG mladen NRP.ex4 file in the indicators folder.
Here's why:
iCustom function: Your code uses the iCustom(..., "TMA+CG mladen NRP", ...) function. This command literally tells the terminal: "Find a file named 'TMA+CG mladen NRP' and ask it for its value."
Lack of math: File 1 itself doesn't contain formulas for calculating the TMA channel. It relies entirely on calculations from an external file.
If the file is missing: The iCustom function will return 0 or an error. As a result, your indicator will either not draw anything at all or will show incorrect signals (since it will compare the moving average to zero).
This is simply a "shell" that draws arrows/histograms. The "brains" and calculations are in the second file. They should be in the same folder.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.