• Chart
  • Markets
  • News
  • Screeners
  • Community
  • More
Get started
Scripts

SOS

Trading Ideas 3
Scripts 1

Indicators, Strategies and Libraries

All Types
All Types
Indicators
Strategies
Libraries
Open Sources Only
Emulating binary operations and several values in one variable
AAPL: Emulating binary operations and several values in one variable
MichelT MichelT

Binary operations and storing several numbers in one variable. It's useful when you need to pass a values numbers to another study. Study-on-study (SOS) in Tradingview allows passing only one value, which is not always convinient. So if we put all those numbers in one - we can pass more values from one study to another. In Pine we can use up to 52 bits for our...

44
11

Products
  • Chart
  • Pine Script
  • Stock Screener
  • Forex Screener
  • Crypto Screener
  • Stock Heatmap
  • Crypto Heatmap
  • Economic Calendar
  • Earnings Calendar
  • Sparks
  • Snaps
  • Breaking news
  • TradingView Desktop
Company
  • About
  • Features
  • Pricing
  • Wall of Love
  • Blog
  • Careers
  • Security vulnerability
  • Status page
  • Terms of use
  • Disclaimer
  • Privacy policy
  • Cookies policy
Community
  • Refer a friend
  • Ideas
  • Scripts
  • House rules
  • Moderators
  • Pine Wizards
  • Chat
For business
  • Widgets
  • Advertising
  • Website & broker solutions
  • Charting solutions
  • Lightweight Charting Library
  • Brokerage integration
  • Partner program
  • Content streams & RSS
Download on the App Store Download on the App Store Get it on Google Play Get it on Google Play
Download Desktop app Download Desktop app
Select market data provided by ICE Data Services © 2022 TradingView