Exemplo n.º 1
0
        protected override void InitExample()
        {
            var priceData = DataManager.Instance.GetPriceDataEurUsd();

            var pricePaneModel  = new PricePaneModel(Activity, priceData);
            var macdPaneModel   = new MacdPaneModel(Activity, priceData);
            var rsiPaneModel    = new RsiPaneModel(Activity, priceData);
            var volumePaneModel = new VolumePaneModel(Activity, priceData);

            InitChart(PriceChart, pricePaneModel, true);
            InitChart(MacdChart, macdPaneModel, false);
            InitChart(RsiChart, rsiPaneModel, false);
            InitChart(VolumeChart, volumePaneModel, false);
        }
Exemplo n.º 2
0
        protected override void InitExample()
        {
            _axisAreaSizeSync.SyncMode = SCIAxisSizeSyncMode.Right;

            var priceData = DataManager.Instance.GetPriceDataEurUsd();

            var pricePaneModel  = new PricePaneModel(priceData);
            var macdPaneModel   = new MacdPaneModel(priceData);
            var rsiPaneModel    = new RsiPaneModel(priceData);
            var volumePaneModel = new VolumePaneModel(priceData);

            InitChart(PriceChart, pricePaneModel, true);
            InitChart(MacdChart, macdPaneModel, false);
            InitChart(RsiChart, rsiPaneModel, false);
            InitChart(VolumeChart, volumePaneModel, false);
        }