Constant Range Detector - MetaTrader 4 Script - MQL5 #10779 - MT4/MT5 Resources





Notes: This indicator is designed to work with constant range charts: range bars or brick boxes, non-standard candles - bars
Constant range (CR): CR 50
LCrudeAug12: 79.58 high - 79.08 low (random candle data chosen for illustration)

Notes: Please note that for 3-digit and 5-digit pricing, the data window will return a 15-point high-low discount of 150, a 20-point low of 200, etc.
Constant range plot: CR 10
WTI - Oil: 200 LWMA - Williams Aligator (click on chart to enlarge)
You can get the selling price - buying price + spread indicator in the chart above
//for (int i = 0; i <= limit; i++ integer i;
//for (int i = 0; i < Bars; i++){
ObjectDelete("CRD");
//Object delete("name");Attachment download
📎 Constant_Range_Detector-rev1.mq4 (2.22 KB)
Source: MQL5 #10779
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •