swagato25

W and M Pattern Indicator- SwaG

swagato25 Uppdaterad   
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! 😊
Versionsinformation:
*fix
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?