Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Where do I find info on markTime

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Where do I find info on markTime

    I have searched the help guide and this forum for markTime. My search draws a blank. I see this statement in a few scripts. It is linked with doing something at a certian/set interval, every 5 minutes for example, not doing something at different times. As an example, do something at 9:20 then do something at 10:22. I am not a programmer. I can piece togeather pieces from different scripts. I do not know if markTime is what I am looking for. What I would like to do is draw a vertical line at different times on a tick chart.
    I would appreciate it very much if someone would point me in the proper direction.
    Thank you.

    #2
    Hello jethro,

    Thank you for your post.

    I am unfamiliar with a markTime, it is not a function provided by NinjaScript by default. You can achieve what you are describing with a few other functions though, TriggerCustomEvent() and DrawVerticalLine().

    You could use a TriggerCustomEvent() with a system Timer object to create re-occurring events. This is unsupported though, hopefully a member can share their experiences with this.

    For more information on using TriggerCustomEvent() and DrawVerticalLine() please see the help guide articles here:



    Just let me know if I can assist you any further.
    DexterNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    574 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    332 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    553 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    551 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X