Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

EasyLanguage to NinjaScript

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

  • RobinT
    replied
    Right click in your chart > select Data Series > select Custom Range under Load Data Based On > set the desired Start and End Date > OK.

    Can the amount of data loaded be controlled by Ninjascript and can I find out the screen resolution or bar spacing?

    Leave a comment:


  • NinjaTrader_PatrickH
    replied
    RobinT,

    There are no recommendations on where to place the files.

    You can use our reference samples as a guide for StreamWriter and System.IO functions: http://ninjatrader.com/support/forum...splay.php?f=30

    Leave a comment:


  • RobinT
    replied
    Environment.GetFolderPath(Environment.SpecialFolde r.MyDocuments);

    Leave a comment:


  • RobinT
    replied
    Is there a recommended place to put output files generated by the indicator.

    Leave a comment:


  • RobinT
    replied
    I just want to make sure my data is up to date before i start processing.

    Leave a comment:


  • NinjaTrader_PatrickH
    replied
    Hello RobinT,

    There is no function or method to scroll to or move to a set point on the chart in NinjaScript. An automated import of the historical data would not be supported within NinjaScript.

    Leave a comment:


  • RobinT
    replied
    Do you know how I can automate data import. If I provide a txt file with the updated historical data, how can I automate historical data import.

    Leave a comment:


  • RobinT
    replied
    In case I am not being clear:

    Tradestation does it:

    ChartingHost.ScrollTo (dtObj);

    where dtObj is a DateTime.

    and Multicharts:

    scrolltobar ( BarNumber ) ;

    where barnumber is a number of bars ago (same as GetBar (dtObj) )

    Leave a comment:


  • RobinT
    replied
    I can load data ok, I just want ninjascript to display a date on the screen

    Leave a comment:


  • NinjaTrader_PatrickH
    replied
    Hello RobinT,

    Right click in your chart > select Data Series > select Custom Range under Load Data Based On > set the desired Start and End Date > OK.

    Leave a comment:


  • RobinT
    replied
    I have uploaded 2 files. All I want the program to do is display the chart at different dates. I have shown 2-4-16 then 2-1-16. I enter the date i want as an input.
    Attached Files

    Leave a comment:


  • NinjaTrader_PatrickH
    replied
    RobinT,

    I may still not fully understand, but to control a drawing object for example on a specific area you could use the DateTime overload with Time.

    DateTime: https://msdn.microsoft.com/en-us/lib...v=vs.110).aspx

    Time: http://ninjatrader.com/support/helpGuides/nt7/time.htm

    Leave a comment:


  • RobinT
    replied
    The scrollbar at the bottom of the chart display controls which dates are displayed on the screen. Fully right the screen displays the most recent data, fully left and the oldest data is displayed.

    How do I control this by program, or how do I select where the chart is displaying?

    Leave a comment:


  • NinjaTrader_PatrickH
    replied
    Originally posted by RobinT View Post
    New Question.

    How do I position the display at a certain DateTime.

    If I position it at CurrentDate then it will make sure the software runs to completion but then I want to display the user selected date.
    RobinT.

    I am not sure I fully understand. Can you provide a screenshot or any examples?

    Leave a comment:


  • RobinT
    replied
    New Question.

    How do I position the display at a certain DateTime.

    If I position it at CurrentDate then it will make sure the software runs to completion but then I want to display the user selected date.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by kinfxhk, 07-14-2026, 09:39 AM
0 responses
127 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Started by kinfxhk, 07-13-2026, 10:18 AM
0 responses
105 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Started by kinfxhk, 07-13-2026, 09:50 AM
0 responses
85 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Started by kinfxhk, 07-13-2026, 07:21 AM
0 responses
105 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Started by kinfxhk, 07-11-2026, 02:11 AM
0 responses
86 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Working...
X