Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

The name 'MIN' Does not exist

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

  • Tzachi
    replied
    Many thanks, works perfectly.

    Leave a comment:


  • NinjaTrader_PatrickH
    replied
    Tzachi,

    Thank you for your patience.

    You will need to replace the missing files in your installation (this is what the errors indicate). This occurs when you select 'Yes' to replace files in your installation that you do not need to replace or did not intend to. Any indicator with '@' in it's name should not be replaced. When you select 'Yes', if any of the files fail to import you will be left without the indicators you selected 'Yes' to replace.

    To resolve please follow the instructions below:
    • Shut down NinjaTrader
    • Go to Documents\NinjaTrader 7 on your PC
    • Rename the 'Config' file to 'Config.prev'
    • Go to Programs and Features in Windows (Start Menu > Control Panel or right click on the Start icon and select Programs and Features (Windows 10))
    • Then select NinjaTrader 7 and uninstall
    • Then reinstall NinjaTrader 7 from the following link: http://ninjatrader.com/GetStarted
    • Start NinjaTrader after the install
    • Once it has started up on your PC access the Control Center > File > Exit
    • Then go back to Documents\NinjaTrader 7 on your PC
    • Delete the 'Config' file (make sure NOT to delete the 'Config.prev' file you renamed earlier)
    • Then rename 'Config.prev' back to 'Config'
    • Start NinjaTrader and compile your indicators through the NinjaScript Editor right click menu under Tools > Edit NinjaScript > Indicators > select and indicator > OK


    Please let me know if you have any questions.

    Leave a comment:


  • Tzachi
    replied
    PatrickH,

    Any idea how to get rid of the above problem so can upload/create new indicators and be able to compile?

    Leave a comment:


  • Tzachi
    replied
    The error details below
    Attached Files

    Leave a comment:


  • Tzachi
    replied
    See below the errors notes.
    Attached Files

    Leave a comment:


  • NinjaTrader_PatrickH
    replied
    Hello Tzachi,

    Thank you for your post.

    Double click on the error and it will take you to the line of code that is causing the message. Then take a screenshot and attach it to your response.

    To send a screenshot with Windows 7 or newer I would recommend using Window's Snipping Tool.

    Learn how to use Snipping Tool to capture a screenshot, or snip, of any object on your screen, and then annotate, save, or share the image.


    Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screenshot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.

    How to take a screenshot on your smartphone, tablet, notebook or desktop computer

    Leave a comment:


  • Tzachi
    started a topic The name 'MIN' Does not exist

    The name 'MIN' Does not exist

    I try to compile (f5) and get errors- all are:

    The name 'MIN' (or 'MAX' on some errors) does not exist in the current context (CS0103)

    Any idea what's wrong?

    Thanks in advance,

    T.
    Last edited by Tzachi; 08-22-2016, 10:12 AM.

Latest Posts

Collapse

Topics Statistics Last Post
Started by bortz, 11-06-2023, 08:04 AM
47 responses
1,607 views
0 likes
Last Post aligator  
Started by jaybedreamin, Today, 05:56 PM
0 responses
9 views
0 likes
Last Post jaybedreamin  
Started by DJ888, 04-16-2024, 06:09 PM
6 responses
19 views
0 likes
Last Post DJ888
by DJ888
 
Started by Jon17, Today, 04:33 PM
0 responses
6 views
0 likes
Last Post Jon17
by Jon17
 
Started by Javierw.ok, Today, 04:12 PM
0 responses
15 views
0 likes
Last Post Javierw.ok  
Working...
X