Example #1
0
		public override void SetTradingParametersImplements(StrategyView strategyView)
		{
			string label = strategyView.CurrencyPair + strategyView.Interval.ToString() 
							+ strategyView.Trading.ToString() + strategyView.Signal.ToString() 
							+ strategyView.Notional.ToString();

			this.AddStrategy(label);
			this.SetMovingAverageInterval(label, strategyView.CurrencyPair, strategyView.Interval, strategyView.Color);
			this.SetTradingSignal(label, strategyView.CurrencyPair, strategyView.Trading);
			this.SetCrossSignal(label, strategyView.CurrencyPair, strategyView.Signal);
			this.SetNotional(label, strategyView.CurrencyPair, strategyView.Notional);	
		}
Example #2
0
		public virtual void SetTradingParametersImplements(StrategyView strategyView) { }
Example #3
0
		public void SetTradingParameters(StrategyView strategyView)
		{
			this.SetTradingParametersImplements(strategyView);
		}