• Products
  • Community
  • Markets
  • Brokers
  • More
Get started
  • Indicators and strategies
  • /Buysginal

Buysginal

WN 5-20-50 SMA Setup (Discrete Lines = SL TP) Multiple Entries Pretty Simple Script as I got this idea from a YouTuber that showed us how to use AI to make TradingView Indicators. When the 5 day Simple Moving Average Goes Above the 20 day Simple Moving Average it issues a BUY Signal when the Trend itself is over the 50 day Simple Moving Average. When the 5 day Simple Moving Average Goes Below the 20 day Simple Moving Average it issues a SELL Signal when the Trend itself is under the 50 day Simple Moving Average. The Green Cloud Represents price over the 50 day Simple Moving Average. BUY signals will only show up in the green cloud. The Red Cloud Represents price under the 50 day Simple Moving Average. SELL signals will only show up in the green cloud. The lines represent Stop Loss and two Take Profit Levels. Take Profit 1 is 1.5x the stop loss and Take Profit 2 is 3x the Stop Loss. This version of the Script has multiple Trend signals for entries so you can scale into a trade when the Trend is being aggressive.
Pine Script® indicator
by wnoor0304

Select market data provided by ICE Data Services. Select reference data provided by FactSet. Copyright © 2025 FactSet Research Systems Inc.Copyright © 2025, American Bankers Association. CUSIP Database provided by FactSet Research Systems Inc. All rights reserved. SEC fillings and other documents provided by Quartr.© 2025 TradingView, Inc.

More than a product
  • Supercharts
Screeners
  • Stocks
  • ETFs
  • Bonds
  • Crypto coins
  • CEX pairs
  • DEX pairs
  • Pine
Heatmaps
  • Stocks
  • ETFs
  • Crypto
Calendars
  • Economic
  • Earnings
  • Dividends
More products
  • Yield Curves
  • Options
  • News Flow
  • Pine Script®
Apps
  • Mobile
  • Desktop
Community
  • Social network
  • Wall of Love
  • Refer a friend
  • House Rules
  • Moderators
  • Space recap 2025
Ideas
  • Trading
  • Education
  • Editors' picks
Pine Script
  • Indicators & strategies
  • Wizards
  • Freelancers
Tools & subscriptions
  • Features
  • Pricing
  • Market data
  • Gift plans
Trading
  • Overview
  • Brokers
Special offers
  • CME Group futures
  • Eurex futures
  • US stocks bundle
About company
  • Who we are
  • Space mission
  • Blog
  • Careers
  • Media kit
Merch
  • TradingView store
  • Tarot cards for traders
  • The C63 TradeTime
Policies & security
  • Terms of Use
  • Disclaimer
  • Privacy Policy
  • Cookies Policy
  • Accessibility Statement
  • Security tips
  • Bug Bounty program
  • Status page
Business solutions
  • Widgets
  • Charting libraries
  • Lightweight Charts™
  • Advanced Charts
  • Trading Platform
Growth opportunities
  • Advertising
  • Brokerage integration
  • Partner program
  • Education program
Community
  • Social network
  • Wall of Love
  • Refer a friend
  • House Rules
  • Moderators
  • Space recap 2025
Ideas
  • Trading
  • Education
  • Editors' picks
Pine Script
  • Indicators & strategies
  • Wizards
  • Freelancers
Business solutions
  • Widgets
  • Charting libraries
  • Lightweight Charts™
  • Advanced Charts
  • Trading Platform
Growth opportunities
  • Advertising
  • Brokerage integration
  • Partner program
  • Education program
Look FirstLook First