Critical bug | Drawing Objects in the empty space in front of the chart #562

TradingView functionality bug #549
Loading data infinite loop #526
Time scale marks get stale after new bars came #500
When full screen, tools are not shown #457
Bug when drawing a line with its closing end outside the last bar #426
Option to disable border #420
Removing an entry from context menu #412
This commit is contained in:
Eugene
2015-07-01 10:49:32 +03:00
parent 2ce6342882
commit c32ff2135c
40 changed files with 38082 additions and 14958 deletions

View File

@@ -1,3 +1,4 @@
<!DOCTYPE html>
<html>
<head>
@@ -5,12 +6,12 @@
<!-- 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" src="//code.jquery.com/jquery-2.1.0.min.js"></script>
<script type="text/javascript">
TradingView.onready(function()
@@ -31,6 +32,7 @@
charts_storage_url: 'http://saveload.tradingview.com',
client_id: 'tradingview.com',
user_id: 'public_user_id'
});
widget.onChartReady(function() {
@@ -41,16 +43,16 @@
})
.setText("PROFIT: 71.1 (3.31%)")
.setQuantity("8.235")
.setLineLength(3);
position.setPrice(position.getPrice() - 2);
.setLineLength(3);
position.setPrice(position.getPrice() - 2);
var order = widget.createOrderLine()
.onCancel(function(text) {
})
.setText("STOP: 73.5 (5,64%)")
.setLineLength(3)
.setLineLength(3)
.setQuantity("2");
order.setPrice(order.getPrice() - 2.5);
order.setPrice(order.getPrice() - 2.5);
widget.createExecutionShape()
.setText("@1,320.75 Limit Buy 1")
@@ -58,10 +60,10 @@
.setArrowSpacing(25)
.setArrowHeight(25)
.setArrowColor("#F00")
.setTime(new Date().valueOf())
.setTime(new Date("3 Dec 2014 00:00:00 GMT+0").valueOf() / 1000)
.setPrice(15.5);
});
})
});
</script>