logo
  • menu
  • Markets
  • ETFs
  • Live
  • Spot
  • Futures
  • 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 is Bitwise Hyperliquid ETF? How Does BHYP Work?

    What is Bitwise Hyperliquid ETF? How Does BHYP Work?

    The Bitwise Hyperliquid ETF is a spot-based investment vehicle that holds the physical HYPE token rather than derivatives or futures contracts.
    Hallie Gill
    May 18, 2026
  • What is PaperTrade on HyperEVM? Is Zero Funding Real?

    What is PaperTrade on HyperEVM? Is Zero Funding Real?

    PaperTrade is a high-performance perpetual exchange deployed on HyperEVM, the permissionless smart contract layer of the Hyperliquid L1.
    Craig Green
    May 18, 2026
  • What Is Circle Arc? How Does the New USDC Blockchain Work?

    What Is Circle Arc? How Does the New USDC Blockchain Work?

    Circle Arc is a specialized Layer-1 blockchain developed by Circle Internet Financial, the issuer of the USDC stablecoin.
    Barry Stidham
    May 18, 2026

Latest Articles

Crypto Basics

Tutorials

Currencies

Investing

  • What is Bitwise Hyperliquid ETF? How Does BHYP Work?

    What is Bitwise Hyperliquid ETF? How Does BHYP Work?

    The Bitwise Hyperliquid ETF is a spot-based investment vehicle that holds the physical HYPE token rather than derivatives or futures contracts.
    Hallie Gill
    May 18, 2026
  • What is PaperTrade on HyperEVM? Is Zero Funding Real?

    What is PaperTrade on HyperEVM? Is Zero Funding Real?

    PaperTrade is a high-performance perpetual exchange deployed on HyperEVM, the permissionless smart contract layer of the Hyperliquid L1.
    Craig Green
    May 18, 2026
  • What Is Circle Arc? How Does the New USDC Blockchain Work?

    What Is Circle Arc? How Does the New USDC Blockchain Work?

    Circle Arc is a specialized Layer-1 blockchain developed by Circle Internet Financial, the issuer of the USDC stablecoin.
    Barry Stidham
    May 18, 2026
  • What is POD Token? How Does ITS Dolphin AI Flywheel Work?

    What is POD Token? How Does ITS Dolphin AI Flywheel Work?

    The POD token is the central utility and value-capture mechanism for the Dolphin AI inference network.
    James Dean
    May 13, 2026
  • How Much Would $100 Invested in Bitcoin in 2009 Be Worth Today?

    How Much Would $100 Invested in Bitcoin in 2009 Be Worth Today?

    If you had bought Bitcoin in 2009, a $100 investment would have bought approximately 111,111 Bitcoins. At a price of $75,000, that would be worth over $8.3 billion today.
    Craig Green
    Apr 28, 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
Opinion
OpinionOPN

$0.2464

+100.81%
Backpack
BackpackBP

$0.2730

+47.25%
StakeStone
StakeStoneSTO

$0.0800

+42.86%
Epic Chain
Epic ChainEPIC

$0.4970

+32.89%
Audiera
AudieraBEAT

$1.4088

+31.27%

Top Trending

View more
Internet Computer
Internet ComputerICP

$3.0420

-2.03%
Ethena
EthenaENA

$0.1096

+18.23%
Ondo
OndoONDO

$0.4157

+7.72%
Worldcoin
WorldcoinWLD

$0.5188

+28.83%
Binance Coin
Binance CoinBNB

$618.710

-6.24%

Recently added

View more
Citrea
CitreaCTR

$0.0177

+4.98%
Solstice
SolsticeSLX

$0.2610

-23.05%
Nexus
NexusNEX

$0.00000303

-10.40%
Zest Protocol
Zest ProtocolZEST

$0.1401

-5.56%
Animal Welfare Fund
Animal Welfare FundAWF

$0.001673

+10.50%

Latest News

View more
  1. 1Bitcoin Slumps Below $77k as Iran Tensions & Inflation Rise
  2. 2VerifiedX Launches Bitcoin Sidechain for Native DeFi Privacy
  3. 3Japan’s SBI and Rakuten Plan Crypto Trusts as Rules Finalize
  4. 4Senate Advances CLARITY Act: A New Era for U.S. Crypto Oversight
  5. 5US Inflation Hits 3.8%: High Rates to Stay, Crypto Pressured
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