![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Mar 2008
Location: UK West Sussex
Posts: 667
Thanks: 10
Thanked 11 times in 8 posts
|
Absolute beginner at this.
It all looks logical but I am not getting either plot. |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
First step when things don't plot is to check the errors log. You are likely running into the error addressed by this article: http://www.ninjatrader-support.com/v...ead.php?t=3170
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Mar 2008
Location: UK West Sussex
Posts: 667
Thanks: 10
Thanked 11 times in 8 posts
|
thanks Josh - I expect to ask many more simple questions before I get the hang of this - but 3 minutes to solve a problem must be some sort of record :-)
|
|
|
|
|
|
#4 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
Hah. The record is around 30 seconds.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Mar 2008
Location: UK West Sussex
Posts: 667
Thanks: 10
Thanked 11 times in 8 posts
|
![]() So you are hot on the line waiting for the next simple one! |
|
|
|
|
|
#6 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
If we can assist you in any other way please feel free to post in a new thread. We will work to answer your questions. Thanks and have a good day trading.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Mar 2008
Location: UK West Sussex
Posts: 667
Thanks: 10
Thanked 11 times in 8 posts
|
In easylanguage I can change the color of a plot quite simply but how do I do it in NinjaScript.
At the mmoment I am trying to use two plots to cope with a condition. This is my current effort. Which doesn't work ( the commented out section) |
|
|
|
|
|
#8 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
Mindset,
We would appreciate it if you posted new questions in a new thread. This way we can help build up a knowledge base that other users can search through more easily. To check against a plot you need to use the indexing. Your plot is named Value. To check its values you would do Value[0] for the value at the current bar of the FIRST DataSeries plot in your indicator. Please see the Help Guide for Value to better understand how it is used. You will also have difficulty with your code because EMA is a reserved word taken by another indicator. You cannot name your DataSeries EMA.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Mar 2008
Location: UK West Sussex
Posts: 667
Thanks: 10
Thanked 11 times in 8 posts
|
Thanks for the heads up.
Will do that in future. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| plot last ask/bid | junkone | Indicator Development | 3 | 09-24-2008 06:50 AM |
| how to plot bid and ask | junkone | Charting | 1 | 09-22-2008 04:06 AM |
| It's all about the Plot | mgbloomfield | Indicator Development | 4 | 04-17-2008 07:03 PM |
| Indicator compiles, not in list | maxpi | Charting | 2 | 07-23-2007 09:55 AM |
| [NT6 bug?] Compiles the wrong indicator | FireFly | General Programming | 2 | 04-28-2007 06:45 PM |