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

Rj_SlidingRangeRj_Digit_System - MetaTrader 5 script

author EAcpu | 3 reads | 0 comments |

Rj_SlidingRangeRj_Digit_System - indicator for MetaTrader 5

The indicator draws candles beyond the Rj_SlidingRangeRj_Digit channel. Candlesticks outside the channel limits are color-coded according to trend. Trend candles have a bright fill color and countertrend candles have a dark fill color.

The indicator algorithm is able to individually configure everything related to its upper and lower boundaries.

 //+--------------------------------------------------------+
//| Indicator input |
//+--------------------------------------------------------+
Input unit upward calculation period range = 5 ; //Search for high point period
Input unit UpCalcPeriodShift= 0 ; //High level shift period
Input unit upward digit = 2 ; //Number of decimal places for high rounding
//----
Input unit DnCalcPeriodRange= 5 ; //Search for low period
Input unit DnCalcPeriodShift= 0 ; //Low level conversion period
Input unit Dn number = 2 ; //Number of decimal places for low rounding
//----
Input integer shift = 0 ; // indicator moves horizontally (in bars)

Rj_SlidingRangeRj_Digit_System - indicator for MetaTrader 5

Figure 1. Rj_SlidingRangeRj_Digit_System indicator


Attachment download

📎 rj_slidingrangerj_digit_system.mq5 (19.91 KB)

Source: MQL5 #21513

Verification code Refresh