ABW
ASIF BRAIN WAVES
PROMPT COMMAND LIBRARY

Pine Script Prompts for TradingView

Explore English prompts for explaining and debugging Pine Script, defining indicator rules and planning alerts, with Roman Urdu usage instructions.

200 prompts in this sectionPage 1 of 450 prompts on this page
English draft prompts with Roman Urdu guidance. Prompts have not been tested in each AI tool; adapt your inputs and check the output.

Open the full prompt, fill the bracketed inputs, and review the output. Search all 3,000 commands.

#2101

Translate supplied trading rules into a checklist

/pine-translate-supplied-trading-rules-into-a-checklist

Apna baseline Pine code aur exact trading rules dein. Unclear rule par andaza na lagwayen; TradingView mein compiler aur chart behavior alag check karein.

Rule Specification & Preservation
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Convert [trading rules] into explicit conditions, timing, state, and invalidation requirements without adding filters. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Map every condition back to the supplied rule text. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2102

Preserve the exact entry rule during a small edit

/pine-preserve-the-exact-entry-rule-during-a-small-edit

Apna baseline Pine code aur exact trading rules dein. Unclear rule par andaza na lagwayen; TradingView mein compiler aur chart behavior alag check karein.

Rule Specification & Preservation
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Apply only [requested edit] to [baseline script] while keeping [entry rule] unchanged. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Compare the entry condition expression and triggering sequence before and after. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2103

Resolve ambiguous candle indexing before coding

/pine-resolve-ambiguous-candle-indexing-before-coding

Apna baseline Pine code aur exact trading rules dein. Unclear rule par andaza na lagwayen; TradingView mein compiler aur chart behavior alag check karein.

Rule Specification & Preservation
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Review [rule description] using candle-relative indexing and identify interpretations needing clarification. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Show timelines for each interpretation without selecting an unsupported one. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2104

Define a setup lifecycle from user rules

/pine-define-a-setup-lifecycle-from-user-rules

Apna baseline Pine code aur exact trading rules dein. Unclear rule par andaza na lagwayen; TradingView mein compiler aur chart behavior alag check karein.

Rule Specification & Preservation
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Model [setup rules] as detection, active, entered, expired, and invalidated states where supported. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check each transition against supplied rules and identify unspecified transitions. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2105

Separate a signal from an executed strategy trade

/pine-separate-a-signal-from-an-executed-strategy-trade

Apna baseline Pine code aur exact trading rules dein. Unclear rule par andaza na lagwayen; TradingView mein compiler aur chart behavior alag check karein.

Rule Specification & Preservation
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Explain how [signal conditions] differ from [strategy order behavior] under [execution settings]. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Do not equate a plotted signal with a confirmed filled order. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2106

Freeze a target at the specified event

/pine-freeze-a-target-at-the-specified-event

Apna baseline Pine code aur exact trading rules dein. Unclear rule par andaza na lagwayen; TradingView mein compiler aur chart behavior alag check karein.

Rule Specification & Preservation
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Modify [target calculation] to freeze only at [user-specified event] and keep [reset rule]. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Trace pre-freeze, freeze, later bars, and reset conditions. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2107

Specify stop priority when multiple rules fire

/pine-specify-stop-priority-when-multiple-rules-fire

Apna baseline Pine code aur exact trading rules dein. Unclear rule par andaza na lagwayen; TradingView mein compiler aur chart behavior alag check karein.

Rule Specification & Preservation
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Implement [explicit stop or exit priority] for [simultaneous-condition example]. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check order handling and flag any priority missing from supplied rules. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2108

Retain a user-defined invalidation level

/pine-retain-a-user-defined-invalidation-level

Apna baseline Pine code aur exact trading rules dein. Unclear rule par andaza na lagwayen; TradingView mein compiler aur chart behavior alag check karein.

Rule Specification & Preservation
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Preserve [fixed invalidation rule] when adding [display or alert feature]. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check no unrelated calculation moves or resets the invalidation price. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2109

Define same-day retry from an exact rule

/pine-define-same-day-retry-from-an-exact-rule

Apna baseline Pine code aur exact trading rules dein. Unclear rule par andaza na lagwayen; TradingView mein compiler aur chart behavior alag check karein.

