• Products
  • Community
  • Markets
  • Brokers
  • More
Get started
  • Community
  • /
  • /Sandbox

Sandbox

Multi MA MTF SandBox StrategyA moving averages SandBox strategy where you can experiment using two different moving averages (like KAMA, ALMA, HMA, JMA, VAMA and more) on different time frames to generate BUY and SELL signals, when they cross. Great sandbox for experimenting with different moving averages and different time frames. == How to use == We select two types of moving averages on two different time frames (or the same time frame): First is the FAST moving average that should be at the same time frame or higher. Second is the SLOW moving average that should be on the same time frame or higher. == Buy and Sell Signals == When FAST moving average cross over the SLOW moving average we have a BUY signal (for LONG) When FAST moving average cross under the SLOW moving average we have a SELL signal (for SHORT) WARNING: Using a lower time frame than your chart time frame will result in unrealistic results in your backtesting and bar replay. == NOTES == You can select BOTH, LONG, SHORT or NONE in the strategy settings. You can also enable Stop Loss and Take Profit. More sandboxes to come, Follow to get notified. Like if you like and Enjoy! Can also act as indicator by setting 'What trades should be taken' to 'NONE':
Pine Script® strategy
by dman103
Updated Jul 22, 2022
66

Select market data provided by ICE Data services. Select reference data provided by FactSet. Copyright © 2025 FactSet Research Systems Inc.© 2025 TradingView, Inc.

More than a product
  • Supercharts
Screeners
  • Stocks
  • ETFs
  • Bonds
  • Crypto coins
  • Crypto pairs
  • 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
Ideas
  • Trading
  • Education
  • Editors' picks
Pine Script
  • Indicators & strategies
  • Wizards
  • Freelancers
Tools & subscriptions
  • Features
  • Pricing
  • Market data
Special offers
  • CME Group futures
  • Eurex futures
  • US stocks bundle
About company
  • Who we are
  • Manifesto
  • Athletes
  • 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 vulnerability
  • 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
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