Get started
  • Help Center
  • /Pine Script™
  • /Script or strate…

Script or strategy makes incorrect calculations

  • Script or strategy gives different results after refreshing the page (repainting)
  • I've successfully added a strategy to my chart, but it doesn't generate orders
  • Strategy produces unrealistic results on non-standard chart types (Heikin Ashi, Renko, etc.)
  • I've added a script from the Community Scripts, and it is calculated incorrectly and/or I don't understand how it works
  • I believe that the strategy is giving the wrong results
  • Strategy produces unrealistically good results by peeking into the future
  • My strategy processes orders one candle after the condition has been met
  • My strategy ignores the ‘from_entry’ argument while closing entries

Products
  • Chart
  • Pine Script™
  • Stock Screener
  • Forex Screener
  • Crypto Pairs Screener
  • Crypto Coins Screener
  • Stock Heatmap
  • Crypto Heatmap
  • Economic Calendar
  • Earnings Calendar
  • Sparks
  • Snaps
  • News flow
  • TradingView Desktop
  • Mobile app
  • CME Group futures
Company
  • About
  • Features
  • Pricing
  • Wall of Love
  • Athletes
  • Manifesto
  • Careers
  • Blog
  • Security vulnerability
  • Status page
  • Terms of use
  • Disclaimer
  • Privacy policy
  • Cookies policy
Community
  • Refer a friend
  • Ideas
  • Scripts
  • Streams
  • House rules
  • Moderators
  • Pine Script™ Wizards
  • Chat
For business
  • Widgets
  • Advertising
  • Website & broker solutions
  • Charting solutions
  • Lightweight Charts library
  • Brokerage integration
  • Partner program
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 Trade on TradingView Trade on TradingView
Select market data provided by ICE Data Services © 2023 TradingView, Inc.