- Help Accessing Indicator Values in MQL5
- Adding and Reading Indicator value from Indicator Windows
- Calling on a custom indicator?
You don't. You add a buffer and populate it with the SMA. Learn to code.
I am currently making an EA based off my own strategy, in my strategy I have an indicator called the RSO. I can get two signals from it, one from the RSO line itself but the other is from adding a separate SMA to the RSO and looking for a cross (adding the SMA to the first indicators data). How do I save that combined indicator from my mt4 as a MLQ4 source file
It can be done. But one of 2 different indicators
#property indicator_separate_window
the other is
#property indicator_chart_window
or vice versa, you can take one as the basis and do the other with an object, not ARROW, but ARROW.
It can be done. But one of 2 different indicators
#property indicator_separate_window
the other is
#property indicator_chart_window
or vice versa, you can take one as the basis and do the other with an object, not ARROW, but ARROW.
Hey William. I have been messing around with the code and have partly got it. I am now facing an issue since my coded addition with a populated buffer looks different to dragging it onto the indicator on mt4 could you help me out please.
The indicator above is what It should look like, the indicator below is with the populated buffer (as you can see the MA line for the populated buffer one will not go below zero either)
(Attached the image as it isn't showing when pasted)- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use