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

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

author EAcpu | 5 reads | 0 comments |

Constant Range Detector - indicator for MetaTrader 4

Constant Range Detector - indicator for MetaTrader 4

Constant Range Detector - indicator for MetaTrader 4

Constant Range Detector - indicator for MetaTrader 4

Constant Range Detector - indicator for MetaTrader 4

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)

Constant Range Detector - indicator for MetaTrader 4

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)

Constant Range Detector - indicator for MetaTrader 4

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

Verification code Refresh