Files
ai/intro.html
Jenkins f61a5c422d VERSION 1.6 @ 2016-05-26 13:16:06.713921
Get TypeError when change timezone #1187
When you hide the series are not all the values in the legend are gray. #1186
Problem with Heikin Ashi and Real prices #1150
Menu background after removing timezone menu #1149
Some drawings incorrectly aligned on monthly bars #1141
Message dialog #1124
PineJS is not defined #1122
Hide drawings created with API from Objects Tree #1117
[Regression] Unable to drag data series/indicators into new panels #1109
Problem with "header_symbol_search" feature on mobile #1097
Bug with vertical axis in Firefox #1086
Missing Weekly Candle Critical Bug #1075
Customize default Precision of indicators #1068
Charting Library sometimes asks for exchange:ticker in /symbols requests #1065
Add feature to get mouse/cross hair position on onBarMarkClicked  #1061
Hide header controls and drawing toolbar in portrait on mobile #1048
Multiple logo in IE9 #1046
No timezone for Kathmandu, Nepal #1033
Saving a chart in onAutoSaveNeeded callback doesn't reflect latest changes #1032
Users need to touch drawing tool menu twice to use the tool in mobile #1029
Order/Execution/Position lines in Screenshot #981
insertIndicator panel adds indicators when scrolling panel on mobile #882
Support for America/Mexico_city timezone #761
Unable to disable Style | Scales | Background | Timezone/Sessions dialog in mobile preset  #745
South African Timezone #656
US Mountain Timezone (MST) #541
Study search works inconsistently in mini-dialog #499
2016-05-26 08:26:16 -05:00

77 lines
2.4 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>TradingView Charting Library demo</title>
<!-- Fix for iOS Safari zooming bug -->
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<script type="text/javascript" src="//code.jquery.com/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="charting_library/charting_library.min.js"></script>
<script type="text/javascript" src="charting_library/datafeed/udf/datafeed.js"></script>
<script type="text/javascript">
TradingView.onready(function()
{
var widget = new TradingView.widget({
fullscreen: true,
symbol: 'AA',
interval: 'D',
container_id: "tv_chart_container",
// BEWARE: no trailing slash is expected in feed URL
datafeed: new Datafeeds.UDFCompatibleDatafeed("https://demo_feed.tradingview.com"),
library_path: "charting_library/",
locale: "en",
// Regression Trend-related functionality is not implemented yet, so it's hidden for a while
drawings_access: { type: 'black', tools: [ { name: "Regression Trend" } ] },
enabled_features: ["chart_property_page_trading"],
disabled_features: ["use_localstorage_for_settings"],
charts_storage_url: 'http://saveload.tradingview.com',
charts_storage_api_version: "1.1",
client_id: 'tradingview.com',
user_id: 'public_user_id'
});
widget.onChartReady(function() {
var position = widget.createPositionLine()
.onReverse(function(text) {
})
.onClose(function(text) {
})
.setText("PROFIT: 71.1 (3.31%)")
.setQuantity("8.235")
.setLineLength(3);
position.setPrice(position.getPrice() - 2);
var order = widget.createOrderLine()
.onCancel(function(text) {
})
.setText("STOP: 73.5 (5,64%)")
.setLineLength(3)
.setQuantity("2");
order.setPrice(order.getPrice() - 2.5);
widget.createExecutionShape()
.setText("@1,320.75 Limit Buy 1")
.setTextColor("rgba(255,0,0,0.5)")
.setArrowSpacing(25)
.setArrowHeight(25)
.setArrowColor("#F00")
.setTime(new Date("3 Dec 2014 00:00:00 GMT+0").valueOf() / 1000)
.setPrice(15.5);
});
});
</script>
</head>
<body style="margin:0px;">
<div id="tv_chart_container"></div>
</body>
</html>