コード例 #1
0
        protected override void OnMouseEnter(MouseEventArgs e)
        {
            //this.UpdateZone(this.GetZone(e.GetPosition(this)));
            BookZone bz = ZoneDetector.GetZone(this.RenderSize, this.FoldSize, e.GetPosition(this), this.Orientation);

            this.UpdateZone(bz);
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: jorik041/nakedfx
        static void Main(string[] args)
        {
            var zoneDetector = new ZoneDetector();

            var detector = new KangarooTailDetector(zoneDetector);
            detector.Start();

            var firstCandle = new Candle();
            detector.AddNewCandle(firstCandle);

            var secondCandle = new Candle();
            detector.AddNewCandle(secondCandle);
        }
コード例 #3
0
ファイル: Program.cs プロジェクト: nazrul-github/nakedfx
        static void Main(string[] args)
        {
            var zoneDetector = new ZoneDetector();

            var detector = new KangarooTailDetector(zoneDetector);

            detector.Start();

            var firstCandle = new Candle();

            detector.AddNewCandle(firstCandle);

            var secondCandle = new Candle();

            detector.AddNewCandle(secondCandle);
        }
コード例 #4
0
ファイル: BigShadowDetector.cs プロジェクト: jorik041/nakedfx
 public BigShadowDetector(ZoneDetector zoneDetector)
 {
     _zoneDetector = zoneDetector;
     _latestCandles = new CandleCollection(5); // store last 5 candle // better > 10 candlestick
 }
コード例 #5
0
 private void Awake()
 {
     instance = this;
 }
コード例 #6
0
 public KangarooTailDetector(ZoneDetector zoneDetector)
 {
     _zoneDetector = zoneDetector;
     _latestCandles = new CandleCollection(10);
 }
コード例 #7
0
 public BigShadowDetector(ZoneDetector zoneDetector)
 {
     _zoneDetector  = zoneDetector;
     _latestCandles = new CandleCollection(5); // store last 5 candle // better > 10 candlestick
 }
コード例 #8
0
 public KangarooTailDetector(ZoneDetector zoneDetector)
 {
     _zoneDetector  = zoneDetector;
     _latestCandles = new CandleCollection(10);
 }