Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

New indicator for viewing range limit periods and similar Expert Advisor Need help - Expert for MetaTrader 4

author EAcpu | 5 reads | 0 comments |

A new indicator to see the range bound period and an Expert Advisor similar need help - expert for MetaTrader 4

To find a good time to place an order, I want to find the range limit period. I think it should be a good market after the range shock. Then I wrote an indicator called RangeBoundMA. It is based on different prices between 3 SMA lines with periods of 38, 140 and 210. You can attach this to the chart and use a horizontal line at 25. You will then see that once the indicator goes below the 25 line for a certain period, the price is within the range. When the price breaks through the highest or lowest price in the range, it is the best time to place an order.

However, when I write the code into Expert Advisor, I still can't get the reason because I am very new to Expert Advisor mql4 code. Can someone help me check the code? Any questions? A reply would be greatly appreciated.


A new indicator to see the range bound period and an Expert Advisor similar need help - expert for MetaTrader 4


Attachment download

📎 Break_the_Range_Bound.mq4 (5.86 KB)

📎 RangeBoundMA.mq4 (4.84 KB)

Source: MQL5 #10712

Verification code Refresh