Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Can't change EMA value
Collapse
X
-
philxhong,
You need to understand what 3 bars ago means. 3 bars ago means it will look at the value of 3 bars ago counting from the current bar. You look at the 4th latest bar. It does not mean trade 3 bars into the past. It evaluates the condition based on the data from that bar and makes the trade on the current bar. You cannot trade in the past. If you wanted to trade back then you need to place the trade back then.
-
Hi Bertrand,
Yes, exactly like the screenshot but 3 bars ago dit not get me in a trade sonner than 0 bars ago.
Leave a comment:
-
-
Josh,
I am trying to make a trade when the EMA(5) displaced -3 crossover SMA(15).
Inside the wizard the EMA does not have the option for displacement. So how can I
make this happen? Thanks,
Leave a comment:
-
philxhong,
I am not sure what you are trying to do. The condition you are outlining right now takes the EMA(5) of 3 bars ago and compares it to the SMA(15) of the current bar. If a cross above of such a condition happens then it will trade. If not then it will not.
Leave a comment:
-
Bertrand, I used 3 bars ago on EMA(5) crossover SMA(15) EnterLongPosition
0 bars ago on EMA(5) crossover SMA(15) EnterLongPosition
I got the same result. I need one EnterLongPosition earlier than the other.
Thanks for you help.
Leave a comment:
-
Hi philxhong, correct - please use the 'Bars ago' instead for your crossover condition.
Leave a comment:
-
Can't set EMA displaced value in wizard
The EMA indicator inside the wizard does not display the displaced value.
I tried to create EMA(5) displaced -3 Cross-over SMA(15).
Please help. Thanks
Leave a comment:
-
ah -- OK -- doh! I thought Min. stood for MINUTE as in the bar interval -- thx!
Leave a comment:
-
Yes, you have your minimum set to 15.
You must lower your minimum below 9.
Leave a comment:
-
RJ, Thanks for the response however I think something else is going on as I have the value set to 9 see below. When I change the 15 value to 9 in the Parameters area it pops back to 15 as soon as I click in another field. BTW using your existing SMA crossover I was able to change the SMA period values and have it hold. Strangely enough if I change the EMA9 to a value larger than 15 it holds,, but any value less than 15 pops back to 15 --- weird!
Originally posted by NinjaTrader_RJStein View PostHello Bkout,
Thank you for your post.
You need to change the default value under the "user defined inputs" page of the Strategy Wizard.
In the strategy parameters, you can also change the 15 to a 9 to change the period.
You need to change the chart time period from a 15 min chart to whatever time period you want before you set up the strategy.
Thanks for the reply, however I think something else is going on as I had the value se to 9 -- see below
Leave a comment:
-
Hello Bkout,
Thank you for your post.
You need to change the default value under the "user defined inputs" page of the Strategy Wizard.
In the strategy parameters, you can also change the 15 to a 9 to change the period.
You need to change the chart time period from a 15 min chart to whatever time period you want before you set up the strategy.
Leave a comment:
-
Can't change EMA value
I'm having a problem with a EMA crossover strategy. I created User defined inputs EMA9 and EMA39 with those periods and 15 min intervals. I set up the Strategy and it looks right as far as this newbie can tell (I followed along with the video), however when I put it into my 15 min chart and run it the EMA9 changes to 15 period and tests with that value and puts a 15 EMA on the chart. I'm not able to change it back so that it stays at 9. How can I prevent that from changing and keep the 9 value I want? I'm hoping I attached two screen captures.
Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by algospoke, Yesterday, 06:40 PM
|
2 responses
22 views
0 likes
|
Last Post
by algospoke
Today, 07:04 PM
|
||
Started by ghoul, Today, 06:02 PM
|
3 responses
14 views
0 likes
|
Last Post Today, 06:43 PM | ||
Started by jeronymite, 04-12-2024, 04:26 PM
|
3 responses
45 views
0 likes
|
Last Post
by jeronymite
Yesterday, 10:10 PM
|
||
Started by Barry Milan, Yesterday, 10:35 PM
|
7 responses
21 views
0 likes
|
Last Post Today, 06:16 PM | ||
Started by AttiM, 02-14-2024, 05:20 PM
|
10 responses
181 views
0 likes
|
Last Post
by jeronymite
Today, 06:11 PM
|
Leave a comment: