OPEN-SOURCE SCRIPT

W and M Pattern Indicator- SwaG

업데이트됨
This is a TradingView indicator script that identifies potential buy and sell signals based on ‘W’ and ‘M’ patterns in the Relative Strength Index (RSI). It provides visual alerts and draws horizontal lines to indicate potential trade entry points.

User Manual:

Inputs: The script takes two inputs - an upper limit and a lower limit. The default values are 70 and 40, respectively.

RSI Calculation: The script calculates the RSI based on the closing prices of the last 14 periods.

Pattern Identification: It identifies ‘W’ patterns when the RSI makes a higher low within the lower limit, and ‘M’ patterns when the RSI makes a lower high within the upper limit.

Visual Alerts: The script plots these patterns on the chart. ‘W’ patterns are marked with small green triangles below the bars, and ‘M’ patterns are marked with small red triangles above the bars.

Trade Entry Points: A horizontal line is drawn at the high or low of the candle to represent potential trade entry points. The line starts from one bar to the left and extends 10 bars to the right.

Trading Strategy:

  • For investing, use a weekly timeframe.
  • For swing trading, use a daily timeframe.
  • For intraday trading, use a 5 or 15-minute timeframe. Only consider sell-side signals for intraday trading.
  • Take a buy position if the high breaks above the green line or sell if the low breaks below the red line.
  • Use recent signals only and avoid signals that are too old.
  • Swing highs or lows will be your stop-loss level.
  • Always think about your stop-loss before entering a trade, not your target.
  • Avoid trades with a large stop-loss.

Remember, this script is a tool to aid in your trading decisions. Always test your strategies thoroughly before live trading. Happy trading! 😊
릴리즈 노트
*fix
Relative Strength Index (RSI)

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항