• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator: Manipulating DateTime objects

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

    Indicator: Manipulating DateTime objects

    An essential element of any trader's strategies or indicators is time. You may find yourself wanting a high and low marker for a certain timeframe or you might want something drawn on your charts during those choppy lunch hours. DateTime objects are included in the .NET framework, and they can be used to do any time related action, like limiting trading hours or finding the highest high between 9:30AM and 10:30AM.

    Key concepts in this example:
    • Common manipulation of DateTime objects


    Important related documentation:


    Import instructions:

    NinjaTrader 8
    1. Download the file contained in this thread to your PC desktop
    2. From the Control Center window, select the menu Tools > Import > NinjaScript
    3. Select the downloaded file


    NinjaTrader 7
    1. Download the file contained in this thread to your PC desktop
    2. From the Control Center window, select the menu File > Utilities > Import NinjaScript
    3. Select the downloaded file and click Import.
    Attached Files
    Last edited by NinjaTrader_Jesse; 05-03-2015, 12:30 PM.
    Josh P.NinjaTrader Customer Service

Latest Posts

Collapse

Topics Statistics Last Post
Started by Mykro, Today, 12:33 PM
1 response
4 views
0 likes
Last Post NinjaTrader_BrendanC  
Started by madams212121, Today, 12:03 PM
5 responses
17 views
0 likes
Last Post madams212121  
Started by tecmisc1, Today, 11:34 AM
2 responses
6 views
0 likes
Last Post tecmisc1  
Started by NtFan, Today, 10:42 AM
4 responses
14 views
0 likes
Last Post NtFan
by NtFan
 
Started by Leeroy_Jenkins, Today, 06:54 AM
1 response
8 views
0 likes
Last Post NinjaTrader_ChrisL  
Working...
X