Rule Specification & Preservation
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Implement [retry rule] using [session/day definition] without inventing a trade limit. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Trace invalidation, retry eligibility, day change, and successful entry. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2110

Keep directional rules symmetric where requested

/pine-keep-directional-rules-symmetric-where-requested

Apna baseline Pine code aur exact trading rules dein. Unclear rule par andaza na lagwayen; TradingView mein compiler aur chart behavior alag check karein.

Rule Specification & Preservation
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Compare long and short logic under [symmetry requirements] and patch only unintended asymmetry. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Use paired mirrored candle sequences to verify intended differences. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2111

Convert natural-language crosses into exact conditions

/pine-convert-natural-language-crosses-into-exact-conditions

Apna baseline Pine code aur exact trading rules dein. Unclear rule par andaza na lagwayen; TradingView mein compiler aur chart behavior alag check karein.

Rule Specification & Preservation
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Implement [cross rule] with specified equality and confirmation behavior. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check previous equality, current equality, and intrabar movement cases. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2112

Separate wick-based and body-based conditions

/pine-separate-wick-based-and-body-based-conditions

Apna baseline Pine code aur exact trading rules dein. Unclear rule par andaza na lagwayen; TradingView mein compiler aur chart behavior alag check karein.

Rule Specification & Preservation
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Review [pattern rules] and assign each comparison to open, close, high, or low explicitly. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check examples where wicks qualify but bodies do not. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2113

Define a valid gap from supplied criteria

/pine-define-a-valid-gap-from-supplied-criteria

Apna baseline Pine code aur exact trading rules dein. Unclear rule par andaza na lagwayen; TradingView mein compiler aur chart behavior alag check karein.

Rule Specification & Preservation
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Implement [gap definition] with exact candle references, boundaries, and minimum-size rules. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check touching boundaries, zero-size gaps, and direction-specific conditions. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2114

Prevent a UI option from changing trading logic

/pine-prevent-a-ui-option-from-changing-trading-logic

Apna baseline Pine code aur exact trading rules dein. Unclear rule par andaza na lagwayen; TradingView mein compiler aur chart behavior alag check karein.

Rule Specification & Preservation
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Add [display option] while preserving [signal and execution rules]. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check toggling it affects only the requested visual behavior. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2115

Make a change-impact map for a Pine patch

/pine-make-a-change-impact-map-for-a-pine-patch

Apna baseline Pine code aur exact trading rules dein. Unclear rule par andaza na lagwayen; TradingView mein compiler aur chart behavior alag check karein.

Rule Specification & Preservation
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Map [requested patch] to affected calculations, state, drawings, orders, and alerts. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Identify unrelated components that must remain identical. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2116

Clarify a session filter without changing it

/pine-clarify-a-session-filter-without-changing-it

Apna baseline Pine code aur exact trading rules dein. Unclear rule par andaza na lagwayen; TradingView mein compiler aur chart behavior alag check karein.

Rule Specification & Preservation
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Document [session logic] using [exchange timezone] and [user session requirement]. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check session start/end and chart timezone differences. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2117

Preserve user-selected timeframes exactly

/pine-preserve-user-selected-timeframes-exactly

Apna baseline Pine code aur exact trading rules dein. Unclear rule par andaza na lagwayen; TradingView mein compiler aur chart behavior alag check karein.

Rule Specification & Preservation
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Apply [requested feature] without replacing [existing timeframe selection rules]. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check defaults, overrides, and behavior on incompatible chart timeframes. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2118

Convert a rule into chart acceptance cases

/pine-convert-a-rule-into-chart-acceptance-cases

Apna baseline Pine code aur exact trading rules dein. Unclear rule par andaza na lagwayen; TradingView mein compiler aur chart behavior alag check karein.

Rule Specification & Preservation
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Create a chart-verification checklist for [rule] with qualifying and disqualifying examples. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Identify evidence required to confirm each case in TradingView. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2119

Document unsupported assumptions in a draft

/pine-document-unsupported-assumptions-in-a-draft

Apna baseline Pine code aur exact trading rules dein. Unclear rule par andaza na lagwayen; TradingView mein compiler aur chart behavior alag check karein.

Rule Specification & Preservation
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Review [Pine specification] and list uncertain order, session, or confirmation assumptions separately. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Do not encode unspecified trading behavior as established requirements. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2120

