/// <summary> /// This function will be called before removing /// </summary> public override void Complete() { mql4.ObjectsDeleteAll(); NewLevel2Quote -= new NewLevel2QuoteHandler(NewLevel2QuoteComes); PriceUnsubscribe(QUOTE_LEVEL2); Comment(""); Print("deinit"); }
/// <summary> /// This function will be called after creating /// </summary> public override void Init() { kk=0; pp=0; mql4.ObjectsDeleteAll(); NewLevel2Quote += new NewLevel2QuoteHandler(NewLevel2QuoteComes); PriceSubscribe(QUOTE_LEVEL2); Print("init"); }
/// <summary> /// This function will be called after creating /// </summary> public override void Init() { kk = 0; pp = 0; mql4.ObjectsDeleteAll(); NewLevel2Quote += new NewLevel2QuoteHandler(NewLevel2QuoteComes); PriceSubscribe(QUOTE_LEVEL2); Print("init"); }
/// <summary> /// This function will be called before removing /// </summary> public override void Complete() { NewLevel2Quote -= new NewLevel2QuoteHandler(NewLevel2QuoteComes); PriceUnsubscribe(QUOTE_LEVEL2); Comment(""); }
/// <summary> /// This function will be called after creating /// </summary> public override void Init() { NewLevel2Quote += new NewLevel2QuoteHandler(NewLevel2QuoteComes); PriceSubscribe(QUOTE_LEVEL2); }
/// <summary> /// This function will be called before removing /// </summary> public override void Complete() { NewLevel2Quote -= new NewLevel2QuoteHandler(NewLevel2QuoteComes); ptl.PriceUnsubscribe(ptl.QUOTE_LEVEL2); platform.Comment(""); }