AI

When AI Is Behind: What the New Pine Script Footprint Feature Teaches Us

Author name: QuantNomad

When AI Is Behind: What the New Pine Script Footprint Feature Teaches Us

Recently, TradingView released something many Pine Script developers had been waiting for: TradingView Introduces Native Volume Footprints in Pine Script https://www.tradingview.com/blog/en/volume-footprints-in-pine-scripts-56908 With Pine Script v6, we finally got access to request.footprint() — allowing us to programmatically access footprint data inside scripts. This is a big deal. And it also exposed something very important: When new When AI Is Behind: What the New Pine Script Footprint Feature Teaches Us Read More →

When AI Is Behind: What the New Pine Script Footprint Feature Teaches Us Read More »

AI Wrote My Pine Script Indicator… and It Lied to Me

I wanted to build a tiny Pine Script indicator. Nothing fancy. No machine learning. No complex strategy logic. Just this: “Show a long signal when there are at least 5 green candles in the last 6 bars.” So I asked ChatGPT to write it. And it immediately produced something that looked correct… but wasn’t.The prompt Write me

AI Wrote My Pine Script Indicator… and It Lied to Me Read More »

set min/max/step values for inputs in pine script

How to Use minval, maxval, and step in Pine Script Inputs (v6)

When creating indicators or strategies in Pine Script v6, controlling user inputs is just as important as writing correct calculations.The minval, maxval, and step parameters allow you to validate inputs, prevent errors, and improve the user experience. This tutorial shows how and why to use them. Why Use minval, maxval, and step? Without constraints, users

How to Use minval, maxval, and step in Pine Script Inputs (v6) Read More »

Using Checkboxs in Pine Script Inputs to Show/Hide Chart Elements

How to Use Checkboxes in Pine Script Inputs (and Why You Should)

Checkboxes are one of the most underrated input types in Pine Script.They allow users to toggle features on and off, control logic, and clean up indicator settings — all without writing multiple scripts. In this tutorial, you’ll learn: What a checkbox input is How to create one Practical use cases A clean example using Pine

How to Use Checkboxes in Pine Script Inputs (and Why You Should) Read More »

How to Connect TradingView Alerts to Telegram Bots (100% Free)

If you use TradingView alerts and want to receive them instantly on Telegram, you might think you need Zapier, paid bots, or third-party services.Good news: you don’t. TradingView can send alerts directly to Telegram using native webhooks, completely free, with no intermediaries. In this tutorial, you’ll learn how to connect TradingView alerts to a Telegram

How to Connect TradingView Alerts to Telegram Bots (100% Free) Read More »

Pine Script v6 inputs panel showing inline parameters aligned on the same row in TradingView

How to Use inline Parameters in Pine Script v6 Inputs

Introduction When building indicators or strategies in Pine Script v6, usability matters just as much as logic.A common issue with TradingView scripts is a cluttered inputs panel, where every parameter appears on its own line. Starting with Pine Script v6, the inline parameter allows you to align multiple inputs on the same row, making your

How to Use inline Parameters in Pine Script v6 Inputs Read More »

How to Enable or Disable Inputs in Pine Script v6 (Conditional Inputs Using active)

Pine Script v6 lets you conditionally enable or disable an input in the settings panel based on another input (like a checkbox). This is perfect for building clean indicators where users only see (and can edit) advanced settings when they actually need them. In this tutorial, you’ll learn how to use the active parameter in

How to Enable or Disable Inputs in Pine Script v6 (Conditional Inputs Using active) Read More »

How to Get Stock Earnings in Pine Script and Use Them in Indicators

Understanding a company’s earnings is crucial for making informed trading decisions. Pine Script, the programming language used on TradingView, provides a convenient way to access and utilize earnings data in your custom indicators. In this article, we’ll explore how to fetch stock earnings using the request.earnings function and incorporate them into your indicators with practical

How to Get Stock Earnings in Pine Script and Use Them in Indicators Read More »