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.JesseNinjaTrader Customer Service
-
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.JesseNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by mattbsea, Today, 05:44 PM
|
0 responses
4 views
0 likes
|
Last Post
by mattbsea
Today, 05:44 PM
|
||
Started by RideMe, 04-07-2024, 04:54 PM
|
6 responses
31 views
0 likes
|
Last Post
by RideMe
Today, 05:31 PM
|
||
Started by tkaboris, Today, 05:13 PM
|
0 responses
2 views
0 likes
|
Last Post
by tkaboris
Today, 05:13 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
16 responses
3,282 views
0 likes
|
Last Post
by Leafcutter
Today, 04:14 PM
|
||
Started by WHICKED, Today, 12:45 PM
|
2 responses
20 views
0 likes
|
Last Post
by WHICKED
Today, 03:36 PM
|
Comment