Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Time bands

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

    Time bands

    Hi, I want to set my background color to gray during certain periods of the day that I set in my indicator parameter list. For example, gray out the background from 12:00 PM for 60 minutes to be a visual reminder that is lunch time for most trading activity. I can hard code this but would like to be able to enter the time and the minutes, and then calculate the range internally. Is there a parameter that handles time, like there is for "Color". thanks

    #2
    Hello pman777,
    You can use the TimeSpan structure to do it. Please refer to msdn to know more about it
    JoydeepNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by sjsj2732, Yesterday, 04:31 AM
    0 responses
    39 views
    0 likes
    Last Post sjsj2732  
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    290 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    289 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    135 views
    1 like
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    96 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Working...
    X