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 Hwop38, 05-04-2026, 07:02 PM
    0 responses
    168 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    322 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    246 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    350 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    179 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X