• 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

The name 'MIN' Does not exist

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

  • 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.

  • 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.

    http://windows.microsoft.com/en-us/w...#1TC=windows-8

    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.

    http://take-a-screenshot.org/

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by mreanuzlazx, Today, 01:30 AM
0 responses
1 view
0 likes
Last Post mreanuzlazx  
Started by xinepev, Today, 12:33 AM
0 responses
4 views
0 likes
Last Post xinepev
by xinepev
 
Started by sun0781, Yesterday, 05:02 PM
0 responses
9 views
0 likes
Last Post sun0781
by sun0781
 
Started by ronhb107, 09-12-2019, 10:09 AM
4 responses
44 views
0 likes
Last Post Mr.Trader  
Started by rwilliam, Yesterday, 03:55 PM
0 responses
4 views
0 likes
Last Post rwilliam  
Working...
X