OPEN-SOURCE SCRIPT
Nikko MACD + SMA 200 MEME coin strategy

This is an old strategy originally developed by ChartArt in 2015, based on MACD + SMA 200 and written in Pine Script version 2.
I’ve upgraded it to version 6 and significantly improved its performance.
The strategy is actually highly profitable under certain conditions, especially when applied to meme coins. You don’t need to modify anything—just test it directly on volatile assets.
It outperforms the typical “Buy and Hold” approach on many high-volatility coins, particularly memes.
Key Notes:
It’s simple but effective when properly configured.
No need for pyramiding: just sell 100% when bearish and buy 100% when bullish—this tends to yield better results.
The 1-hour timeframe works well. Very short intervals like 2 minutes perform poorly, and overly long ones aren't effective either. Test and adjust.
The equity drawdown is relatively low, so it can be suitable for leveraged trading—though leverage is always risky, and caution is advised.
I believe this is one of the most effective free strategies with open-source code currently available on TradingView.
Example:
FFLOKI on a 30-minute timeframe delivers +683% profit
Starting with $10,000, it ends with over $68,000
It also performs well on
PEPE and BBONK, but does not yield strong results with $BTC.
Below is the README:
--------------------------------------------------------------------------------------
// Original by ChartArt
// updated from v2 to v6 and improved some stuff
strategy("Nikko MACD + SMA 200 Strategy (by ChartArt)", shorttitle="Nikko - MACD + SMA 200 Strategy", overlay=true, initial_capital=10000,default_qty_value = 10, pyramiding = 10, default_qty_type = strategy.percent_of_equity, commission_value = 0.06 )
// ChartArt's MACD + SMA 200 Strategy
//
// Version 2.0
// Idea by ChartArt on November 30, 2015.
// updated June 2025 by CryptoNikkoid
//
// Here is a combination of the MACD with the
// slow moving average SMA 200 as a strategy.
//
// This strategy goes long if the MACD histogram
// and the MACD momentum are both above zero and
// the fast MACD moving average is above the
// slow MACD moving average. As additional long filter
// the recent price has to be above the SMA 200.
// If the inverse logic is true, the strategy
// goes short. For the worst case there is a
// max intraday equity loss of 50% filter.
// -------------------
// changed the strategy to close all orders when turning bearish, also fixed some design glitches
// this strategy is working better on short timeframe (5min for example)
I’ve upgraded it to version 6 and significantly improved its performance.
The strategy is actually highly profitable under certain conditions, especially when applied to meme coins. You don’t need to modify anything—just test it directly on volatile assets.
It outperforms the typical “Buy and Hold” approach on many high-volatility coins, particularly memes.
Key Notes:
It’s simple but effective when properly configured.
No need for pyramiding: just sell 100% when bearish and buy 100% when bullish—this tends to yield better results.
The 1-hour timeframe works well. Very short intervals like 2 minutes perform poorly, and overly long ones aren't effective either. Test and adjust.
The equity drawdown is relatively low, so it can be suitable for leveraged trading—though leverage is always risky, and caution is advised.
I believe this is one of the most effective free strategies with open-source code currently available on TradingView.
Example:
FFLOKI on a 30-minute timeframe delivers +683% profit
Starting with $10,000, it ends with over $68,000
It also performs well on
Below is the README:
--------------------------------------------------------------------------------------
// Original by ChartArt
// updated from v2 to v6 and improved some stuff
strategy("Nikko MACD + SMA 200 Strategy (by ChartArt)", shorttitle="Nikko - MACD + SMA 200 Strategy", overlay=true, initial_capital=10000,default_qty_value = 10, pyramiding = 10, default_qty_type = strategy.percent_of_equity, commission_value = 0.06 )
// ChartArt's MACD + SMA 200 Strategy
//
// Version 2.0
// Idea by ChartArt on November 30, 2015.
// updated June 2025 by CryptoNikkoid
//
// Here is a combination of the MACD with the
// slow moving average SMA 200 as a strategy.
//
// This strategy goes long if the MACD histogram
// and the MACD momentum are both above zero and
// the fast MACD moving average is above the
// slow MACD moving average. As additional long filter
// the recent price has to be above the SMA 200.
// If the inverse logic is true, the strategy
// goes short. For the worst case there is a
// max intraday equity loss of 50% filter.
// -------------------
// changed the strategy to close all orders when turning bearish, also fixed some design glitches
// this strategy is working better on short timeframe (5min for example)
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
Tekegram / support: t.me/cryptonikkoid
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
Tekegram / support: t.me/cryptonikkoid
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。