![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Mar 2008
Posts: 69
Thanks: 0
Thanked 0 times in 0 posts
|
Trying to learn exactly how NS works. I have read through some of the simple tutorials in the manual and they were helpful but I'm curious to know what is going on in the following blocks of code. I don't quite follow. I would appreciate an explanation of what's going on on each block of code and why.
Thanks anyone! Even short answers will be appreciated. ![]() ![]() ![]() |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Unfortunately this is beyond the scope of what we provide support for.
Note: You NEVER should EVER change any line of the code section hidden.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jul 2007
Location: Fairfax, VA
Posts: 216
Thanks: 0
Thanked 0 times in 0 posts
|
They're creating a cache so that if you request the same indicator multiple times they don't have to recreate it. Not sure why you would care about that, if you are trying to learn about NT there are a lot more useful things to look at first.
|
|
|
|
|
|
#4 |
|
Member
Join Date: Mar 2008
Posts: 69
Thanks: 0
Thanked 0 times in 0 posts
|
I'm trying to learn about C#, not necessarily just NT. I've learned most of the core features that I would use within NT so this was more of a programming question.
Dierk, I know not to edit any of this code as this would royally screw me over. Pete, Thank you for your response. I see now why they need to cache the indicator.
|
|
|
|
|
|
#5 |
|
Member
Join Date: Mar 2008
Posts: 69
Thanks: 0
Thanked 0 times in 0 posts
|
Ok so I can see that as I try to learn this stuff I'm coming up with too many questions that obviously you guy's can't support.
A broader question: So of the questions I have come up with (and not asked out of consideration for your time) have related to methods or properties stored inside the "IndicatorBase" class. I haven't found a way to open the IndicatorBase class to inspect all the internal methods such as the Add() method of the IndicatorBase class. Is there a way to do this so I can inspect and dig deep down in the code of NT? For example, I would like to open the Add() method and see exactly how it works. Or is that hidden from us (the dumb users)? ![]()
|
|
|
|
|
|
#6 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Unfortunately we are unable to provide info of NT internal implementation.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#7 |
|
Member
Join Date: Mar 2008
Posts: 69
Thanks: 0
Thanked 0 times in 0 posts
|
Ah ok. That's fine. I'll just have to rely on the documentation.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Request: Auto Connect on Startup and auto restart when connection down | skynetman | Suggestions And Feedback | 24 | 03-07-2009 11:25 AM |
| Add Hidden Property? | pivot44 | Market Analyzer | 1 | 04-16-2008 10:09 AM |
| Code->test/debug->change code->retest ... cycle process | bbarroux | Strategy Development | 3 | 10-02-2007 12:44 PM |
| Plotting 3 lines beside Wizard generated code | grd974 | General Programming | 2 | 08-26-2007 02:07 AM |
| Example of Auto Breakeven code? | Thomas | Strategy Development | 4 | 08-17-2007 03:39 PM |