Indicator within an EA
The indicators I see are only within an Indicator. Can you have an indicator within an EA and, if so, how do you set up the buffers? Also how does the EA code sense the indicator signals?
- Custom indicator color
- Big changes for MT4, in a few weeks
- Find the easy code's mistake ,Why i have define buffer,and give the value ,but i can't get the value,why
You can access an indicator's data with iCustom.
An EA doesn't have buffers, so if you want to write the indicator code into an EA's code, you will have to use arrays.
Don't do that. Just get the value of the indicator.
Detailed explanation of iCustom - MQL4 forum
WHRoeder:
Don't do that. Just get the value of the indicator. Detailed explanation of iCustom - MQL4 forum
Don't do that. Just get the value of the indicator. Detailed explanation of iCustom - MQL4 forum
Thank You.