Product Panel Implemented
This commit is contained in:
1 parent
8c764ae445
commit
2716ddbef1
16 files changed
+82
-147
No files matched your search
@@ -58,8 +58,8 @@ function newAccumulatedVolumeChartLayer() {
|
||||
viewPort.eventHandler.listenToEvent("Zoom Changed", onZoomChanged);
|
||||
canvas.eventHandler.listenToEvent("Drag Finished", onDragFinished);
|
||||
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.BUY_SELL_BALANCE);
|
||||
parentLayerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.VOLUME);
|
||||
layerStatus = botsPanel.getProductStatus(botsPanel.layerNames.BUY_SELL_BALANCE);
|
||||
parentLayerStatus = botsPanel.getProductStatus(botsPanel.layerNames.VOLUME);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ function newAllTimeChartLayer() {
|
||||
|
||||
}
|
||||
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.ATH);
|
||||
layerStatus = botsPanel.getProductStatus(botsPanel.layerNames.ATH);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ function newCandleStickChartLayer() {
|
||||
viewPort.eventHandler.listenToEvent("Zoom Changed", onZoomChanged);
|
||||
canvas.eventHandler.listenToEvent("Drag Finished", onDragFinished);
|
||||
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.CANDLESTICKS);
|
||||
layerStatus = botsPanel.getProductStatus(botsPanel.layerNames.CANDLESTICKS);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -51,8 +51,8 @@ function newCandleTechnicalAnalisysChartLayer() {
|
||||
|
||||
recalculateScale();
|
||||
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.CANDLE_STAIRS);
|
||||
parentLayerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.CANDLESTICKS);
|
||||
layerStatus = botsPanel.getProductStatus(botsPanel.layerNames.CANDLE_STAIRS);
|
||||
parentLayerStatus = botsPanel.getProductStatus(botsPanel.layerNames.CANDLESTICKS);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -54,8 +54,8 @@ function newForecastChartLayer() {
|
||||
viewPort.eventHandler.listenToEvent("Zoom Changed", onZoomChanged);
|
||||
canvas.eventHandler.listenToEvent("Drag Finished", onDragFinished);
|
||||
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.FORECAST);
|
||||
parentLayerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.CANDLESTICKS);
|
||||
layerStatus = botsPanel.getProductStatus(botsPanel.layerNames.FORECAST);
|
||||
parentLayerStatus = botsPanel.getProductStatus(botsPanel.layerNames.CANDLESTICKS);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -51,8 +51,8 @@ function newHighLowChartLayer() {
|
||||
|
||||
recalculateScale();
|
||||
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.HIGH_LOWS);
|
||||
parentLayerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.CANDLESTICKS);
|
||||
layerStatus = botsPanel.getProductStatus(botsPanel.layerNames.HIGH_LOWS);
|
||||
parentLayerStatus = botsPanel.getProductStatus(botsPanel.layerNames.CANDLESTICKS);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ function newLinearRegressionCurve() {
|
||||
|
||||
recalculateScale();
|
||||
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.LINEAR_REGRESION_CURVE);
|
||||
layerStatus = botsPanel.getProductStatus(botsPanel.layerNames.LINEAR_REGRESION_CURVE);
|
||||
}
|
||||
|
||||
function getContainer(point) {
|
||||
|
||||
@@ -68,7 +68,7 @@ function newOrderBooksChartLayer() {
|
||||
canvas.eventHandler.listenToEvent("Drag Finished", onDragFinished);
|
||||
canvas.eventHandler.listenToEvent("Dragging", onDragging);
|
||||
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.ORDER_BOOKS);
|
||||
layerStatus = botsPanel.getProductStatus(botsPanel.layerNames.ORDER_BOOKS);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ function newSupportResistanceChartLayer() {
|
||||
|
||||
recalculateScale();
|
||||
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.CANDLESTICKS); // TODO : Put the right layer name here when it exists.
|
||||
layerStatus = botsPanel.getProductStatus(botsPanel.layerNames.CANDLESTICKS); // TODO : Put the right layer name here when it exists.
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ function newVolumeChartLayer() {
|
||||
viewPort.eventHandler.listenToEvent("Zoom Changed", onZoomChanged);
|
||||
canvas.eventHandler.listenToEvent("Drag Finished", onDragFinished);
|
||||
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.VOLUME);
|
||||
layerStatus = botsPanel.getProductStatus(botsPanel.layerNames.VOLUME);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -50,8 +50,8 @@ function newVolumeTechnicalAnalisysChartLayer() {
|
||||
marketIndex = index;
|
||||
dailyFilesCursor = dailyFiles;
|
||||
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.VOLUME_STAIRS);
|
||||
parentLayerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.VOLUME);
|
||||
layerStatus = botsPanel.getProductStatus(botsPanel.layerNames.VOLUME_STAIRS);
|
||||
parentLayerStatus = botsPanel.getProductStatus(botsPanel.layerNames.VOLUME);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user