Are there benefits or burdens to each option?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Building a better strategy?
Collapse
X
-
Hello Conceptzx,
That wouldn't necessarily matter performance wise, calling an indicator is going to take about the same amount of processing that having the logic in the strategy would use. Generally its easier to break parts of your calculations into indicators to simplify the strategies code, the indicator just returns a value or signal to the strategy so the strategy conditions can use that value.
-
Hello Conceptzx,
The strategy will set the indicators Calculate setting to match the strategy when called from the strategy so you would want to plan around that. If your indicator uses OnEachTick but the strategy uses OnBarClose that will affect how the indicator works, there are specific ways to get around that but generally its best to design your indicators to match the strategy if you are making new indicators.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
64 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
139 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
75 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|

Comment