Ejemplo n.º 1
0
        private void MadeStopRayHorizontal()
        {
            double position = _strategy.RayPrice(StopRay);

            StopRay.Anchor1Y = position;
            StopRay.Anchor2Y = position;
        }
        public void UpdateExistingSlopeRay(IRay ray)
        {
            double price = _strategy.RayPrice(ray);

            _dot  = _strategy.DrawDot("slopeDot", false, 0, price, Color.Black);
            _text = _strategy.DrawText("SlopeText", TextForma(price), 0, price, Color.Black);
            _strategy.ChartControl.ChartPanel.Invalidate();
        }