Audit a completed patch against baseline rules

/pine-audit-a-completed-patch-against-baseline-rules

Apna baseline Pine code aur exact trading rules dein. Unclear rule par andaza na lagwayen; TradingView mein compiler aur chart behavior alag check karein.

Rule Specification & Preservation
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Compare [baseline] and [modified script] for entry, exit, invalidation, timing, and reset changes. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Report each difference with code evidence and whether it was authorized. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2121

Add a configurable moving-average display

/pine-add-a-configurable-moving-average-display

Pine version, formula, input defaults aur relevant code dein. Sample values aur actual chart plots dono check karein; static review ko chart proof na samjhein.

Indicators & Calculations
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Add [average type, length, and source] to [script] as a visual calculation without changing signals. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check warmup bars, missing data, and plot visibility in TradingView. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2122

Plot a session VWAP under stated reset rules

/pine-plot-a-session-vwap-under-stated-reset-rules

Pine version, formula, input defaults aur relevant code dein. Sample values aur actual chart plots dono check karein; static review ko chart proof na samjhein.

Indicators & Calculations
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Implement [VWAP requirements] with [session definition] and [volume availability policy]. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check session resets and symbols without usable volume. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2123

Build a volatility band with explicit inputs

/pine-build-a-volatility-band-with-explicit-inputs

Pine version, formula, input defaults aur relevant code dein. Sample values aur actual chart plots dono check karein; static review ko chart proof na samjhein.

Indicators & Calculations
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Calculate [band formula] using [length, multiplier, and source] and label inputs clearly. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Compare sampled values with the specified formula and chart plots. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2124

Display an oscillator in the requested pane

/pine-display-an-oscillator-in-the-requested-pane

Pine version, formula, input defaults aur relevant code dein. Sample values aur actual chart plots dono check karein; static review ko chart proof na samjhein.

Indicators & Calculations
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Add [oscillator calculation] with [pane and scale requirements] to [baseline]. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check plotted range, warmup behavior, and unchanged existing pane behavior. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2125

Calculate a custom candle range statistic

/pine-calculate-a-custom-candle-range-statistic

Pine version, formula, input defaults aur relevant code dein. Sample values aur actual chart plots dono check karein; static review ko chart proof na samjhein.

Indicators & Calculations
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Implement [range statistic formula] over [lookback] with explicit missing-bar handling. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check one-bar and insufficient-history cases. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2126

Normalize an indicator only by the given rule

/pine-normalize-an-indicator-only-by-the-given-rule

Pine version, formula, input defaults aur relevant code dein. Sample values aur actual chart plots dono check karein; static review ko chart proof na samjhein.

Indicators & Calculations
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Apply [normalization formula] to [indicator series] without changing threshold meaning. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check zero denominator and sample values against hand calculations. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2127

Create a rolling high-low reference

/pine-create-a-rolling-high-low-reference

Pine version, formula, input defaults aur relevant code dein. Sample values aur actual chart plots dono check karein; static review ko chart proof na samjhein.

Indicators & Calculations
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Plot [rolling range] under [include-current-bar policy] using [lookback]. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check the first eligible bar and whether current wicks enter the range. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2128

Compute a session opening range

/pine-compute-a-session-opening-range

Pine version, formula, input defaults aur relevant code dein. Sample values aur actual chart plots dono check karein; static review ko chart proof na samjhein.

Indicators & Calculations
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Implement [opening interval] and [session timezone] with fixed range behavior after the interval. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check first bar, interval close, and next-session reset. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2129

Measure distance from a reference in ticks

/pine-measure-distance-from-a-reference-in-ticks

Pine version, formula, input defaults aur relevant code dein. Sample values aur actual chart plots dono check karein; static review ko chart proof na samjhein.

Indicators & Calculations
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Calculate distance between [price] and [reference] using the symbol's minimum tick. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check sign, tick rounding, and different symbol tick sizes. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2130

Show a percentage change from a fixed anchor

/pine-show-a-percentage-change-from-a-fixed-anchor

Pine version, formula, input defaults aur relevant code dein. Sample values aur actual chart plots dono check karein; static review ko chart proof na samjhein.

Indicators & Calculations
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Implement [anchor event] and percentage change with [zero or missing anchor policy]. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check anchor reset and exactly zero change. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2131

