Skip to main content

New Pine Script: EMA Cross

This is a simple momentum strategy. Buy on EMA cross over, sell on EMA cross under. The fast length is EMA 29, the slow length is EMA 2100.  

Strategy Description: EMA29 crossover EMA2100

Expected potential ROI Monthly (in sideway/bullish market): 20%

Recommended Settings:


Time frame: 5min

Initial Capital: 100

Base Currency: Default

Order Size: 100% equity

Pyramiding: 1

Commission: 0.1 %

Exit strategy: EMA cross under

Take Profit: -

Stop Loss: -

strategy("EMA29crossEMA2100[]", overlay=true)

// Define the inputs
ema29Length = input(29, title="EMA 29 Length")
ema2100Length = input(2100, title="EMA 2100 Length")

// Calculate the indicators
ema29 = ema(close, ema29Length)
ema2100 = ema(close, ema2100Length)

// Define the entry conditions
enterLong = crossover(ema29, ema2100)

// Define the exit conditions
exitLong = crossunder(ema29, ema2100)

// Execute the strategy
if (enterLong)
    strategy.entry("Buy", strategy.long)
if (exitLong)


My CEX of choice

My CEX of choice
The best smart rebalance bot

Latest Crypto Fear & Greed Index

Popular posts from this blog

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

How to use trading bots?

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

BTC Liquidation map 10th July