Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Slope
Collapse
X
-
So, if I wanted the slope of a 20 ema for the last 5 bars to be sloping up:
On the left side I would select "slope" with a series value of EMA(20), start bar(5), end bar(0)
Right side, "numeric value" with a value of 1?
Numeric value of 2 would be a higher angled slope than 1?
Comment
-
On the left side of condition builder:
Slope selected:
Series: EMA(close,20)
Start bar: 10
End bar: 0
Right side of condition builder:
Numeric value selected.
Value: 0
Is this correct?
I setup a simple backtest to enter long with a trailing stop, 5 min bars. Tested on RIG starting 12-1-2007 to today. 0 trades executed.
Comment
-
Unfortunately it is not correct and after further review, working with Slope is not possible in the wizard.
The problem is that you are passing in "barsAgo" values where the Slope function is really looking for the true bar number. Unfortunately, you can not assign the true bar number in the wizard. I will change the implementation of slope to use bars ago logic. This will show up in our next beta version.RayNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Brevo, Today, 01:45 AM
|
0 responses
6 views
0 likes
|
Last Post
by Brevo
Today, 01:45 AM
|
||
Started by aussugardefender, Today, 01:07 AM
|
0 responses
3 views
0 likes
|
Last Post Today, 01:07 AM | ||
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
242 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
||
Started by TraderG23, 12-08-2023, 07:56 AM
|
9 responses
384 views
1 like
|
Last Post
by Gavini
Today, 12:29 AM
|
||
Started by oviejo, Today, 12:28 AM
|
0 responses
6 views
0 likes
|
Last Post
by oviejo
Today, 12:28 AM
|
Comment