Pine Script Developer: Fix & Improve My TradingView Strategy

Job ID: 39333432

Budget: $30 – $250 AUD

What I Need:
I'm using a Pine Script trading strategy on TradingView called AI Bot. I want you to make it better so:

It gives less false signals

It only takes high-quality trades

It only enters opposite trades (like SHORT after LONG) if the first trade was already in profit (TP1 was hit)

What You Need to Do:
1. Opposite Trade Only After TP1:
If the bot enters a LONG trade, it must not enter a SHORT until TP1 of the LONG is hit (using tp1_price_long)

Same for SHORT: no LONG allowed unless TP1 of the SHORT is hit (tp1_price_short)

This makes sure the market has moved enough to confirm the trend before taking the opposite trade

2. Remove False Signals:
Use multiple filters to only take strong trades:

The market must be trending, not sideways (use Donchian Channel logic)

Only enter LONG when:

RSI > 50 (means bullish momentum)

WaveTrend line wt1 is above wt2 (trend confirmation)

Price is above EMA

Higher timeframes (15m, 30m, 1h) also show an uptrend

Only enter SHORT when:

RSI < 50

WaveTrend wt1 is below wt2

Price is below EMA

Higher timeframes show a downtrend

3. Filter by Volatility:
Use ATR (Average True Range) to avoid dead zones

Only trade when ATR is above its moving average (means there is movement)

4. Smart Trade Control:
Avoid entering trades too close together

Avoid multiple signals on the same candle

Keep the script non-repainting and stable

(Use lookahead=on, avoid future data leaks)

Testing and Result Needed:
Backtest this improved strategy on BTCUSDT, 15min/30min/1h charts

I want to see that TP1 is hit 100% of the time after every signal

You must send:

Final Pine Script code with clean comments

Screenshot or video of strategy working as expected

Short notes explaining what you changed

Who I’m Looking For:
Pine Script expert (v5)

You understand how to make safe, non-repainting strategies

You can work with multiple filters, timeframes, and indicators

Clean and organized coder

To Apply:
Please message me with:

Examples of Pine Script strategies you’ve worked on

Tell me how you will make sure opposite trades only happen after TP1

How long it will take you

Final Note:
This bot is already big — I just need someone smart to clean it up and make it accurate. The most important part: Don’t give a new signal until the current one is already profitable.

Let’s make this bot smarter and stronger