500K Ideas!

Woohoo! The TradingView community now boasts over half a million published ideas! That’s right, there are now over 500,000 ideas for you to study, learn from and get even better at trading. Keep ’em coming!

Real-time data from London Stock Exchange

Since today TradingView offers official real-time data from London Stock Exchange. Pro, Pro Plus and Premium account holders can purchase the following market data subscriptions:

  • London Stock Exchange (stocks of UK companies traded on LSE) for 8 USD per month
  • London Stock Exchange (stocks of international companies traded on LSE) for 4 USD per month.

We are constantly working on adding new markets on TradingView. Stay tuned for more improvements!

Clear your charts up!

You may have noticed the navigation buttons are now hidden. Don’t worry, if you point mouse cursor on where they used to be located, they will be revealed.

If you still want to have them shown by default, you can configure this in chart properties on the Background tab:



  • ‘Visible on Mouse Over‘ – navigation buttons are hidden until you put mouse cursor on them
  • ‘Always Visible‘ – the buttons are always shown
  • ‘Always Invisible‘  – the buttons are always hidden

Please note that as soon as you click ‘Ok’, visibility configuration for the navigation buttons will be applied for all your charts. ‘Visible on Mouse Over’ is new default setup.

New Fundamentals!

The following instruments have been added to the Indicators\Fundamentals section:

  • Market Cap;
  • Price/Earnings (PE Ratio);
  • Price/Earnings to Growth (PEG Ratio);
  • Price/Sales (PS Ratio);
  • Dividends Yield;
  • Price/Book Value per share;
  • Price/Cash Flow per share.

Please note that these tools work on symbols from NASDAQ, AMEX, NYSE.

Keep in mind that you can active Trailing Twelve Months indication:

Thank you for staying with us!

Spring cleanup!

TradingView is an open and democratic platform, where the community helps it grow and improve on a daily basis through requests, ideas and suggestions. Any community member could freely create a new public chat room if he / she thinks an interesting topic is missing. This approach has led to the creation of some very popular rooms, where everyday market conditions are discussed and ideas are shared in real-time. The most active rooms attract many daily visitors and get thousands (in some cases tens of thousands) of messages and snapshots per month.

This approach has worked well and got everyone started, and has filled its purpose. It also led to the creation of many rooms that lack an audience, or only get a few messages per month, or have an unclear purpose, or are duplicates of existing rooms, or became inactive over time, or have simply remained unused. With over 200 chat rooms created over the years, it’s getting increasingly difficult to pick the good ones through all the mess. Since public chats must add value and be relevant for the whole community, it’s time to review all of them and make appropriate changes to the creation process. The goal is to rationalise the current landscape of 200 rooms, making it easier to find the viable ones – and keep it that way.

To clean it all up:  

  1. as of today new public chat rooms can’t be created for a while
  2. all rooms will be reviewed by our moderators
  3. rooms with little to no activity, duplicate rooms and ones that add no value to the community will be deleted
  4. in 2 weeks, only members with upgraded plans  can request new rooms
  5. requests will be reviewed by moderators and rooms created when it makes sense. Any new room will have
    1. clarity of purpose
    2. added value
    3. viability, i.e. interesting to the public and aligned with the goals of the site and
    4. its purpose must not be currently met by existing rooms.

Thanks! Hope these changes will make everyone’s lives easier. Happy to answer any questions.

Transparency in Pine Scripts

Color type variables now have an additional parameter to set default transparency. There are 2 ways to configure transparency level:

1. #FFA50040 – the last 2 digits stand for 64% transparency (in hexadecimal system) for orange color (in RGBA format)

