Charting Library 1.5 (stable) Released!

The Charting Library  1.5 (stable) has been released! It has many new improvements and bug fixes, which were requested and reported by our wonderful community.

What’s new:

  1. Second-based timeframes. It’s possible to plot “X” seconds charts now, for example a 5 second or 20 second charts.
  2. Maximized panes. If you want to focus on a specific pane, simply double-click on a pane to maximize it. You can also do this by clicking maximize/minimize buttons in the right top corner of a pane.
  3. Customized default settings for a graphic object (GitHub issue #976). You can change settings of a drawing object to save them as new defaults.
  4. New symbol info dialog (GitHub issue #936). Show as many details for users as they need: symbol name, description, category, exchange, session info and much more.
  5. Custom colors for markers on bars (GitHub issue #914). Markers can now be used to display info on a specific interval of a chart. You can choose any RGB color for markers.
  6. An attribute to show last bar values (GitHub issue #780). Use the attribute ‘price_scale_always_last_bar_value’ to show actual last bar values instead of the last visible bar values
  7. Offset from UTC for various time zones (GitHub issue #838). Time zone offset is now displayed on charts.
  8. Cursor movement events (GitHub issue #735). Easier interaction with chart. If you subscribe to ‘crossHairMoved’ event, you can get info about price and date/time on the point where the cursor is located. It can be very useful if you want to display additional info on specific intervals.

More new features:

  1. Configurable delay after a character is typed into symbol search field and before it actually starts searching (GitHub issue #974).
  2. Configurable delay before onAutoSaveNeeded event triggers (GitHub issue #846).
  3. Feature that disables/enables Compare or Add Symbol buttons on chart (GitHub issue #694).
  4. Advanced settings for the Moving Average indicator (GitHub issue #676).
  5. Feature that allows to limit max. number of indicators on chart (GitHub issue #649).
  6. Feature for deactivating time zones menu (GitHub issue #647).
  7. Language files are significantly reduced in size for the charting library (GitHub issue #961).
  8. Requests to external resources, which decrease performance, are excluded (GitHub issue #421).

Bug fixes:

  1. Critical issue with graphic objects drawn “in future” on chart (GitHub issue #562).
  2. Incorrect titles of RSI plots (GitHub issue #1024).
  3. Empty chart tab when switching between Google Chrome tabs (GitHub issue #1015).
  4. Study Templates menu issue (GitHub issue #1013).
  5. Double Volume indicator when applying a study template (GitHub issue #1013).
  6. Critical issue upon clicking Remove All Indicators (GitHub issue #1008).
  7. Incorrect titles of Donchian Channels plots (GitHub issue #1006).
  8. Incorrect market status indicator on chart (GitHub issue #942).
  9. Levels reset for Fibonacci Retracement tool (GitHub issue #911).
  10. Complex charts don’t load (GitHub issue #956).
  11. Incorrect bar timestamps (GitHub issue #886).
  12. Market position line is displayed only on top pane (GitHub issue #880).
  13. Wrong symbol names cannot be processed (GitHub issue #871).
  14. Study templates with special characters cannot be applied to charts (GitHub issue #855).
  15. Some MACD plots are missing (GitHub issue #854).
  16. Chart saved with locked scale cannot load (GitHub issue #852).
  17. Issue with left side toolbar (GitHub issue #851).
  18. XSS security vulnerability in demonstration code (GitHub issue #847).
  19. Loading the same symbol on chart requests too much data (GitHub issue #841).
  20. Data loading error when local date is incorrect (GitHub issue #837).
  21. Snapshot menu is shown when ‘show_dialog_on_snapshot_ready’ is off (GitHub issue #836).
  22. Marks are incorrect when zooming in/out (GitHub issue #796).
  23. Volume indicator is applied on chart scrolling(GitHub issue #792).
  24. Wrong background color for snapshot button (GitHub issue #769).
  25. True Strength Indicator plots only the thin line (GitHub issue #758).

Over 400,000 snapshots shared!

Wohoo! A fun milestone was hit today – TradingView users have shared over 400,000 snapshots in public chat messages. The Snapshot button is available right above the chat window – it instantly shares an image of you chart with the group. A great way to quickly describe what you are talking about and help others learn.

Keep on sharing!

Historical data from FXCM on TradingView can be slightly different from FXCM Trading Station

Historical data from FXCM on TradingView can be slightly different from FXCM Trading Station. The reason of this is the FXCM API we currently use is capable of sending up to 2 ticks per 1 second, so in case of increased market activity some ticks are not counted, what might result in a slight difference of historical bars on www.tradingview.com vs. historical bars in FXCM Trading Station, where all ticks are displayed. We are working on the possible solution.

Real-time and intraday data from Indian Exchanges

Since today TradingView offers official real-time and intraday data from National Stock Exchange and from Bombay Stock Exchange. Pro, Pro Plus and Premium account holders can purchase BSE market data subscription for $4 per month. At the moment NSE data is available for free for all users:

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

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.

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

UPDATE:

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

https://forum.eset.com/topic/7567-jsscrinjectb-and-htmlrefreshbc-false-positive/

————————————————————————————————————————

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/

Workaround:

  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:

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

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.

 

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.

KEY FUNDAMENTALS COVERED IN THE WEBINAR

  • 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.

IN THE WEBINAR, YOU WILL RECEIVE:

  • 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

 

DAILYFX TOP TRADES OF 2016

Thursday, January 28
11:00 AM EST

REGISTER TODAY

 

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

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!

Real current price on Heikin Ashi charts!

You asked and we listened. The long-awaited check box that allows you to see real market price on Heikin Ashi chart type is finally available!

In chart properties you can check off “Show real prices on price scale (instead of Heikin-Ashi prices)”. If you do this and save the chart, this configuration will be used as default one for every new Heikin Ashi chart.

Important note! This checkbox affects only the current price label shown on the price scale.
Stay tuned for more improvements!