Results 1 to 2 of 2

Thread: Object Issue

  1. #1
    Senior Member
    Join Date
    Nov 2015
    Posts
    126

    Default Object Issue

    Hi sir,

    I have attached a script. I have displayed some object in this script. This objects creates dynamically according to orders.
    Currently i call the function of calculation on oncalculate. But i want this function is on ontick(). because that figures should be changed on every tick. But i call that function on ontick method i goed into infinite loop. please suggest the solution.

    Thanks,
    BGT
    Attached Files Attached Files

  2. #2
    Administrator Rawan-HS's Avatar
    Join Date
    Apr 2015
    Posts
    411

    Default

    Quote Originally Posted by BGT View Post
    Hi sir,

    I have attached a script. I have displayed some object in this script. This objects creates dynamically according to orders.
    Currently i call the function of calculation on oncalculate. But i want this function is on ontick(). because that figures should be changed on every tick. But i call that function on ontick method i goed into infinite loop. please suggest the solution.

    Thanks,
    BGT
    I found that you are always delete all the object onTick or at onCalculate method , I guess the infinit loop or the hang it came from that reason
    try to update the object value instead of delete it , and I guess the update object at each tick time it will hang the system or make it slower we will check that issue and I will update you once we figure out the issue

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Object Issue
    By BGT in forum VertexFX API/VTL Forum
    Replies: 0
    Last Post: 08-08-2021, 01:31 PM
  2. Help in object function
    By BGT in forum VertexFX API/VTL Forum
    Replies: 2
    Last Post: 01-11-2021, 03:55 PM
  3. Excel Object's Event Handler in Client VTL
    By Edakad in forum VertexFX API/VTL Forum
    Replies: 5
    Last Post: 07-27-2017, 07:14 AM
  4. Client VTL - How to get GUI Object Text Box properties
    By Edakad in forum VertexFX API/VTL Forum
    Replies: 2
    Last Post: 05-26-2016, 12:50 PM
  5. Object Name of Custom Indicator plot
    By Edakad in forum VertexFX API/VTL Forum
    Replies: 3
    Last Post: 06-22-2014, 08:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •