Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Timing of trading order

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

  • NinjaTrader_Bertrand
    replied
    Hi Jiri, what you describe here sounds like a typical StopMarket / StopLimit scenario use -



    It will let you getting stopped into a trade only if a price point is penetrated / broken.

    Leave a comment:


  • jiri_barta
    replied
    Dear Bertrand,

    I have this conditions:

    1) place order only in specific time (f.e. from 3:00 PM to 5:00 PM)
    2) if actual price > (open+2 ticks) make enter to the trade.

    First condition I can apply without problem, but the second I can´t and my tests are bad. Do you have some help? Thank.

    Leave a comment:


  • NinjaTrader_Bertrand
    replied
    jiri_barta, so you mean you would for example place a Stop market / limit order 3 ticks higher than the session open price value so you're stopped into a trade if the movement above it would continue during your order time?

    Leave a comment:


  • jiri_barta
    replied
    Other requirement to order

    Please, I have small problem with requirement (condition) in my strategy in programming in NT.

    What i want to do:

    1) first condition is,that order must be filled in specific time (f.e. from 14:00 to 15:00)- this I know how to do and NT is good running.

    2) second condition is, that order must be filled when is price under specific price after open (f.e. buy when price increase upon 3 ticks)- this I don t know how to do.

    So strategy has two condition, first is specific time and second is condition about price moving.

    Thank you.

    Leave a comment:


  • NinjaTrader_Bertrand
    replied
    Correct, in the sample code line the ToDay method is used to only return the current date from the timestamp.



    You remove that conversion and get the full timestamp based on C#'s Datetime structures or for example combine with a second call to add a ToTime(Time[0]) part in so you would get the time portion in integer form in your output, too. There's plenty of room to customize to what you seek.

    Leave a comment:


  • jiri_barta
    replied
    Now one more question, with this samples I can get data (open, high, low, close) and the date, but there is no time? I must use some other instrument?

    And please, does exist some manual how backtesting strategy?

    Thank you.
    Last edited by jiri_barta; 07-15-2014, 08:52 AM.

    Leave a comment:


  • NinjaTrader_Bertrand
    replied
    Correct, this is just a sample application of a custom indicator - you would need to likely further customize to your needs. It would not be under the Program Files folder but under the user folder, so your Windows Documentes folder > there'a NT7 subfolder where the file is stored per default (could be changed via the code as well).

    Leave a comment:


  • jiri_barta
    replied
    Correct, I have run it in a chart,..so I must to download myself? I have not found any folder in doc in folder NT7 in program files, thank you.

    Leave a comment:


  • NinjaTrader_Bertrand
    replied
    Jiri, you would need to apply it to a chart and it will then create a text data file in your Documentes > NinjaTrader7 folder which would contain exported chart data.

    Leave a comment:


  • jiri_barta
    replied
    thank you, I have downloaded, but it is indicator, how now I may export data via this? I have imported and now I can see in list of indicators in chart, but what is please next step to export data? Thank you.

    Leave a comment:


  • NinjaTrader_Bertrand
    replied
    Jiri, the Historical Data Manager would allow an export for any given source type of data only, the categories you presently see.

    You could be for example looking to export the data via NinjaScript directly from your present chart, i.e. the 15 min one you mentioned. Here's two samples that would introduce you to this concept - http://www.ninjatrader.com/support/f...ead.php?t=3477


    For the Excel import, you would likely need to 'massage' the data via the import tool. We're not experts for it here but if you can post perhaps a screenshot of the behavior you get we can take a look.

    Leave a comment:


  • jiri_barta
    replied
    Data from NT

    Dear, I have question for download data from NT. I can download to excel, but excel can´t read correct time of bars. The date is ok, but with time is problém, can you help me please?

    Next- I can download data only with time frame "day" and "minute" it is possible download in other format, f.e. in time frame "15 minute"?

    Thank you

    Leave a comment:


  • NinjaTrader_Bertrand
    replied
    That's correct, NT needs to be running and connected live to manage it for you.

    Leave a comment:


  • jiri_barta
    replied
    One moe question, when i close NT th automated tsrategy will not run? It is correct?

    Leave a comment:


  • NinjaTrader_Bertrand
    replied
    Great, thanks for the follow up.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by pechtri, 06-22-2023, 02:31 AM
9 responses
122 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by frankthearm, 04-18-2024, 09:08 AM
16 responses
64 views
0 likes
Last Post NinjaTrader_Clayton  
Started by habeebft, Today, 01:18 PM
1 response
5 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by benmarkal, Today, 12:52 PM
2 responses
13 views
0 likes
Last Post benmarkal  
Started by f.saeidi, Today, 01:38 PM
1 response
7 views
0 likes
Last Post NinjaTrader_BrandonH  
Working...
X