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

RSI Custom Smoothing - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

RSI Custom Smoothing - indicator for MetaTrader 5

The following settings are now available as input parameters:

RSI Custom Smoothing - indicator for MetaTrader 5

What is the purpose of the above update: It is now possible to manage indicator levels and colors in Expert Advisor. This feature is particularly useful during visual testing. For example, set non-standard levels in the EA: 35 and 75. When using RSI custom smoothing in visual test mode, the 35 and 75 levels will be displayed on the chart.

Added indicator buffer smoothing. Smoothing is performed by a simple averaging method with period 6.

Example of creating indicator handle in EA:

 //--- Create a handle to the iRSI indicator handle_icustom= custom (m_symbol.Name(), Period (), “RSI custom smoothing” ,Inp_RSI_Period,
                          Inp_RSI_Color, Inp_RSI_Width, Inp_RSI_Level1, Inp_RSI_Level2); //--- if the handle is not created if (handle_iCustom== INVALID_HANDLE )
    {
//--- Inform of failure and output error code printing format ( "Unable to create handle of iRSI indicator for symbol %s/%s, error code %d" ,
                  m_symbol.Name(),
Enumeration to string ( period ()),
getLastError ());
//--- The indicator stops returning early ( initialization failed );
    }


Attachment download

📎 rsi_custom_smoothing.mq5 (10.41 KB)

Source: MQL5 #23156

Verification code Refresh