• 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

Multi Instrument Optimization

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

  • MyFirstMillion
    started a topic Multi Instrument Optimization

    Multi Instrument Optimization

    Hello,

    I am developing a strategy for Currency pairs. When I try to backtest the strategy, all the user defined variables disappear from the analyzer window. Is this something that can't be done with Ninjatrader?

    Thanks

  • MyFirstMillion
    replied
    Originally posted by NinjaTrader_ChelseaB View Post
    Hello MyFirstMillion,

    Thank you for including the export of the script.

    I am not able to run this script.

    Are you seeing any errors appear in the Log tab of the Control Center when testing this script?
    If so, what do these say?
    That fixed the issue. The symbol was incorrect. Thank you !

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello MyFirstMillion,

    Thank you for including the export of the script.

    I am not able to run this script.

    Are you seeing any errors appear in the Log tab of the Control Center when testing this script?
    If so, what do these say?

    Leave a comment:


  • MyFirstMillion
    replied
    Hello,

    There are no issues when a single instrument is involved but when I add multiple instruments, the user variables disappear and I am not able to use the optimizer.



    Thank You
    Attached Files

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hi MyFirstMillion,

    Using user defined inputs can be done in the Strategy Analyzer.

    If you select the SampleMACrossOver script are you able to see the Fast and Slow user defined inputs set for that example strategy? (This would let you know it is possible if done correctly)

    May we test an export of your script?
    To export a NinjaTrader 7 NinjaScript do the following:
    1. Click File -> Utilities -> Export NinjaScript
    2. Enter a unique name for the file in the value for 'File name:'
    3. Select the strategy from the objects list on the left -> click the right facing arrow ">" to add the strategy to the export
    4. Click the 'Export' button -> click 'yes' to add any referenced indicators to the export -> click OK to clear the export location message


    By default your exported file will be in the following location:
    • (My) Documents\NinjaTrader 7\bin\Custom\ExportNinjaScript\<export_file_name.z ip>


    Below is a link to the help guide on Exporting NinjaScripts.
    http://www.ninjatrader.com/support/h...nt7/export.htm

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by vevbarrq, Today, 12:11 AM
0 responses
1 view
0 likes
Last Post vevbarrq  
Started by johnnybegoode, Yesterday, 10:16 PM
0 responses
4 views
0 likes
Last Post johnnybegoode  
Started by reedstickets, Yesterday, 07:53 PM
0 responses
9 views
0 likes
Last Post reedstickets  
Started by Atilla, Yesterday, 04:05 PM
0 responses
31 views
0 likes
Last Post Atilla
by Atilla
 
Started by Displacer, Yesterday, 02:57 PM
2 responses
17 views
0 likes
Last Post Displacer  
Working...
X