OPEN-SOURCE SCRIPT
Atualizado

PDT AI

8 966
✅ Features

Multi-indicator fusion: RSI + MACD + EMA + higher timeframe RSI

Signal strength (%): Each signal gets a confidence score (0–100)

Dynamic ATR-based targets and stops

Alerts: Buy/Sell triggers for real-time notifications

Fully customizable inputs
Notas de Lançamento
Key Features of This Script

Faster Signals

Only 2 out of 4 conditions needed to trigger buy/sell → quicker reaction to market moves.

Multi-Indicator Confirmation

Uses EMA trend, RSI momentum, MACD, and HTF RSI.

This balances speed with quality, reducing false signals.

Trade State Tracking

inLong and inShort variables keep track of whether you’re in a trade.

Prevents repeated triggers and ensures proper exit logic.

Dynamic Exits

Stops adjust with ATR (long_stop / short_stop)

Exits automatically when opposite trigger fires → reduces drawdown.

Clean Plotting & Alerts

Buy (green triangle), Sell (red triangle), Exit (yellow circle)

Alerts are set up for all three signals, ready for TradingView notifications.

Higher Timeframe Confirmation

HTF RSI adds another layer of trend validation without slowing down signals too much.

Notas de Lançamento
Changes I Made

Momentum crossovers (RSI & MACD) → now signals fire earlier when momentum flips, not after long confirmation.

Reduced condition threshold (2/4 instead of 3/4) → lets signals appear faster.

Exit signals added → yellow dots mark trade exits (stop hit or opposite signal).

HTF timeframe reduced to 4H by default → faster than daily, more reactive.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.