OPEN-SOURCE SCRIPT

NEO IMACD Strategy SL y TP

164
NEO IMACD Strategy SL y TP
A structured momentum and trend-following strategy with dynamic SL/TP visual management.

Description
The NEO IMACD Strategy SL y TP is a technical trading system that uses enhanced MACD logic over ZLEMA to detect directional momentum changes, combined with an EMA filter and automated risk management through customizable stop loss and take profit levels.

This script is built with a clear educational purpose: to help traders understand how to apply structured entries and exits using a clean visual layout. It is ideal for both intermediate and beginner traders who want to simulate consistent setups and develop disciplined strategies based on technical confluence.

All code logic is fully transparent and does not repaint. The strategy uses fixed position sizing and percentage-based TP/SL to control risk, making it accessible for traders with small accounts or those learning structured trading systems.

Key Indicators
ZLEMA (Zero-Lag EMA): for responsive price smoothing

MACD (with ZLEMA input): for momentum and trend shift detection

EMA 100: for overall trend direction filtering

RSI (14): used as an optional confirmation for exits

Long Entry Conditions
Price is above EMA 100

MACD crosses above the signal line

Histogram is not flat (MACD lines are not parallel)

Short Entry Conditions
Price is below EMA 100

MACD crosses below the signal line

Histogram is not flat (MACD lines are not parallel)

Exit Logic
Long positions close if:

MACD crosses below the signal line

Histogram declines

RSI drops from overbought (above 70)

Short positions close if:

MACD crosses above the signal line

Histogram declines

RSI rises from oversold (below 30)

Risk Management
Stop Loss: set as a fixed percentage of entry price (default 0.5%)

Take Profit: based on user-defined risk-reward ratio (default 2:1)

Both SL and TP levels are plotted as lines, with optional price labels

Strategy Settings
ZLEMA Length: 34

MACD: 12 / 26 / 9

EMA 100: trend filter

RSI: 14

Stop Loss: 0.5% (adjustable)

Risk-Reward Ratio: 2.0 (default)

Position Size: 1 (fixed)

Notes
This script is for educational and backtesting purposes only.

It is not financial advice or a signal provider.

Always test and adapt before applying any strategy in real market conditions.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.