public Trigger(Strategy strategy, TriggerType type, DoubleSeries series, double level, Signal signal) : base() { this.pEXA4yCenN = Color.Brown; this.pZXAJFXyGb = Color.Green; this.YCKA0R33mr = Color.DarkGray; this.yXsAvQ0snw = true; this.wuIAEWD0JW = true; this.HKDAVnUw46 = "fdsdf"; this.nquAKcUOSY = strategy; this.k5kAXvwmyK = type; this.fISADbUH9Z = series; this.J3YAFHAWt0 = level; this.eiNALoFbZL = signal; this.lh4APrSwVL = TriggerStatus.Active; this.a9QA39LDVd = Clock.Now; this.gixAsE4W2J = DateTime.MinValue; this.nquAKcUOSY.YFmhKSovu(this); this.ULWAhR6fQR(); }
public virtual void OnStrategyPortfolioValueChanged(Strategy strategy) { }
public virtual void AddStop(Strategy strategy, double level, StopType type, StopMode mode) { PortfolioStop portfolioStop = new PortfolioStop(strategy, level, type, mode, true); }
public virtual void AddStop(Strategy strategy, DateTime time) { PortfolioStop portfolioStop = new PortfolioStop(strategy, time, true); }
public virtual void AddStop(Strategy strategy, DateTime time, bool stopStrategy) { PortfolioStop portfolioStop = new PortfolioStop(strategy, time, stopStrategy); }