logo
  • menu
  • Markets
  • ETFs
  • Live
  • Spot
  • Futures
  • Bots
  • Learn
  • Sign In
  • Sign Up
  • Downloads
  • English
  • |
  • USD
  • |
Sign Up
Crypto PricesLearnLatest NewsDownloadsMarketsSpotAnnouncements
Home/
Learn/
Crypto Basics

Trading highs and lows: How to trade with previous day high and low

By James Dean
Sep 16, 2022
4.3 
★
★
★
★
★
★
★
★
★
★
 212 User Rating
Share

Without the right trading tools, you can’t conduct effective technical analysis. A strong trading strategy will help you avoid common mistakes, improve your risk management, and increase your ability to identify and take advantage of opportunities. For many, TradingViewis the go-to charting platform. Offering a hub of technical analysis tools, the powerful HTML5 web application is used by millions to track movements in the Forex, cryptocurrency, and traditional stock markets.

TradingView has many powerful features: it allows us to track assets across numerous trading platforms and to publish trading ideas within its social network. In this article, we’ll focus on its customizability. We’ll be using Pine Script, TradingView’s own programming language, which grants us granular control over our chart layouts. This article will show you how to trade with previous day high and low.

What is Pine Script?

Pine Script is a scripting language that can be used to modify your TradingView charts. The platform already equips you with many features to do so, but Pine Script allows you to take it a step further. Whether you want to change the colors of your candlesticks or to backtest a new strategy, the Pine Editor will enable you to customize your real-time charts as you see fit.

The code itself is excellently documented, so be sure to check out the user manual for more information. Our goal in this tutorial is to discuss some of the basics and introduce indicators that can come in handy for cryptocurrency trading.

Setting up

It’s incredibly simple to get started with Pine Script. Any code we write is run on TradingView’s servers, so we can access the editor and develop our scripts from a browser – without any additional download or configuration required.

In this tutorial, we’re going to chart the Bitcoin/Binance USD (BTCBUSD) currency pair. If you don’t have one already, go ahead and create a free account (there’s a pro subscription available, too, but it isn’t necessary for this guide).

The Pine Editor

This editor is where the magic happens. We’ll tell it what we want to do, then click on Add to Chartto see our annotations appear above. Note that things can get messy if we include several annotations at once, so we’ll remove them between examples (right-click in the chart > Remove Indicators).

Plotting moving averages (MA)

Let’s move on to our first custom indicator – the exponential moving average, or EMA. This is a valuable tool as it allows us to filter out any market noise and smooth out price action.

EMA differs slightly from the simple moving average (SMA), in that it puts more weight in the most recent data. It tends to be more reactive to sudden movements and is often used for short-term plays

Plotting the Relative Strength Index (RSI) indicator

The Relative Strength Index (RSI)is another essential indicator in technical analysis. It’s known as a momentum indicator, meaning that it measures the rate at which assets are bought and sold. Presented on a scale of 0 to 100, an RSI score attempts to inform investors on whether assets are overbought or oversold. Typically, an asset may be considered oversold if it has a score less than or equal to 30, and it could be overbought with a score greater or equal to 70.

If you head to New > RSI Strategy, you can see this for yourself. RSI is generally measured over periods of 14 (i.e., 14 hours or 14 days), but you’re free to tweak that setting to suit your own strategy.

Backtesting

There is a way for us to test our custom indicators. Though past performance is no guarantee of future results, backtesting our scripts can give us an idea of how effective they are at picking up signals.

Tying it together

Time to write our own script by using some of the concepts we’ve seen so far. We’re going to combine EMA and RSI and use their values to color candlesticks, yielding insights that we can easily visualize. This shouldn’t be construed as financial advice – there’s no objectively correct way to use this indicator. As with all others, it should be used with other tools to develop your own strategy.

Closing thoughts

In this article, we’ve run through some basic examples of what you can do with TradingView’s Pine Editor. By now, you should be confident in making simple annotations to price charts to gain additional insights from your own indicators. Hope this article can help you address problems in trading highs and lows and give you some brand-new ideas about how to trade with previous day high and low.

Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of BitKan. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. BitKan shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. Products mentioned in this article may not be available in your region.

Related Articles

  • What Are ARC-20 Tokens? How Do ARC-20 Tokens Work?

    What Are ARC-20 Tokens? How Do ARC-20 Tokens Work?

    ARC-20 tokens are a fungible token standard built on the Atomicals protocol, where each token is backed by at least one satoshi to ensure a minimum floor value.
    James Dean
    Jul 27, 2026
  • What Is the Usual Protocol? How Does Its Tokenomics Work?

    What Is the Usual Protocol? How Does Its Tokenomics Work?

    The Usual Protocol is a decentralized, permissionless banking system that issues a fiat-backed stablecoin collateralized by Real-World Assets (RWAs) such as U.S. Treasury bills.
    James Dean
    Jul 24, 2026
  • What Are AI Agent Frameworks? How Do They Power Cryptocurrency?

    What Are AI Agent Frameworks? How Do They Power Cryptocurrency?

    AI agent frameworks are software toolkits that provide the control layer, memory, and orchestration logic required for agents to reason, plan, and execute multi-step tasks independently.
    Cornell Rachel
    Jul 21, 2026

Latest Articles

Crypto Basics

Tutorials

Currencies

