OPEN-SOURCE SCRIPT

Smart Buy/Sell Indicator with Trend & ATR Filter

Description:
This indicator uses a moving average crossover strategy combined with ATR-based stop loss and take profit levels.

✅ Features:

Improvements:
Trend Filter (200-period EMA)
-Only long trades when price is above the 200 EMA
-Only short trades when price is below the 200 EMA

ATR-Based Volatility Filter
-Trades are only taken when the ATR is above a threshold, indicating strong market conditions.

Stop Loss & Take Profit
-Stop loss and take profit dynamically adjust based on ATR x Multiplier, instead of fixed percentages.
-Works best on trending markets (recommended for Forex, Crypto, and Stocks).

🛠 How to Use:

Enter a long trade when a green Buy signal appears.
Enter a short trade when a red Sell signal appears.
Adjust Stop Loss % and Take Profit % based on your risk tolerance.

Aviso legal