• 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 aviat72, Today, 03:39 PM
1 response
10 views
0 likes
Last Post NinjaTrader_Marco  
Started by momchi, Today, 10:17 PM
0 responses
3 views
0 likes
Last Post momchi
by momchi
 
Started by samuel, Today, 09:35 PM
1 response
3 views
0 likes
Last Post samuel
by samuel
 
Started by monty9d, Today, 08:12 PM
0 responses
5 views
0 likes
Last Post monty9d
by monty9d
 
Started by aligator, Today, 07:36 PM
0 responses
4 views
0 likes
Last Post aligator  
Working...
X