bgcolor (#FFA50040)

2. You can use the ‘color’ function to change transparency:

color(red, 70)
color(#FFA500, 80)



study(title="Shading the chart's background", overlay=true)
c = navy
bgColor =(dayofweek == monday) ? color(c, 50) :
    (dayofweek == tuesday) ? color(c, 60) :
    (dayofweek == wednesday) ? color(c, 70) :
    (dayofweek == thursday) ? color(c, 80) :
    (dayofweek == friday) ? color(c, 90) :
    color(blue, 80)


Of course, you still can control transparency in properties of a study on Style tab.


You can learn more in Pine Script Tutotrial and in Pine Script Referenc

Posted by / March 15, 2016 / Posted in Pine

Use only one account – registering with multiple accounts is not allowed.

TradingView is a community of investors and traders, who share and discuss trading ideas. This is why we allow registering only with one account. It’s a part of TradingView’s philosophy and mission. We are working toward bringing more transparency and accountability to discussions of the financial markets on the web.

Please note that if we find out a user has more than 1 account, all those accounts except for the original will be banned permanently. If we find out duplicate accounts have been used to artificially inflate one’s reputation score, a correction will be made to this score and the original account will be banned. Rating must be earned honestly.

Please follow the link to study all our House Rules.

Thank you for staying with us!

TradeIt in TradingView widgets!

We are happy to announce: you can place trades right from our widgets now! We have just plugged-in the TradeIt component, that allows sending orders via various popular brokers.
It is a very simple, quick and secure way of trading: 2 clicks and an order is placed!

To get access to this tool, please activate ‘Enable Trading with TradeIt’ in widget constructor: 

Or you can add the following line in widget code:

"tradeItWidget": true

Please follow the link to read official TradeIt press release.

False alarms from antivirus software


ESET has just released another update for NOD32 that eliminates problems with TradingView. Please install the antivirus update.



Eset has updated NOD32 today and this antivirus started to detect threats in www.tradingview.com, which is not infected of course. To learn more about reasons of such behavior, please follow the link: https://forum.eset.com/topic/7550-wrong-detection-website-infection-jsscrinjectb/


  1. Open the antivirus window
  2. Setup -> Toggle Advanced Mode – Yes
  3. Setup (in the right top corner of the window) -> Advanced Setup
  4. Web access protection -> HTTP, HTTPS -> Address Management
  5. Click on ‘List of allowed addresses’
  6. Add -> type *tradingview* -> Ok

Set a color for entire multi-line drawing

At your requests, we have added an option to set a color for all lines of a multi-line drawing object on chart. Now you can do this in 2 clicks. To do this, select a multi-line drawing applied to your chart and the new setting will be shown on its configuration bar.

Pick a color and this is it!

Also available in drawing object properties.

Stay tuned for more improvements!

House Rules update!

Please note that our House Rules have been updated.

Chat rooms:

  • Respect other members even if you disagree, don´t be unnecessarily confrontational.
  • Don’t openly argue with moderators or criticise moderation in general – send them a private message if you disagree with something.

New rules are added:

  • Don’t post trade calls without either a snapshot or a published chart to show the analysis.
  • Don’t chart-spam (posting the same chart over and over again without any changes).
  • Don’t brag and boast about results, let your analysis do the talking.

Notifications became more useful!

We have upgraded our notification system. There are 2 icons on the right panel now: Ideas Stream and Notifications. All updates related to ideas and people you follow are shown in Ideas Stream, while all likes and comments for your ideas and new followers are displayed in Notifications.

You can set all notifications to appear on the right side of your computer’s desktop. It means you can receive notifications, even if you are not on TradingView page (just keep a tab with TradingView in background in your browser).

The same desktop notifications will let you know about a fresh published idea or a new comment, while you are on another tab.

Desktop notifications became available even for chart alerts!

If you configure an alert to show popup or/and play sound in its settings, you will get a desktop notification when this alert triggers.

Please don’t forget to allow TradingView notifications in your browser settings.

We also optimized user profile settings by moving chat notification settings from that page into chats on the right panel.

Stay tuned for more improvements!

PINE: loops and mutable variables

We have updated Pine Script. The latest version contains the long-awaited features: loops and mutable variables. Besides, we released multiple improvements and bug fixes for strategies.

As you know, Pine Script is a series-oriented scripting language, where most of goals are achieved by converting series values with help of built-in functions. Yet we received a lot of feedback describing disadvantages of such approach and showing high demand on statements for loops.

Loop and mutable variables syntax is demonstrated below:

study("Simple Moving Average")
len = input(9)
sum = 0
for i = 0 to len-1
    sum := sum + close[i]

sum’ is a mutable variable and a new value can be given to it by an operator  ‘:=’ in body of the loop.

Please note that we recommend to use a built-in function ‘sma’ for Moving Average as it calculates faster.

It’s just a very simple example, the loop doesn’t even return a value here (a = for …). You can use ‘break’ and ‘continue’ in loop body and set a step size for the counter (for … by 2). To learn more about loops and mutable variable, check our Tutorial.

Read more about the Pine Script Language in the Pine Script Tutorial and in the Pine Script Reference.


Custom spread charts with QUANDL data!

We have improved the spread feature, so now you can use math operators to create custom spread charts with symbols from QUANDL. Just in case you didn’t know, it is possible to use the math operators (+-*/) to create a custom graph with any available symbols on TradingView. You can even use invariables in your formulas: “MSFT + 50”.

With the latest update, QUANDL symbols can be included in a spread formula. Please note that you need to quote whole symbol name, if this is a symbol from QUANDL. Here is an example: ‘QUANDL:BOC/V39066’ – ‘QUANDL:FRED/DTB6’


QUANDL is huge database that stores a lot of statistical and economical data from all over the world. TradingView gives you access to this data and allows you to operate it the way you want.
Stay tuned for more improvements!

FREE DailyFX “Top Trades of 2016” webinar

Dear Trader,

FXCM and TradingView invites you to an exclusive educational webinar on the top trading opportunities of 2016.

Join DailyFX’s Head Forex Trading Instructor, Jeremy Wagner, as he discusses the major fundamental drivers of the market and technical set-ups to look for this year. Register Now.


  • Monetary Policies – Find out which central banks are loosening/tightening and how diverging monetary policies may affect currencies such as USD, JPY, AUD, NZD, and GBP.
  • The China Story – Learn why China matters and how a slowdown in Asia may impact the FX and equities markets.
  • Brexit – Britain’s potential exit from the European Union could create major headwind for the Sterling. As we get closer to the EU referendum vote, uncertainty regarding the outcome could affect the value of the GBP.


  • A 25 page report on the DailyFX top trades
  • 13 trade opportunities from the DailyFX team
  • Live chart analysis with key levels noted
  • Q&A opportunity with Head Forex Trading Instructor Jeremy Wagner



Thursday, January 28
11:00 AM EST



Not a client of FXCM? Sign up for a demo or live account today to take advantage of today’s moves and benefit from FXCM’s acclaimed execution and superior trading resources, tools, and support.

Remember that forex trading can result in losses that could exceed your deposited funds and therefore may not be suitable for everyone, so please ensure that you fully understand the risks involved.

If you have any questions, please contact one of our specialists, who are available 24 hours a day, by live chat, by calling 1-888-503-6739, or by e-mail at info@fxcm.com

Alerts in Pine!

We have added the annotation function alertcondition allows you to create custom alert conditions in Pine studies.

The function has the following signature:

alertcondition(condition, title, message)

‘condition’ is a series of boolean values that is used for alert. Available values: true, false. True means alert condition is met, alert should trigger. False means alert condition is not met, alert should not trigger. It is a required argument.

‘tiile’ is an optional argument that sets the name of the alert condition.

‘message’ is an optional argument that specifies text message to display when the alert fires.

Here is example of creating an alert condition:

study("Example of alertcondition")
src = input(close)
ma_1 = sma(src, 20)
ma_2 = sma(src, 10)
c = cross(ma_1, ma_2)
alertcondition(c, title='Red crosses blue', message='Red and blue have crossed!')
plot(ma_1, color=red)
plot(ma_2, color=blue)

The function creates alert condition that is available in Create Alert dialog. Please note, that alertcondition does NOT fire alerts from code automatically, it only gives you opportunity to create a custom condition for Create Alert dialog. Alerts must be still set manually. Also, an alert triggered based on a custom condition you created in Pine code is not displayed on a chart.

One script may include more than one alertcondition.

To create an alert based on alertcondition, one should apply a Pine code (study) with alertcontidion to current chart, open the Create Alert dialog, select the applied Pine code as main condition for the alert and choose the specific alert condition (implemented in the code itself).


Posted by / January 22, 2016 / Posted in Pine

More events on charts!

As you know, we have added option to show most important events on FOREX, BitCoin and CFD charts. Now you can see even more events on intraday and 1 day charts! Orange (normal importance) and yellow (low importance) events are displayed on low timeframe charts, where they may affect price movements.
There is no need to configure anything, our intelligent system picks events for current chart timeframe for you.

We also improved our calendar tool: there is no need to guess on Friday what is coming on Monday anymore, because now you can see events for 5 next days in the calendar. The button “Closest Events” will help you quickly switch to nearest one.

Stay tuned for more improvements!

Notes in Watchlist

Did you know that it is possible to bind a text note to a symbol? You can easily do this from the right-click menu on chart or in Watchlist. You can also use keyboard shortcut (ALT+N) to quickly create a note on current symbol.

Symbols with notes have special icons in Watchlist:

Now if you point your mouse cursor on that icon, it will show the note header:

Click the icon to open it in the bottom panel.

Stay tuned for more improvements!

Maximized panes with symbol data or indicators

If you have multiple panes on your chart, it is now possible to maximize any of them to see more details.

To do this, simply double-click anywhere on the pane you want to maximize or click the icon in the top right corner:

When it is maximized, the icon turns blue. To minimize a pane to its original size, the same double click or icon click is needed.

Adjustable font size on scales

TradingView charts have flexible settings that allow you to configure current chart for your needs: colors of text and background, vertical and horizontal grid lines, crosshair, price scale labels, etc.

Here is one more: now you can change font size for text on the price and time scales. It is available on the Background tab in chart properties:

Of course, you can save it as part of a template and apply the template (including all other settings) in couple of mouse clicks.

Stay tuned for more improvements!