Bollinger RSI Average Strategy by MasayanFX
By MasayanFX
Performance Metrics
- Author: MasayanFX
- Symbol: FX:USDJPY
- Timeframe: 5 minutes
- Net P&L: −3.63 JPY (0.00%)
- Win Rate: 36.6%
- Profit Factor: 0.558
- Max Drawdown: 4.44 JPY (0.00%)
- Total Trades: 41
Description
Bollinger RSI Average Strategy is a time-filtered backtesting script inspired by an MT4/MT5 expert advisor logic.The strategy uses two different trading models depending on the MT4/MT5 server time. During the countertrend session, it uses Bollinger Bands and RSI extremes to test reversal-style entries. Outside that session, it switches to a trend-following approach based on a short SMA and long SMA crossover confirmation.The default settings are designed around USDJPY on the 5-minute chart, using a 50-period short SMA, 200-period long SMA, 70-period Bollinger Bands, 1.0 deviation, and a 14-period RSI with 70/30 threshold levels.The time filter is based on the MT4/MT5 server time setting. The default server timezone is Europe/Nicosia, which reflects GMT+2/GMT+3 daylight saving time behavior, while the display reference timezone is set to Asia/Tokyo by default.Entry overview:Long entries may occur during the countertrend session when price closes below the lower Bollinger Band and RSI is below the lower threshold.Short entries may occur during the countertrend session when price closes above the upper Bollinger Band and RSI is above the upper threshold.Long entries may occur outside the countertrend session when the short SMA crosses above the long SMA.Short entries may occur outside the countertrend session when the short SMA crosses below the long SMA.The strategy version includes approximate stop loss and take profit price-distance settings for TradingView Strategy Tester. Broker-specific execution details such as spread, slippage, order rejection, margin checks, lot handling, and MT4/MT5 magic number management are not replicated.This script is intended for chart analysis, backtesting support, research, and educational purposes only.It does not guarantee future performance and should not be considered financial advice.Please test carefully before using it in any trading decision.