Investing

  • What Are ARC-20 Tokens? How Do ARC-20 Tokens Work?

    What Are ARC-20 Tokens? How Do ARC-20 Tokens Work?

    ARC-20 tokens are a fungible token standard built on the Atomicals protocol, where each token is backed by at least one satoshi to ensure a minimum floor value.
    James Dean
    Jul 27, 2026
  • What Is the Usual Protocol? How Does Its Tokenomics Work?

    What Is the Usual Protocol? How Does Its Tokenomics Work?

    The Usual Protocol is a decentralized, permissionless banking system that issues a fiat-backed stablecoin collateralized by Real-World Assets (RWAs) such as U.S. Treasury bills.
    James Dean
    Jul 24, 2026
  • What Are AI Agent Frameworks? How Do They Power Cryptocurrency?

    What Are AI Agent Frameworks? How Do They Power Cryptocurrency?

    AI agent frameworks are software toolkits that provide the control layer, memory, and orchestration logic required for agents to reason, plan, and execute multi-step tasks independently.
    Cornell Rachel
    Jul 21, 2026
  • What Is JPYSC? How Japan’s Regulated Stablecoin Works

    What Is JPYSC? How Japan’s Regulated Stablecoin Works

    JPYSC is a digital version of the Japanese yen, engineered to maintain a 1:1 parity with the fiat currency while operating on blockchain infrastructure.
    Craig Green
    Jul 17, 2026
  • What Is Cross-Chain Interoperability? How Does It Function?

    What Is Cross-Chain Interoperability? How Does It Function?

    Cross-chain interoperability is the technological capability of independent blockchain networks to securely exchange assets, data, and functional instructions without central intermediaries.
    Jerry McNeill
    Jul 8, 2026
View more data 

Content

BTCBTC(BTC)
$0
--(Last 24h)
SpotFutures

Top

View more
  1. 1How To Sign Up For A BitKan Account (Web)?
  2. 2When Is Bitcoin Halving 2024? What Does Bitcoin Halving Do?
  3. 3What is Etherscan Used For and How to Find Token Decimal on Etherscan
  4. 4What is USDC used for? Why is USDC used?

Top Gainers

View more
Unipeg
UnipegUPEG

$738.660

+70.59%
Bless
BlessBLESS

$0.0209

+64.67%
OVERTAKE
OVERTAKETAKE

$0.0395

+41.01%
Biconomy
BiconomyBICO

$0.0153

+29.87%
Portal To Bitcoin
Portal To BitcoinPTB

$0.000881

+16.77%

Top Trending

View more
Sui Network
Sui NetworkSUI

$0.6883

-0.26%
SK Hynix Inc
SK Hynix IncSKHYNIX

$1,120.77

+0.09%
Bless
BlessBLESS

$0.0208

+64.37%
Bitcoin
BitcoinBTC

$62,954.39

-0.82%
Filecoin
FilecoinFIL

$0.7177

+0.60%

Recently added

View more
Grvt
GrvtGRVT

$0.2769

-1.65%
Direxion Semiconductor Bear 3X ETF
Direxion Semiconductor Bear 3X ETFSOXSB

$51.3300

-0.47%
VanEck Semiconductor ETF
VanEck Semiconductor ETFSMHB

$549.630

+0.58%
PayPal
PayPalPYPLB

$57.2000

-0.38%
Goldman Sachs
Goldman SachsGSB

$1,024.51

+0.93%

Latest News

View more
  1. 1Wall Street Banks Cautious as Crypto Perpetual Futures Arrive
  2. 2Bitcoin Steady at $65K; Fed Decision Set to Determine Path
  3. 3Mystery Shiba Inu Rally Hits 36% Fueled by Korean Exchanges
  4. 4AI Stock Selloff Hits Wall Street; Bitcoin Holds $65K Level
  5. 5Brazil’s CVM Launches 60-Day Sprint to Tokenize Securities
About Us
  • About BitKan
  • Contact Us
  • Announcements
  • VIP Program
  • BitKan Ambassador
  • Institutional Services
Products
  • Spot
  • Futures
  • Crypto Prices
  • Learn
  • News
  • Markets
  • How to Buy Crypto
  • BTC to USD Calculator
  • Reward
Help
  • Help Center
  • Email Us
  • Live Chat
  • Download APP
  • Listing Application
  • Buy Bitcoin
  • Buy Ethereum
  • Buy Dogecoin
  • Buy Altcoins
Terms
  • Terms of Use
  • Privacy Policy
  • Trading Rules
  • Fee
K-Site
English
About Us
+
  • About BitKan
  • Contact Us
  • Announcements
  • VIP Program
  • BitKan Ambassador
  • Institutional Services
Products
+
  • Spot
  • Futures
  • Crypto Prices
  • Learn
  • News
  • Markets
  • How to Buy Crypto
  • BTC to USD Calculator
  • Reward
Help
+
  • Help Center
  • Email Us
  • Live Chat
  • Download APP
  • Listing Application
  • Buy Bitcoin
  • Buy Ethereum
  • Buy Dogecoin
  • Buy Altcoins
Terms
+
  • Terms of Use
  • Privacy Policy
  • Trading Rules
  • Fee
K-Site
+
  • Twitter
  • Facebook
  • Telegram
  • YouTube
  • Instagram
  • Medium
  • Linkedin
@2012-2026 BITKAN.com