Hello guys!
I need to make a modification in an indicator. Can somebody help me?
I have an indicator that generates horizontal lines in the round numbers. I'm trying to program an EA based on this indicator, but I can't get it to interact with other indicators or with price candles, etc. For example, when Price or an MA crosses the horizontal line, then an action is executed. I think that these types of indicators are only limited to drawing lines and the code is missing something to behave like any other indicator.
Can anyone modify the indicator to make it work as a normal real-time indicator?
I enclose two indicators. They are different but their function is the same.
Thank you!
I need to make a modification in an indicator. Can somebody help me?
I have an indicator that generates horizontal lines in the round numbers. I'm trying to program an EA based on this indicator, but I can't get it to interact with other indicators or with price candles, etc. For example, when Price or an MA crosses the horizontal line, then an action is executed. I think that these types of indicators are only limited to drawing lines and the code is missing something to behave like any other indicator.
Can anyone modify the indicator to make it work as a normal real-time indicator?
I enclose two indicators. They are different but their function is the same.
Thank you!
Attached File(s)
Grid_Builder.mq4
3 KB
|
116 downloads
simplehorizontalgrid.mq4
8 KB
|
133 downloads