Skip to main content
Latest Crypto Fear & Greed Index

New Pine Script: Scalper 5min

This strategy is adapted from TradingView strategy Super Scalper 5min by VinayKumarKV.  

Strategy Description: Uses ATR, EMA, RSI. Specifically for 5min TF.

Potential ROI Monthly (in sideway/bullish): 5%

Recommended Settings:


Time frame: 5mins

Initial Capital: 50

Base Currency: Default

Order Size: 11 USDT

Pyramiding: 4 orders

Commission: 0.1 %

Take Profit: High + ATR * 5

Stop Loss: Low - ATR * 2

strategy("Scalper5min[]", overlay=true)
source = close
atrlen =, "ATR Period")
mult = input.float(2, "ATR Multi", step=0.1)
smoothing = input.string(title="ATR Smoothing", defval="WMA", options=["RMA", "SMA", "EMA", "WMA"])
ma_function(source, atrlen) =>
    if smoothing == "RMA"
        ta.rma(source, atrlen)
        if smoothing == "SMA"
            ta.sma(source, atrlen)
            if smoothing == "EMA"
                ta.ema(source, atrlen)
                ta.wma(source, atrlen)
atr_slen = ma_function(, atrlen)
upper_band = atr_slen * mult + close
lower_band = close - atr_slen * mult

// Create Indicator's
ShortEMAlen =, "Fast EMA")
LongEMAlen =, "Slow EMA")
shortSMA = ta.ema(close, ShortEMAlen)
longSMA = ta.ema(close, LongEMAlen)
RSILen1 =, "Fast RSI Length")
RSILen2 =, "Slow RSI Length")
rsi1 = ta.rsi(close, RSILen1)
rsi2 = ta.rsi(close, RSILen2)
atr = ta.atr(atrlen)

//RSI Cross condition
RSILong = rsi1 > rsi2
RSIShort = rsi1 < rsi2

// Specify  conditions
longCondition = open < lower_band
shortCondition = open > upper_band
GoldenLong = ta.crossover(shortSMA,longSMA)
Goldenshort = ta.crossover(longSMA,shortSMA)

plotshape(shortCondition, title="Sell Label", text="Sell", location=location.abovebar, style=shape.labeldown, size=size.tiny,, textcolor=color.white, transp=0)
plotshape(longCondition, title="Buy Label", text="Buy", location=location.belowbar, style=shape.labelup, size=size.tiny,, textcolor=color.white, transp=0)
plotshape(Goldenshort, title="Golden Sell Label", text="Golden Crossover Short", location=location.abovebar, style=shape.labeldown, size=size.tiny,, textcolor=color.white, transp=0)
plotshape(GoldenLong, title="Golden Buy Label", text="Golden Crossover Long", location=location.belowbar, style=shape.labelup, size=size.tiny, color=color.yellow, textcolor=color.white, transp=0)
// Execute trade if condition is True
if (longCondition)
    stopLoss = low - atr * 2
    takeProfit = high + atr * 5
    strategy.entry("long", strategy.long, when = RSILong)

if (shortCondition)
    stopLoss = high + atr * 2
    takeProfit = low - atr * 5
    strategy.entry("short", strategy.short, when = RSIShort)

// Plot ATR bands to chart

////ATR Up/Low Bands


// Plot Moving Averages
plot(shortSMA, color =
plot(longSMA, color = color.yellow)


My CEX of choice

My CEX of choice
The best smart rebalance bot

Popular posts from this blog

How to use trading bots?

 This video here explains how to install trading bot using TradingView and Trader Adaptor TraderAdapter link:

Reserve Audit vs Exchange Reserves Data

If  you look into this top crypto exchanger list, there are some with Reserve Audit and some with the latter. Some with none at all. The list here by CoinMarketCap   What is Reserve Audit? A reserve audit is a process that involves verifying and validating the financial reserves held by a cryptocurrency exchange. It is conducted to ensure that the exchange has sufficient funds to cover its customers' deposits and withdrawals. The audit typically involves independent third-party firms or auditors who examine the exchange's bank accounts and cryptocurrency wallets to confirm the existence and accuracy of the declared reserves. The purpose of a reserve audit is to enhance transparency and instill confidence in the exchange's operations. What is Exchange Reserves Data? Exchange reserve data refers to the information or data related to the reserves held by a cryptocurrency exchange. This data can include details about the types and

BTC Liquidation map 10th July