Exemplo n.º 1
0
        private bool GetClose(string label)
        {
            var h_poss = this.GetPositions(label, Symbol);

            if (h_poss.Length != 0)
            {
                int barsago = MarketSeries.barsAgo(this.FirstPosition(h_poss));
                if (barsago > 24 || h_poss.Length > 1)
                {
                    return(true);
                }
            }
            return(false);
        }