Description

4MA+RSI robot is a medium-tem trend trading robot using in its operations the following indicators: 18ЕМА, 28 ЕМА, 5WMA, 12WMA, RSI 21. 18ЕМА and 28ЕМА are two red lines which form a tunnel, thus helping to determine the beginning and the end of a long-term trend. 5WMA and 12WMA show the end of the trend and assist in determining the strength of a short-term trend. Recommended timeframe: H1, Currency pair: EUR/USD.

Expert adviser logic

Entry signals:
Buy: 5WMA and 12WMA cross the red tunnel up. The signal is stronger, if 5 WMA also crosses 12 WMA. RSI must be higher than 50.
Sell: 5WMA and 12WMA cross the red tunnel down. The signal is stronger, if 5 WMA also crosses 12 WMA. RSI must be lower than 50.
Exit rules:
The signals showing the end of the trend by which we trade:
Buy – the price reaches the tunnel top and 5WMA goes below 12WMA, close the position.
Sell – the price reaches the tunnel bottom and 5WMA goes above 12WMA, close the position.

Balance graph

Input parameters

Vol – volume of position to open
MA_price1 – prices to build Moving Average 1 MA_period1 – period of Moving Average 1
MAType1 – type of Moving Average 1
MA_price2 – prices to build Moving Average 2 MA_period2 – period of Moving Average 2
MAType2 – type of Moving Average 2
MA_price3 – prices to build Moving Average 3 MA_period3 – period of Moving Average 3
MAType3 – type of Moving Average 3
MA_price4 – prices to build Moving Average 4 MA_period4 – period of Moving Average 4
MAType4 – type of Moving Average 4
RSI_price – prices to build RSI
RSI_period – RSI period
Trading parameters are set depending on the market situation.