![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Apr 2009
Posts: 198
Thanks: 0
Thanked 0 times in 0 posts
|
I need to underdstand something
I have created an Indicator with Ninja editor and I also created a UserDefinedMethod (GetRefVolume). My method created on the UserDefinedMethod returns Volume[0]. Here is how I plot my indicator : Plot0.Set(GetRefVolume()); I don't get any results. The class in the UserDefinedMethod is partialclass Indicator Do I have to create an object so that I can access the GetRefVolume method ? If so what would be the code ? Thanks |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
|
Hi blarouche, please check this sample and make sure your method is 'public' in the UserDefinedMethods - http://www.ninjatrader-support.com/H...6/Sample1.html
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| newbie question | j4068 | Miscellaneous Support | 1 | 03-08-2009 07:04 PM |
| newbie question | machiavelly | Charting | 5 | 01-02-2009 06:10 AM |
| probably a newbie question | cornelius | Strategy Development | 4 | 11-14-2008 11:02 AM |
| Silly newbie question | snaphook | General Programming | 8 | 04-29-2008 01:42 AM |
| Newbie Question | mwbokc | Miscellaneous Support | 1 | 02-15-2005 02:29 AM |