OPEN-SOURCE SCRIPT

🔥 Nikko Ultra-Active Scalper (MACD + RSI)

2 709
🔥 Nikko Ultra-Active Scalper (MACD + RSI)

This is a fun, high-frequency scalper with some unpredictable results in backtesting. II recommend you backtest it over a 1-year period with SUI to see for yourself.

While the strategy works in live conditions, there seems to be a strange issue with how TradingView calculates the backtesting (the Hold blue line behaves oddly). It might be due to certain factors in the script's execution, but I’m not entirely sure. Sor example I get a negative PNL while making profit? That is weird. I might have missed something.

I’ve not encrypted the source code, so I’m hoping someone in the community can help identify why the backtest results are behaving unexpectedly.

Enjoy experimenting with this little bot, use 1m-2n timeframe— and while it’s fun to imagine getting rich with minimal effort, remember, it’s just for entertainment and educational purposes!

----------------------------------------------
DESCRIPTION: READ FIRST

This script is a high-frequency trading strategy written in Pine Script v6 for use on TradingView, designed to open several long positions per day on fast-moving markets like crypto. Here's how it works:

📌 Strategy Overview:
It uses short-term technical indicators — MACD and RSI — to detect brief momentum bursts, enters trades quickly, and exits with a tight take-profit. It’s optimized for 1-minute timeframes.

🧠 Entry Conditions (When it Buys):
The strategy opens a long position when:

MACD > Signal Line using fast settings (6,13,5):
This shows short-term upward momentum.

RSI > 40 with a 7-period length:
This confirms bullish strength, even if modest.

Because the settings are very relaxed, this combination triggers frequently, producing multiple trades per day.

🎯 Exit Condition (When it Sells):
It closes all open positions when:

The price rises to a set profit target (takeProfitPercent, default 0.9%).

There is no stop loss or trailing stop — this means the trade will stay open until it either hits the profit or you close manually (or modify the script).

⚙️ Other Features:
pyramiding = 100
Allows up to 100 simultaneous open positions (great for scalping in volatile uptrends).

strategy.percent_of_equity = 1
Each trade uses 1% of available equity, but can be adjusted.

Visual Bar Coloring
Bars turn green when an entry condition is met (barcolor(entryCond ? color.lime : na)).

📈 Designed For:
1-2 minute(S) timeframes

Volatile assets (crypto, meme coins, high-volume stocks)

High-frequency trading where you're in/out fast with small gains


免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。