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

Indicator Freezes & Crashes NT7

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

    Indicator Freezes & Crashes NT7

    Hi all, i been working on an indi today, it was working fine yesterday, but now every time I try to connect to live data my NT freezes & crashes, dont know what to look for, cant see the log after it freezes, im not an expert..

    Edit: It seems to crash when on calculate on BarClose= false

    Ive read some posts about memory leaks? dunno, just speculating..can someone with expertise have a look please
    Last edited by kabott; 09-22-2014, 08:14 AM.

    #2
    Hello kabott,

    Thank you for your post.

    Can you provide the .cs file for the indicator located on your PC in the following directory?
    • (My) Documents\NinjaTrader 7\bin\Custom\Indicator

    Comment


      #3
      Hi Patrick, sure, i edited my first post, now is there for download. Thank you Patrick

      Comment


        #4
        Hello kabott,

        Thank you for your response.

        I will test this on y end and follow up with you when I have information on your inquiry.

        Comment


          #5
          Thanks again Patrick!

          Comment


            #6
            Hello kabott,

            Thank you for your patience.

            Are there any special settings I need to use with the indicator? I was unable to reproduce the behavior on an ES 12-14 1 Minute or 1 Day chart switching between CalculateOnBarClose = true or false.

            Comment


              #7
              Hi, here are my seetings, im using it with the EURJPY, at barclose=true at the moment

              Price type Hybrid Renko, but it seems to crash with any price type on barclose=false

              Click image for larger version

Name:	settings.jpg
Views:	1
Size:	530.1 KB
ID:	872374
              Last edited by kabott; 09-22-2014, 09:45 AM.

              Comment


                #8
                This are my sitings for the Daily EurJpy Chart, standard candlestick price type, also calculating on BarClose=true at the moment, when i turn it "False", it crashes within seconds.

                Click image for larger version

Name:	settings-daily.jpg
Views:	1
Size:	491.8 KB
ID:	872375
                Click image for larger version

Name:	eurjpy.jpg
Views:	1
Size:	76.8 KB
ID:	872376

                Comment


                  #9
                  Hello kabott,

                  Thank you for your response.

                  Can you save the settings as a template and attach the template to your response?

                  To save a template please right click in the settings and select 'Set As Default for 'indicator''. The file will be a .XML file and will be located under the following directory on your PC: (My) Documents\NinjaTrader 7\templates\Indicator

                  Comment


                    #10
                    Hey, sure thing! but im getting an upload error, "invalid file" ive tried the .xml and a compressed file, ill keep trying

                    Comment


                      #11
                      Well, since im unable to upload the file here i have upload it to mega, here's the address, ist a zip file with .xml inside

                      MEGA provides free cloud storage with convenient and powerful always-on privacy. Claim your free 50GB now!

                      Comment


                        #12
                        Hi, good morning Patrick, have you been able to reproduce the indicator's crash conditions? let me know if i can be of any help.

                        Comment


                          #13
                          Hello kabott,

                          Thank you for your response.

                          I am unable to get the indicator to plot with or without the template, and with CalculateOnBarClose = true or false.

                          Have you tested your indicator on another PC?

                          Comment


                            #14
                            mm no, i haven't :/

                            Have you tried it on a daily chart? if you do it on a smaller timeframe it may need more bars to calculate the daily Supertrend, its a multi timeframe indi, the .xml was configured for daily bars

                            damn why are this things so complicated.. ok what should i do , what steps would you recommend?
                            Last edited by kabott; 09-23-2014, 09:56 AM.

                            Comment


                              #15
                              I fixed it, im so stupid, i forgot to check if i had enough bars to calculate one of the conditions :P

                              anyways, thanks for your patience Patrick

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by rhyminkevin, Today, 04:58 PM
                              3 responses
                              47 views
                              0 likes
                              Last Post Anfedport  
                              Started by iceman2018, Today, 05:07 PM
                              0 responses
                              5 views
                              0 likes
                              Last Post iceman2018  
                              Started by lightsun47, Today, 03:51 PM
                              0 responses
                              7 views
                              0 likes
                              Last Post lightsun47  
                              Started by 00nevest, Today, 02:27 PM
                              1 response
                              14 views
                              0 likes
                              Last Post 00nevest  
                              Started by futtrader, 04-21-2024, 01:50 AM
                              4 responses
                              50 views
                              0 likes
                              Last Post futtrader  
                              Working...
                              X