NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 02-07-2011, 03:48 AM   #1
Morphy
Member
 
Join Date: Aug 2010
Location: Italy
Posts: 32
Thanks: 0
Thanked 0 times in 0 posts
Default First indicators with NT7

Hi Guys,

I’m an Italian Tarder (sorry for my English)
Using the NT 7.0.1000.2. Win7 OS. Connected with InteractiveBrokers
On a PC I use the version version: Regular
On another PC (where I write code) I use the version: Simulation Only.

As a test I wrote a simple indicator that shows me the minimum.

It happens that, at some point in the work, something begin to fail. Something that used to work.

Look at the graphs
No longer works on the timeframe to 5 minutes, but it works on all other timeframes (for example, the 3 min).

Another question: Where can I reset everything without having to reinstall the NT7? Is there a particular file to be deleted?

Thanks,
morphy
Attached Images
File Type: png File1.png (86.6 KB, 5 views)
Morphy is offline  
Reply With Quote
Old 02-07-2011, 05:47 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

Morphy, if you look at your log tab of the Control Center as the indicator stops working for you - do you see any errors listed there?

There's unfortunatley no file that would contain all customizations done to NinjaTrader since installing - what info are you looking to reset to default?

Thanks,
NinjaTrader_Bertrand is online now  
Reply With Quote
Old 02-07-2011, 06:16 AM   #3
Morphy
Member
 
Join Date: Aug 2010
Location: Italy
Posts: 32
Thanks: 0
Thanked 0 times in 0 posts
Default

In the "Log", this error message is generated when step in the timeframe to 5 minutes
Attached Images
File Type: png File2.png (68.6 KB, 8 views)
Morphy is offline  
Reply With Quote
Old 02-07-2011, 06:18 AM   #4
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

Thanks, you very likely run into this issue here - http://www.ninjatrader.com/support/f...ead.php?t=3170
NinjaTrader_Bertrand is online now  
Reply With Quote
Old 02-07-2011, 06:33 AM   #5
Morphy
Member
 
Join Date: Aug 2010
Location: Italy
Posts: 32
Thanks: 0
Thanked 0 times in 0 posts
Default

I added in OnBarUpdate ():
if (CurrentBar < 1) return;

Everything seems OK

Thanks,
morphy
Morphy is offline  
Reply With Quote
Old 02-07-2011, 06:35 AM   #6
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

Thanks for reporting back, glad to hear it!
NinjaTrader_Bertrand is online now  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't import indicators from NT7 to NT7 kaywai Installation and Licensing 2 01-08-2011 06:27 PM
Using NT6.5 Indicators on NT7 loxics Indicator Development 1 09-02-2010 04:02 AM
requested indicators for NT7 rehtrade Version 7 Beta General Questions & Bug Reports 1 07-06-2010 04:58 AM
Custom indicators and NT7 chartlearner Indicator Development 1 02-10-2010 09:19 AM
MTF Indicators in NT7 whitmark Version 7 Beta General Questions & Bug Reports 3 10-05-2009 07:36 AM


All times are GMT -6. The time now is 06:10 AM.