2. Also use this this difference plot in strategy builder?
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
Difference between two indicators
Collapse
X
-
Difference between two indicators
1. Is there way to plot the difference between two indicators as a third indicator? These first two indicators maybe be nested underneath.
2. Also use this this difference plot in strategy builder?Tags: None
-
Hello rocketstock,
Yes, you can add a plot and assign this a value.
I'm trying to expose my variables to the strategy builder so everyone can have better use of the WaveTrend indicator (it has a lot of code). Explain this to me like I am 5 because this isnt the first time I've tried to figure it out and hit a wall. What is Series? I know its like an array that stores bars. Why not just call it
AddPlot(Brushes.Blue, "MyPlot");
MyPlot[0] = SMA(7)[0] - EMA(7)[0];
[Browsable(false)]
[XmlIgnore()]
public Series<double> MyPlot
{ get { return Values[0]; } }
Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by dward123, 01-02-2024, 09:59 PM
|
4 responses
174 views
0 likes
|
Last Post
by Lancer
Today, 09:27 PM
|
||
Started by ETFVoyageur, Today, 04:00 PM
|
2 responses
19 views
0 likes
|
Last Post
by ETFVoyageur
Today, 08:09 PM
|
||
Started by AaronKTradingForum, Today, 03:44 PM
|
1 response
13 views
0 likes
|
Last Post Today, 03:51 PM | ||
Started by Felix Reichert, 04-26-2024, 02:12 PM
|
11 responses
80 views
0 likes
|
Last Post Today, 03:18 PM | ||
Started by junkone, 04-28-2024, 02:19 PM
|
7 responses
84 views
1 like
|
Last Post
by junkone
Today, 03:15 PM
|
Comment