Get started
Community Scripts

calculation

Trading Ideas 10 Educational Ideas 7
Scripts 10

Indicators, Strategies and Libraries

All Types
All Types
Indicators
Strategies
Libraries
Open Sources Only
EMA Pro
BTCUSDT.P: EMA Pro
AlexShech AlexShech

Hi Traders! This Improved EMA Cross Pro Indicator does a few things that Ease Up Our Charting. Personally it Saved me Tons of Time searching for structure highs / lows, measuring ranges and distances from my entry to stop or take profit. It's like having most of your trade in front of you, charted for you. Works Across Assets & Time Frames. The Functions 1....

176
4
distance_ratio
BTCUSDT: distance_ratio
jason5480 jason5480 Updated 

Library "distance_ratio" Collection of types and functions that can be used for the calculation of the ratio of a distance from a barrier price using several methods. Methods supported are percentagewise (PERC), atr-based (ATR), fixed profit (PROF), tick-based (TICKS), risk reward ratio (RR) and local extrema (LOC). This library is meant to replace my...

9
0
Many Moving Averages
ETHUSD: Many Moving Averages
EsIstTurnt EsIstTurnt

A smooth looking indicator created from a mix of ALMA and LRC curves. Includes alternative calculation for both which I came up with through trial and error so a variety of combinations work to varying degrees. Just something I was playing around with that looked pretty nice in the end.

44
0
calc
BTCUSDTPERP: calc
kaigouthro kaigouthro Updated 

Library "calc" Library for math functions. will expand over time. split(_sumTotal, _divideBy, _forceMinimum, _haltOnError)   Split a large number into integer sized chunks   Parameters:      _sumTotal : (int) Total numbert of items      _divideBy : (int) Groups to make      _forceMinimum : (bool) force minimum number 1/group      _haltOnError : (bool) force...

5
3
Pip Value
BTCUSD: Pip Value
ashkanpower ashkanpower Updated 

This simple tool helps you manage your risk by calculating the exact price for pips. it only works for forex pairs.

325
4
Harmonic Trading Ratios Educational (Source Code)
BTCUSDT: Harmonic Trading Ratios Educational (Source Code)
RozaniGhani-RG RozaniGhani-RG Updated 

This table indicator was intended as educational purpose only for Harmonic Trading Ratios. The ratios are used for Harmonic AB=CD and XAB=CD. Ratio calculation are shown for Retracement and Projection based Primary, Primary Derived, Secondary Derived and Secondary Derived Extreme. Primary Retracement : 0.618 Primary Projection : 1.618 Please take note that...

210
2
MrBS:EMA/SMA/HMA (Heikin Ashi Calc)
BTCUSDT: MrBS:EMA/SMA/HMA (Heikin Ashi Calc)
MrBetonBlocks MrBetonBlocks Updated 

This indicator allows you to base the MA calculation from Heikin Ashi values on normal charts and/or the real OHLC values while looking at Heikin Ashi. There are 3 MA types you can select - EMA / SMA / HMA The colour is based on the slope. I made this to help me visualize my DMI+ strategy, when I was looking at taking signals from Heikin Ashi but looking at...

46
0
Time Offset Calculation Framework - PineCoders FAQ
XAUUSD: Time Offset Calculation Framework - PineCoders FAQ
PineCoders PineCoders Mod Updated 

█  OVERVIEW Calculating time-based offsets is necessary when coders need to draw lines or labels into the future because using `xloc = xloc.bar_time` in `label.new()` or `line.new()` is then mandatory. This script provides a function to help with those calculations: f_timeFrom(_from, _qty, _units) The function calculates a negative (into the past) or...

312
13
Position Calculator
BTCUSDTPERP: Position Calculator
Mysteriown Mysteriown Updated 

This script calculates how much cryptos or dollars you have to bet with 4 variables : Risk Loss , Leverage, Entry and Stop Loss. When you want to open a position, just complete the parameters and the script will tell you how much you have to bet in dollars or cryptos units, depending the way you're trading. Note : don't foreget that you have to pay fees on...

447
4
Code for Cup With Handle calculations (using Pine)
DAX: Code for Cup With Handle calculations (using Pine)
R2D2B2C2 R2D2B2C2

Cup with Handle formation calculations using Pine. First of all, ignore all other lines in the example chart except the two FAT lines. The two fat lines are the ones that define the Cup With handle or in the example chart: a Reversed Cup With Handle. Note: Handle does not always develop and sometimes the final target price is reached without forming any...

315
0
Love in every #TradingView
50M+

Traders and investors use our platform.

#1

Top website in the world when it comes to all things investing.

4.9

Rating from 1M+ reviews. No other finance apps are more loved.

10M+

Custom scripts and ideas shared by our users.

TradingView Chart on Instagram @olka_gadzieva

@olka_gadzieva

TradingView Chart on Instagram @monolith_trading

@monolith_trading

TradingView Chart on Instagram @TradingView

@TradingView

TradingView Chart on Instagram @mytradingsetup

@mytradingsetup

TradingView Chart on Instagram @youngtraderwealth

@youngtraderwealth

TradingView Chart on Instagram @zuko_carmona

@zuko_carmona

TradingView Chart on Instagram @tradecontext

@tradecontext

TradingView Chart on Instagram @jesseforexmt5

@jesseforexmt5

TradingView Chart on Instagram @setupstrading

@setupstrading

TradingView Chart on Instagram @miahouse9

@miahouse9

TradingView Chart on Instagram @scott.trades

@scott.trades

TradingView Chart on Instagram @zeroskiifrmz

@zeroskiifrmz

TradingView Chart on Instagram @Onlnternet

@Onlnternet

TradingView Chart on Instagram @unraveltrading

@unraveltrading

TradingView Chart on Instagram @tombaines_tts

@tombaines_tts

TradingView Chart on Instagram @tradinglifestylestore

@tradinglifestylestore

TradingView Chart on Instagram @the_sniper_trader

@the_sniper_trader

TradingView Chart on Instagram @ozonlayerfx

@ozonlayerfx

Alex Honnold on the rock

Whatever the trade

Here's whyHere's why
Products
  • Supercharts
  • Pine Script™
  • Stock Screener
  • Forex Screener
  • Crypto Pairs Screener
  • Crypto Coins Screener
  • Stock Heatmap
  • Crypto Heatmap
  • ETF Heatmap
  • Economic Calendar
  • Earnings Calendar
  • Sparks
  • News Flow
  • TradingView Desktop
  • Mobile app
  • CME Group futures
  • Eurex futures
  • US stocks bundle
Company
  • About
  • Features
  • Pricing
  • Wall of Love
  • Athletes
  • Manifesto
  • Careers
  • Blog
  • Security vulnerability
  • Status page
  • Terms of use
  • Disclaimer
  • Privacy policy
  • Cookies policy
  • Media kit
Community
  • Refer a friend
  • Ideas
  • Scripts
  • Streams
  • House rules
  • Moderators
  • Pine Script™ Wizards
  • Chat
For business
  • Widgets
  • Advertising
  • Charting libraries
  • Lightweight Charts™
  • Advanced Charts
  • Brokerage integration
  • Partner program
Download on the App Store Download on the App Store Get it on Google Play Get it on Google Play
Download Desktop app Download Desktop app Trade on TradingView Trade on TradingView
Select market data provided by ICE Data Services © 2023 TradingView, Inc.