Setup Our Indicator on TradingView

Don’t Worry, It’s Easier Than It Looks — No Math Degree Needed.
Why TradingView?

While the Bloomberg Terminal is the gold standard for financial institutions — trusted by commercial banks, investment firms, and accounting giants, but its $25,000+ annual price tag puts it far beyond the reach of most retail traders.

That’s why we’ve brought the power of these institutional-grade indicators to a more accessible platform: TradingView. Now you can leverage the same powerful tools used to manage billions, without breaking the bank. We’re providing the full source code so you can see exactly how it works. Here’s how to set it up and start using it today.

Source:
https://www.tradingview.com/chart/
https://www.bloomberg.com/professional/products/bloomberg-terminal/

Step One — Accessing TradingView Supercharts

To begin, head over to TradingView. On the navigation bar, locate the Supercharts feature and click on it to open the advanced charting interface. This will serve as the canvas for setting up and utilizing your indicator.

image
Step Two — Pasting the Indicator Source Code 

Next, copy the source code for the indicator that we've provided. In TradingView, open the Pine Editor from the lower part of the screen. Paste the copied code into the editor and click Save. Be sure to give it a unique name for easy identification later. This will upload the indicator to your TradingView account, ready for use.

Sample Source Code for Copy Paste

study(title="MACD Crossover", shorttitle="MACD Crossover")
fastLength = input(8, minval=1)
slowLength = input(16,minval=1)
signalLength=input(11,minval=1)
hline(0, color=purple, linestyle=dashed)
fastMA = ema(close, fastLength)
slowMA = ema(close, slowLength)
macd = fastMA - slowMA
signal = sma(macd, signalLength)
pos = iff(signal < macd , 1, iff(signal > macd, -1, nz(pos[1], 0)))
barcolor(pos == -1 ? red: pos == 1 ? green : blue)
plot(signal, color=red, title="SIGNAL")
plot(macd, color=blue, title="MACD")

image
Step Three — Adding the Indicator to Your Chart

Once the code is saved, click "Add to chart" in the Pine Editor. This will apply the indicator to your active chart. Afterward, close the Pine Script editor, and voilà – your indicator is now fully set up and ready to use! You can begin analyzing the data with the indicator applied.

image