bharatTrader

Relative chart analysis using arithmetic operators

1259 views
138
Relative chart analysis using arithmetic operators.
Release Notes:
  • Now line plots are available and the default option
  • The 50 Period Moving Average is also plotted by default
Usage:
On can plot a combination of number of mathematical operators. The input source, can itself also be a combination of different scrips. For example, in this example, we compare (divide / ) HDFCBANK with a "synthetic benchmark" of other competing private banks by combining (AXIS + KOTAK + INDUSIND) in the input.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Comments

Please add option for candle or line chart as for spread chart, line is always better
Reply
bharatTrader anshulgupta1611
@anshulgupta1611, Yes, Good idea. I will do it shortly. Stay tuned.
Reply
Hi, is it possible to add line chart option also apart from candlestick charts in the indicator?
Reply
@laxma, Yes, Good idea. Coming up, shortly.
Reply
HI, can you make this a log chart, or tell me what edit is required for making it a log chart? I am used to seeing log chart which gives me a better view of price history if there have been significant up or down moves in the stock.
Reply
bharatTrader SauravMandal
@SauravMandal, Isn't is possible to select the log scale on the Y-axis?
Reply
SauravMandal bharatTrader
@bharatTrader, Oh yes...that was simple. Got it thanks :)
Reply
HOW TO USE THIS INDICATOR
Reply
@aashvee, Have a look at spread charts and their use. https://www.tradingview.com/support/solutions/43000502298-spread-charts/ This study will let you plot the spread chart just below your symbol for comparative analysis.
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out