/// <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");
 }
示例#2
0
 /// <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");
 }
示例#4
0
 /// <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");
 }
示例#5
0
 /// <summary>
 /// This function will be called before removing
 /// </summary>
 public override void Complete()
 {
     NewLevel2Quote -= new NewLevel2QuoteHandler(NewLevel2QuoteComes);
     PriceUnsubscribe(QUOTE_LEVEL2);
     Comment("");
 }
示例#6
0
 /// <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 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);
     PriceUnsubscribe(QUOTE_LEVEL2);
     Comment("");
 }
示例#9
0
 /// <summary>
 /// This function will be called before removing
 /// </summary>
 public override void Complete()
 {
     NewLevel2Quote -= new NewLevel2QuoteHandler(NewLevel2QuoteComes);
     ptl.PriceUnsubscribe(ptl.QUOTE_LEVEL2);
     platform.Comment("");
 }