Build an ATR-based visual stop guide

/pine-build-an-atr-based-visual-stop-guide

Pine version, formula, input defaults aur relevant code dein. Sample values aur actual chart plots dono check karein; static review ko chart proof na samjhein.

Indicators & Calculations
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Plot [ATR guide formula] without changing existing strategy orders or supplied trading rules. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check direction, warmup bars, and gap behavior. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2132

Count qualifying bars in a lookback

/pine-count-qualifying-bars-in-a-lookback

Pine version, formula, input defaults aur relevant code dein. Sample values aur actual chart plots dono check karein; static review ko chart proof na samjhein.

Indicators & Calculations
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Count [boolean condition] over [window] with explicit missing-data treatment. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check all true, all false, and insufficient history. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2133

Track a streak with an explicit reset

/pine-track-a-streak-with-an-explicit-reset

Pine version, formula, input defaults aur relevant code dein. Sample values aur actual chart plots dono check karein; static review ko chart proof na samjhein.

Indicators & Calculations
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Calculate consecutive [condition] bars under [reset policy]. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check false, missing, and session-boundary cases. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2134

Measure candle body-to-range ratio

/pine-measure-candle-body-to-range-ratio

Pine version, formula, input defaults aur relevant code dein. Sample values aur actual chart plots dono check karein; static review ko chart proof na samjhein.

Indicators & Calculations
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Compute [body ratio definition] with safe handling of zero-range candles. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check doji, full-body, and gap-opening examples. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2135

Plot previous-session reference levels

/pine-plot-previous-session-reference-levels

Pine version, formula, input defaults aur relevant code dein. Sample values aur actual chart plots dono check karein; static review ko chart proof na samjhein.

Indicators & Calculations
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Add [prior session levels] using [session boundary definition] without lookahead. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check boundaries and chart timeframes spanning the session. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2136

Create a relative-volume study from a stated baseline

/pine-create-a-relative-volume-study-from-a-stated-baseline

Pine version, formula, input defaults aur relevant code dein. Sample values aur actual chart plots dono check karein; static review ko chart proof na samjhein.

Indicators & Calculations
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Implement [relative-volume formula] using [comparison window and session policy]. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check missing volume and division by zero. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2137

Display a correlation calculation with limits

/pine-display-a-correlation-calculation-with-limits

Pine version, formula, input defaults aur relevant code dein. Sample values aur actual chart plots dono check karein; static review ko chart proof na samjhein.

Indicators & Calculations
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Calculate [correlation inputs] over [lookback] and show insufficient-history status. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check unavailable data and avoid presenting correlation as causal proof. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2138

Compute a z-score from a specified series

/pine-compute-a-z-score-from-a-specified-series

Pine version, formula, input defaults aur relevant code dein. Sample values aur actual chart plots dono check karein; static review ko chart proof na samjhein.

Indicators & Calculations
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Implement [z-score formula] with [window] and [zero-deviation policy]. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check constant series and warmup behavior. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2139

Add a smoothing option without changing defaults

/pine-add-a-smoothing-option-without-changing-defaults

Pine version, formula, input defaults aur relevant code dein. Sample values aur actual chart plots dono check karein; static review ko chart proof na samjhein.

Indicators & Calculations
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Add [new smoothing choice] to [calculation] while preserving [default behavior]. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Compare default output series before and after. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2140

Create a calculation audit table for sample bars

/pine-create-a-calculation-audit-table-for-sample-bars

Pine version, formula, input defaults aur relevant code dein. Sample values aur actual chart plots dono check karein; static review ko chart proof na samjhein.

Indicators & Calculations
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Display selected [intermediate values] for [specified historical bars] to inspect [formula]. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Separate hand/static comparisons from actual chart verification. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2141

Convert an indicator signal into a strategy draft

/pine-convert-an-indicator-signal-into-a-strategy-draft

Exact entry/exit rules, settings aur available trade evidence dein. Backtest ko future munafa ki guarantee na samjhein aur actual fills alag verify karein.

Strategy Orders & Backtest Evidence
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Use [entry and exit rules] to draft strategy orders without adding risk rules not supplied. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check execution settings and distinguish signals, orders, and fills. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2142

Implement position sizing from a user formula

/pine-implement-position-sizing-from-a-user-formula

