NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript File Sharing > NinjaScript File Sharing Discussion

NinjaScript File Sharing Discussion Discussion for shared NinjaScript files.

Reply
 
Thread Tools Display Modes
Old 07-02-2012, 07:40 PM   #1
Turtle Trader
Senior Member
 
Join Date: May 2009
Posts: 343
Thanks: 0
Thanked 0 times in 0 posts
Default Unable to import AutoTrendLine indicator from Forum

I'm trying to import the AutoTrendLine indicator from the file sharing section of this forum.

Please see attachments.

Once this fails I cannot do anything with scripts....

I uninstalled Ninja and reinstalled it fresh and still the same problem.

It is the same whether I say to replace @Swing.cs or not. Both replys create this error.

Good thing I am using a test computer and not my production machine!

Please advise...thank you.
Attached Images
File Type: png SNAG-0006.png (6.7 KB, 7 views)
File Type: png SNAG-0007.png (6.9 KB, 6 views)
Turtle Trader is offline  
Reply With Quote
Old 07-02-2012, 07:50 PM   #2
Radical
Senior Member
 
Join Date: Sep 2008
Posts: 543
Thanks: 80
Thanked 187 times in 131 posts
Default

Instead of importing, try copying the .cs file to NT7\bin\Custom\Indicators and opening the indicator in the NinjaScript editor. Then try to compile it and see what errors it gives you.
Radical is offline  
Reply With Quote
The following user says thank you to Radical for this post:
Old 07-03-2012, 01:04 AM   #3
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,569
Thanks: 262
Thanked 1,018 times in 999 posts
Default

Please try with this updated zip attached, Draw method overloads changed going to NT7, you likely run into this...
Attached Files
File Type: zip AutoTrendLineNT7.zip (6.2 KB, 17 views)
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 07-03-2012, 04:59 AM   #4
Turtle Trader
Senior Member
 
Join Date: May 2009
Posts: 343
Thanks: 0
Thanked 0 times in 0 posts
Default thank you Bartrand

the version you posted here works great...really cool...thank you
Turtle Trader is offline  
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
Autotrendline bugman4/u Suggestions And Feedback 9 09-02-2011 07:47 AM
Unable to import indicators eclipsed Miscellaneous Support 41 09-19-2010 01:23 PM
AutoTrendLine and Indicator? dsraider Indicator Development 43 07-23-2010 02:44 PM
Unable to import indicator rsi77 Charting 1 04-28-2009 01:27 PM
Unable to import more indicators server Indicator Development 2 12-13-2007 12:09 PM


All times are GMT -6. The time now is 10:33 PM.