示例#1
0
		/// <summary>
		///   施行信號屬性設定值
		/// </summary>
		/// <param name="property">信號屬性類別</param>
		public void ApplyProperty(SignalProperty property) {
			__cProperty = property;
			this.SetMaximumBarsReference(__cProperty.MaximumBarsReference);

			if (this.Bars != null) {  //如果已經有資料表示信號腳本已經啟動了
				CStudyInitialize();  //如果已經啟動才能執行初始化(尚未啟動不能執行初始化命令, 因為使用者自訂參數尚未被填入)
			}
		}
示例#2
0
		internal SignalSetting() {
			this.Property = new SignalProperty();
		}
示例#3
0
		/// <summary>
		///   建構子
		/// </summary>
		/// <param name="_ctx">相容 Multicharts 系統</param>
		public SignalObject(object _ctx) {
			__cProperty = new SignalProperty();
		}
示例#4
0
		internal void SetScriptSetting(ScriptSetting setting) {
			__cProperty = (setting as SignalSetting).Property;
		}