A new indicator to see the range bound period and an Expert Advisor similar need help

0
(0)
Name:
A new indicator to see the range bound period and an Expert Advisor similar need help
Author: heyigeng (2013.05.27 07:29)
Downloaded: 1149
Download:
A new indicator to see the range bound period and an Expert Advisor similar need help 1
 RangeBoundMA.mq4 (4.8 Kb) View
A new indicator to see the range bound period and an Expert Advisor similar need help 1 Break the Range Bound.mq4 (5.9 Kb) View
Hi everyone,

For searching the good time to place order, I'd like to find the range bound period. In my opinion, it should be a good market after the range bound. Then I wrote the indicator named RangeBoundMA. It based on the different prices among the 3 SMA lines that the periods are 38, 140 and 210. You can attach it to your chart with a horizontal line as 25. Then you'll see once the indicator under the 25 line in some period, the prices are in the range bound. When the price breaks the highest or lowest price during the range bound, it is the just time to place order.

However, when I wrote the code into an Expert Advisor, it is always false that I can't get the reason because I am still new to Expert Advisor mql4 code. Would someone please help me to check the code? What wrong is it? Will greatly appreciated if reply.

A new indicator to see the range bound period and an Expert Advisor similar need help 3

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?



Author: Forex Wiki Team
We are a team of highly experienced Forex Traders [2000-2023] who are dedicated to living life on our own terms. Our primary objective is to attain financial independence and freedom, and we have pursued self-education and gained extensive experience in the Forex market as our means to achieve a self-sustainable lifestyle.