Strategy

A shared folder with AI prompts and code snippets

From workspace: TradingView

Team: AI Prompts

Total snippets: 18

TradingView

Strategy

18 snippets

Fair Value Gaps in Pine Script

Create a Pine Script to identify and plot fair value gaps.

You need to develop a Pine Script version 6 code that identifies and plots bullish and bearish fair value gaps (FVG) on any selected chart timeframe. First, define the logic for a bullish FVG, which occurs when there is no overlap between the high...

Nifty Options Scaling Strategy

Creates a Pine Script strategy automating a Nifty options scaling approach based on user logic.

Create a TradingView Pine Script strategy that automates a Nifty options scaling strategy based on the user's own strategic logic. Details: - Understand that the core objective is to write a Pine Script strategy suitable for TradingView. - The...

Pine Script SPY Strategy

Generates a Pine Script strategy for SPY with trailing stops.

Create a Pine Script trading strategy specifically for the ticker symbol 'SPY' that incorporates trailing stops for both entry and exit points. This strategy must be structured for backtesting and designed to achieve a high success rate, ideally...

Pine Script Strategy Development

Refactor and optimize a TradingView Pine Script strategy.

Develop a TradingView Pine Script strategy based on the provided code snippet. Ensure that the code adheres to best practices, including adding comments to explain the logic, restructuring for clarity, and optimizing for performance if necessary....

Pine Script Short Setup Visual

Generate Pine Script v5 code that draws lines, label, shapes, background color, and alert for short trade setup.

You are tasked with generating a Pine Script 5 snippet for a trading chart that visualizes a short trade setup clearly and accurately. Requirements: - Draw three lines representing the entry price, stop loss (SL), and take profit (TP), each...

Pine Script Parabolic SAR Strategy Analysis

Analyze and improve a Pine Script Parabolic SAR trading strategy

You are provided with a Pine Script version 6 strategy script implementing a Parabolic SAR (Stop and Reverse) trading strategy. Your task is to analyze, explain, and if requested, improve or modify the script. The script: - Initializes Parabolic...

Pine Script Liquidity Collector Strategy

Generates a Pine Script v6 trading strategy with trend detection via Smart Money indicator, liquidity collector candles, engulfing candle entry, and swing-based stops.

You are an expert in Pine Script version 6. Your task is to write a Pine Script trading strategy that fulfills these requirements: 1. The strategy uses a configurable high timeframe (e.g., 1 hour) to define the trend direction. This timeframe...

Pine Script Bollinger Bands Strategy

Improve and analyze Bollinger Bands strategy Pine Script code.

You are to analyze and improve a Pine Script strategy script for TradingView that implements a Bollinger Bands trading strategy with customizable inputs and a date range filter. Your goal is to help refine or extend the script by following these...

Base Breakout TradingView Script

Pine Script v6 for XAU/USD base breakout trading signals with defined stop loss and take profit.

You are to act as a trading assistant and expert in the base breakout strategy, specifically for trading XAU/USD (gold) on TradingView using Pine Script version 6. The strategy conditions are: - Entry: Use the patterns Rally Base Rally, Rally...

Binary Options Trading Signals

Script for generating binary options trading signals

Create a Pine Script for generating binary option trading signals on https://trade.polariumbroker.com/traderoom/. The script should analyze market data and generate buy and sell signals using the following strategies: - **Moving Averages**:...

Binary Trading Strategy Script

Generates a customizable Pine Script for a binary trading strategy using Moving Average and RSI with entry/exit signals and comments.

Create a Pine Script code for a binary trading strategy on TradingView that utilizes technical indicators such as Moving Average and RSI to generate entry and exit signals. The script should allow customization of indicator parameters like the...

Bollinger Band RSI Indicator

PineScript version 6 indicator for trading strategy.

Create a professional PineScript version=6 indicator following these guidelines: - **Capital Usage:** Always utilize 100% of capital for trades. - **Slippage Setting:** Configure slippage to a maximum of 3. - **Date Filters:** Include inputs for...

Bollinger Band Strategy

A trading strategy using Bollinger Bands and RSI.

// PineScript Version 6 Indicator: This script implements a strategy based on specific trading conditions. It includes user-defined parameters for customization. //@version=6 strategy("Custom Bollinger Band Strategy", overlay=true,...

Bollinger Band Strategy Conversion

Converts Bollinger Band trading rules into a compliant PineScript strategy with date filters and proper settings.

Convert the provided Bollinger Band trading rules into a TradingView PineScript strategy script with the following constraints and features: - **Trading Rules:** - Go long when the price closes above the upper Bollinger Band. - Close the long...

3-Min Breakout Options Strategy

Convert 3-minute breakout buy signal indicator into a long options strategy with partial profit targets and stop loss.

You are provided with a Pine Script (version 6) indicator that generates a 3-minute breakout buy signal via a boolean variable named `buy_signal`. Your task is to transform this indicator into a complete TradingView strategy script that executes...

3-Min Options Strategy

Creates a 3-minute options long strategy with 15% and 20% profit targets and 10% stop loss based on a breakout buy signal.

Create an options trading strategy based on the provided 3-minute breakout buy signal indicator script in Pine Script (version 6). The strategy should generate long entries at the buy signal generated by the indicator, with the following exit...

Accurate Crypto Trading Strategy

Generates a backtestable Pine Script strategy to identify buy and sell points in cryptocurrency markets.

Create a high-accuracy Pine Script strategy for TradingView to identify potential buying and selling points in cryptocurrency markets based on historical data and technical indicators. The script should be backtestable with good accuracy and...

Advanced Profitable Trading Strategy

Generates an advanced Pine Script trading strategy with over 80% win rate and high profit factor using EMA, MACD, and RSI indicators.

Create an advanced, profitable trading indicator and strategy in Pine Script designed to achieve a win rate over 80% with a high profit factor. The strategy must incorporate the following components: - EMA21 to identify follow-up/down trends on...

TradingView - Strategy - AI Prompts & Code Snippets | Snippets AI