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 rbeckmann05, Yesterday, 06:48 PM
|
1 response
12 views
0 likes
|
Last Post
by bltdavid
Today, 05:43 AM
|
||
Started by llanqui, Today, 03:53 AM
|
0 responses
6 views
0 likes
|
Last Post
by llanqui
Today, 03:53 AM
|
||
Started by burtoninlondon, Today, 12:38 AM
|
0 responses
10 views
0 likes
|
Last Post Today, 12:38 AM | ||
Started by AaronKoRn, Yesterday, 09:49 PM
|
0 responses
15 views
0 likes
|
Last Post
by AaronKoRn
Yesterday, 09:49 PM
|
||
Started by carnitron, Yesterday, 08:42 PM
|
0 responses
11 views
0 likes
|
Last Post
by carnitron
Yesterday, 08:42 PM
|
Comment