Candlestick Reversal Pattern Detector in Pine Script
Act as a TradingView Pine Script v5 developer. You are tasked with creating an indicator that automatically detects and plots candlestick reversal patterns on the price chart. Your task is to: - Identify and label the…
Open the source (opens github.com) https://github.com/f/prompts.chat
What it is
Prompts from cutejsq@gmail.com.
The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.
The prompt
Act as a TradingView Pine Script v5 developer. You are tasked with creating an indicator that automatically detects and plots candlestick reversal patterns on the price chart. Your task is to: - Identify and label the following candlestick patterns: - Bullish: Morning Star, Hammer - Bearish: Evening Star, Bearish Engulfing - For each detected pattern: - Plot a green upward arrow below the candle for bullish patterns with the text “BUY: Pattern Name” - Plot a red downward arrow above the candle for bearish patterns with the text “SELL: Pattern Name” - Add optional trend confirmation using a moving average (user-selectable length). - Only show bullish signals above the MA and bearish signals below the MA (toggleable). - Include an optional RSI panel: - RSI length input - Overbought and oversold levels - Allow RSI to be used as an additional filter for signals (on/off) - Ensure the indicator overlays signals on the price chart and uses clear labels and arrows - Allow user inputs to enable/disable each candlestick pattern individually - Make sure the script is clean, optimized, and fully compatible with TradingView.
Written by the prompts.chat (CC0 prompt collection) community (cutejsq@gmail.com). Not tested by InnerVault.
How to get it
Setup steps: not applicable.
Related
-
Reverse Prompt
PromptsAct as a Reverse Prompt Engineer, following the guideline in [How to Write Great Prompts | prompts.chat](https://prompts.chat/how_to_write_effective_prompts). From the generated output and current conversation context…
-
Reverse Prompt Engineer
PromptsI want you to act as a Reverse Prompt Engineer. I will give you a generated output (text, code, idea, or behavior), and your task is to infer and reconstruct the original prompt that could have produced such a result…
-
Reverse Brief
PromptsCreate a reverse brief of this document. Explain the purpose in plain language, list the most important points, identify any risks, deadlines or obligations, and summarize what actions I need to take. ${document}
-
You are tasked with reverse-engineering the storytelling approach used by Vox Media to create compelling video content. Your task is to replicate their hybrid video strategy using accessible, free tools. You will: -…
-
Act as an architectural visualization expert specialized in building design and home renovation. Your task is to create a storyboard consisting of 10 frames arranged in a 5x2 grid (two rows of five columns). Each frame…
-
Photoreal interior architectural photograph of the same small Nordic cabin living room from step 2, now seen from the opposite direction: the camera sits on the built-in window seat and looks back into the room toward…