Join our fan page
RSI and Bollinger Bands - expert for MetaTrader 5
- Published by:
- Vladimir Karputov
- Views:
- 16153
- Rating:
- Published:
- 2017.05.29 16:13
- Updated:
- 2018.06.26 14:33
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Author of the idea — Anton, author of the MQL5 code — barabashkakvn.
A trading strategy based on RSI and Bollinger Bands. Bollinger Bands is calculated using the RSI indicator handle. Trailing stop is determined using the SAR indicator (Parabolic SAR).
- RSI breaks the upper Bollinger Band.
- The price must be below the fractal level.
- A buy signal is generated when the price breaks through the fractal level.
- A position is trailed based on Parabolic values.
- Canceling a deal — if an order has not yet triggered, and RSI moved below the level of 30, a buy order should be deleted.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/18255
An Expert Advisor for 4 currency pairs, including EURUSD, GBPUSD, USDCHF and USDJPY. It is based on four-hour moving averages.
OscSAR_HistogramThe oscillator is drawn as a colored histogram based on the difference between the Close price and the iSAR indicator, expressed in points.
All information about the current symbol (information from the CSymbolInfo class object is used) represented as a dialog panel.
Size of candles (text)The size of a candlestick. The size is calculated by the following formula: "minuend" minus "deduction".