Skip to content

visualxl/RSI-Bands-Breaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RSI-Bands-Breaker

Objective: Trade AUD/JPY profitably. May work on other currency pairs as well.

Strategy Type: Breakout Trading

Timeframe: 1-Hour (H1) or 4-Hour (H4)

Indicators:

  1. Bollinger Bands (20 periods, 2 standard deviations)
  2. Relative Strength Index (RSI, 14 periods)
  3. Moving Average (50-period Simple Moving Average)

Entry Rules:

  1. Bollinger Bands Squeeze: Wait for the Bollinger Bands to contract significantly, indicating a period of low volatility. A squeeze must not be more than X distance defined by the user. Default to 20 pips.
  2. RSI Confirmation: When the Bollinger Bands contract, check the RSI. For long trades, the RSI should be above 50, and for short trades, the RSI should be below 50.
  3. Breakout Confirmation: Once the Bollinger Bands expand after a squeeze, place a buy order if the price breaks above the upper Bollinger Band for a long trade, or place a sell order if the price breaks below the lower Bollinger Band for a short trade.
  4. 50 SMA Confirmation: Before executing the trade, you should also confirm the direction of the 50 SMA. The 50 SMA acts as a trend filter to ensure that your trade aligns with the longer-term trend. If the 50 SMA is sloping upwards, it confirms the bullish trend for a long trade, and if it's sloping downwards, it confirms the bearish trend for a short trade.

Position Sizing: Risk no more than a predetermined percentage of your trading capital on each trade (e.g., 1-2%).

Stop-Loss and Take-Profit:

  1. Set a fixed stop-loss level just beyond the opposite Bollinger Band (opposite to your trade direction) from your entry point.
  2. Set a take-profit level based on your risk-reward ratio, typically aiming for a 2:1 or 3:1 risk-reward ratio.

Conclusion

This strategy seems to be profitable for AUD/JPY H1. However, it trades very little to get any meaningful statistics. You are free to play around with the code and see if you can modify it better.

Releases

No releases published

Packages

No packages published