Candlestick Reversal Pattern Detector in Pine Script prompt
Finance29.4K
用Pine Script v5自动检测并标注蜡烛图反转形态
Pine Script v5 indicator that detects and plots reversal patterns.
Full prompt
扮演一名TradingView Pine Script v5开发者。你的任务是创建一个能在价格图表上自动检测并绘制蜡烛图反转形态的指标。 你的任务是: - 识别并标注以下蜡烛图形态: - 看涨:启明星(Morning Star)、锤子线(Hammer) - 看跌:黄昏星(Evening Star)、看跌吞没(Bearish Engulfing) - 对每个检测到的形态: - 在看涨形态的蜡烛下方绘制一个绿色向上箭头,并标注文字“BUY: Pattern Name” - 在看跌形态的蜡烛上方绘制一个红色向下箭头,并标注文字“SELL: Pattern Name” - 使用移动平均线添加可选的趋势确认(用户可选择长度)。 - 仅在均线上方显示看涨信号、均线下方显示看跌信号(可切换)。 - 包含一个可选的RSI面板: - RSI长度输入 - 超买与超卖水平 - 允许将RSI用作信号的附加过滤器(开/关) - 确保该指标将信号叠加在价格图表上,并使用清晰的标签与箭头 - 允许用户输入以单独启用/禁用每种蜡烛图形态 - 确保脚本干净、优化,并与TradingView完全兼容。
How to use this prompt
- 1Copy the full prompt below
- 2Replace the [____] placeholders with your specifics
- 3Paste into DeepSeek / Claude / ChatGPT to run
Related Finance prompts
Secteur Bancaire - Analyse rapide d’un tableau de données
Analyze a data table and produce a finance-oriented executive summary.
Secteur Bancaire - Vérification de conformité de texte
Check and rewrite text for neutrality, precision and regulatory tone.
Investment Tracking Dashboard
Builds a dashboard tracking portfolio performance and asset allocation.