![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Dec 2007
Location: Atlanta
Posts: 281
Thanks: 0
Thanked 4 times in 3 posts
|
How would I set the Indicator Plot to "null".
This snippet throws an error: if (ToTime(Time[0]) < 93000) OpeningHigh.Set(null); else OpeningHigh.Set(Close[0]); |
|
|
|
|
|
#2 |
|
Certified NinjaScript Consultant
Join Date: Sep 2006
Location: New York, USA
Posts: 774
Thanks: 1
Thanked 7 times in 5 posts
|
Are you trying to have no plot when you set it to null?
If so, just don't call the .Set function and it won't plot on that bar.
"You look closely enough, you can find everything has a ... weak spot where it can break, sooner or later"
PureLogikTrading |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Dec 2007
Location: Atlanta
Posts: 281
Thanks: 0
Thanked 4 times in 3 posts
|
Why be logical when you can make it difficult. Thanks mrlogik.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hiding plots from Plots section | eDanny | Indicator Development | 4 | 04-15-2009 12:14 PM |
| .Reset() plots close values, not null values | ninja.man | General Programming | 3 | 02-23-2009 03:41 PM |
| Bars == NULL | oferr | Strategy Analyzer | 4 | 01-31-2008 07:57 AM |
| Testing for null | zoltran | General Programming | 7 | 11-25-2007 05:09 PM |
| Plots[?].Min & Plots[?].Max Don't work | AlohaBob | Indicator Development | 6 | 01-06-2007 08:31 PM |