Exact entry/exit rules, settings aur available trade evidence dein. Backtest ko future munafa ki guarantee na samjhein aur actual fills alag verify karein.

Strategy Orders & Backtest Evidence
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Use [sizing formula], [account model], and [instrument constraints] exactly as supplied. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check units, minimum quantities, and invalid sizing inputs. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2143

Set commission and slippage assumptions explicitly

/pine-set-commission-and-slippage-assumptions-explicitly

Exact entry/exit rules, settings aur available trade evidence dein. Backtest ko future munafa ki guarantee na samjhein aur actual fills alag verify karein.

Strategy Orders & Backtest Evidence
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Add [commission model] and [slippage assumption] to [strategy] with clear labels. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Verify actual strategy settings; do not invent realistic costs. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2144

Implement a one-position-at-a-time rule

/pine-implement-a-one-position-at-a-time-rule

Exact entry/exit rules, settings aur available trade evidence dein. Backtest ko future munafa ki guarantee na samjhein aur actual fills alag verify karein.

Strategy Orders & Backtest Evidence
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Apply [position exclusivity rule] to [order logic] without changing entry detection. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check repeated signals while flat and while a position is active. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2145

Define pyramiding from a stated limit

/pine-define-pyramiding-from-a-stated-limit

Exact entry/exit rules, settings aur available trade evidence dein. Backtest ko future munafa ki guarantee na samjhein aur actual fills alag verify karein.

Strategy Orders & Backtest Evidence
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Use [pyramiding rule] and [entry identifiers] to implement allowed additions. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check repeated entries and exit handling for each allowed add. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2146

Preserve stop and target levels after entry

/pine-preserve-stop-and-target-levels-after-entry

Exact entry/exit rules, settings aur available trade evidence dein. Backtest ko future munafa ki guarantee na samjhein aur actual fills alag verify karein.

Strategy Orders & Backtest Evidence
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Freeze [stop and target rules] at [specified event] in [strategy]. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check subsequent bars cannot silently recalculate frozen levels. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2147

Implement a partial exit schedule

/pine-implement-a-partial-exit-schedule

Exact entry/exit rules, settings aur available trade evidence dein. Backtest ko future munafa ki guarantee na samjhein aur actual fills alag verify karein.

Strategy Orders & Backtest Evidence
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Use [partial exit percentages] and [price rules] with exact order identifiers. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check quantities do not exceed the position and remaining exits behave as stated. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2148

Handle a time-based position exit

/pine-handle-a-time-based-position-exit

Exact entry/exit rules, settings aur available trade evidence dein. Backtest ko future munafa ki guarantee na samjhein aur actual fills alag verify karein.

Strategy Orders & Backtest Evidence
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Close under [time-exit rule] and [session/timezone definition]. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check exact cutoff, missing bars, and overnight positions. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2149

Gate backtest trades to a supplied date range

/pine-gate-backtest-trades-to-a-supplied-date-range

Exact entry/exit rules, settings aur available trade evidence dein. Backtest ko future munafa ki guarantee na samjhein aur actual fills alag verify karein.

Strategy Orders & Backtest Evidence
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Add [start/end time inputs] without changing calculations outside the range. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Check inclusive/exclusive boundaries and existing-position handling at the end. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool
#2150

Audit strategy order identifier collisions

/pine-audit-strategy-order-identifier-collisions

Exact entry/exit rules, settings aur available trade evidence dein. Backtest ko future munafa ki guarantee na samjhein aur actual fills alag verify karein.

Strategy Orders & Backtest Evidence
Full English prompt
Use [Pine Script version requested by the user], [complete baseline script], [exact supplied rules], [target symbol], and [chart timeframe]. Inspect [entry and exit IDs] for unintended replacement, merging, or cross-direction use. Preserve all supplied entry, exit, invalidation, timing, reset, and drawing rules outside the requested change. Do not invent trading filters or claim future profitability. Return the requested code, analysis, guide, or verification checklist with a focused explanation of any changes. Trace overlapping signals and canceled orders. Report static source checks separately from actual TradingView compiler and chart/runtime verification; include realtime, drawing, strategy, or alert evidence only if those checks were actually performed. If target-product access is unavailable, explicitly mark the relevant checks pending.
Draft prompt · not tested in each AI tool