is any way i can add SMA indicator to Performance.AllTrades.LosingTrades data ?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Performance SMA
Collapse
X
-
Performance SMA
Hello !!! i got queston about Performance.AllTrades.LosingTrades
is any way i can add SMA indicator to Performance.AllTrades.LosingTrades data ? -
Hello,
Thank you for the question.
I wanted to clarify, are you asking if you could use the Performance.AllTrades.LosingTrades as a value for an SMA that you are plotting on a chart?
If this is not what you were asking can you further clarify what you are trying to do with the value of Performance.AllTrades.LosingTrades?
I look forward to being of further assistance.
-
Hello,
Thank you for the reply.
It seems you are trying to average the loss and then see if the loss is greater than the average, is this correct?
If so it would likely be easiest to do your own average in this case although you could create a data series of values and pass that to the SMA indicator. Either would work it would just depend on which you want to create.
To use the SMA indicator you would need to create a data series and supply values to that data series of the loss amount each bar, then this series would need passed to the SMA to do the calculation.
Instead you could copy the calculation from the SMA and apply it in your own script or use your own average calculation to do this without adding extra parts to the script.
I look forward to being of further assistance.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
72 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
43 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
25 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
28 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
59 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment