프롬프트 도감 › No.1856
캔들 반전 신호 지표
Candlestick Reversal Indicator
TradingView 차트에서 샛별형·망치형 같은 캔들 모양을 찾아 매수·매도 화살표로 표시하는 코드를 만들어 줘요. 이동평균선과 RSI 필터도 켜고 끌 수 있어요.
이럴 때 TradingView 지표 만들기, 차트 공부, 매매 기록 분석
도구 ChatGPT · Claude · Gemini
프롬프트
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.
팁
- 나온 코드를 TradingView 편집기에 붙여 넣어요
- 오류가 나면 메시지를 그대로 AI에게 보여 줘요
출처
권리: CC0 (f/prompts.chat). 자유 사용. 기여자: [email protected].