Thank you
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
EMA CrossOver Robot
Collapse
X
-
EMA CrossOver Robot
Does anyone knows how to program with the Strategy builder a robot that put a market Buy/Sell order once the candle on 2 Min closes above or below the EMA? Looks pretty simple but I am doing something wrong cause there is no way that can program it.
Thank youTags: None
-
Welcome to the forums francosano!
If you are new to the Strategy Builder, I highly recommend starting out with the Strategy Builder 301 tutorial and to test out our example conditions and actions before doing anything else. From these, I suggest testing simple logic based on these examples before scaling up a larger strategy.
Strategy Builder 301 — https://www.youtube.com/watch?v=_KQF2Sv27oE
Conditions examples —https://ninjatrader.com/support/help...on_builder.htm
Actions examples — https://ninjatrader.com/support/help...us/actions.htm
You can reference making crossover conditions and indicator to price comparisons from our Conditions examples. For example, you can check if the current market price (Close[0]) crosses above or below your EMA indicator .
Under Actions examples, please then see how to enter a market position. You can use EnterLong()/EnterShort() to submit a market order.
We look forward to assisting.JimNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Padan, Today, 02:02 AM
|
9 responses
21 views
0 likes
|
Last Post Today, 03:27 PM | ||
Started by spottysallrite, Today, 11:31 AM
|
7 responses
22 views
0 likes
|
Last Post Today, 03:26 PM | ||
Started by nandhumca, Today, 03:15 PM
|
1 response
3 views
0 likes
|
Last Post Today, 03:23 PM | ||
Started by PopovDS, 03-11-2024, 12:49 PM
|
3 responses
17 views
0 likes
|
Last Post
by PopovDS
Today, 03:16 PM
|
||
Started by Lele2k24, Yesterday, 11:24 AM
|
12 responses
37 views
0 likes
|
Last Post Today, 03:07 PM |
Comment