Dan
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Efficiency
Collapse
X
-
Efficiency
If given the choice of plotting a dot (data series) or drawing a dot (draw method) on every bar, which uses less memory and which is more cpu efficient? It would seem that if you had two different (alternating) color plots according to conditions, it would be be more efficient to use two different color draw objects instead of two different plots but if only using one of either, which would be the better choice? I hope the question isn't confusing.
DanTags: None
-
If you only had a small amount of dots then using DrawDot() to achieve your dots would be better as you don't need to store a whole DataSeries worth of values. If you wanted to have dots very commonly then a DataSeries may be the better choice, but then you won't have the ability to manually move the dots.Josh P.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by cre8able, Today, 04:16 PM
|
0 responses
1 view
0 likes
|
Last Post
by cre8able
Today, 04:16 PM
|
||
Started by cre8able, Yesterday, 03:20 PM
|
3 responses
18 views
0 likes
|
Last Post
by cre8able
Today, 04:08 PM
|
||
Started by StrongLikeBull, Today, 04:05 PM
|
0 responses
4 views
0 likes
|
Last Post Today, 04:05 PM | ||
Started by The_Sec, Today, 03:53 PM
|
0 responses
7 views
0 likes
|
Last Post
by The_Sec
Today, 03:53 PM
|
||
Started by love2code2trade, Today, 01:45 PM
|
2 responses
13 views
0 likes
|
Last Post Today, 03:29 PM |
Comment