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
Sing MA cross
Collapse
X
-
Hello thowar9,
Thanks for your post and welcome to the NinjaTrader forums!
Here are some references in case you have not reviewed them:
Free live webinar every other Thursday at 4:00 PM EST, through this link to all webinars: https://ninjatrader.com/PlatformTraining
Previous recording of the Strategy Builder 301 webinar: https://youtu.be/HCyt90GAs9k?list=PL...auWXkWe0Nf&t=2
Help guide for the strategy builder: https://ninjatrader.com/support/help...gy_builder.htm
If you are looking for a price to cross an EMA, you could construct a condition like this:
Left side: Price>close
Center: CrossAbove (or Cross below) (leave the lookback at 1)
Ride side: Indicator>EMA (set to the period you wish or use the default)
Paul H.NinjaTrader Customer Service
-
Hello thowar9,
Thanks for your reply.
The help guide for the condition builder (link in post #2) shows how to create a comparison of the current bar to a specified time. You would want to create two comparisons one for the start and one for the end. The help guide shows how to create a group of conditions and creates a "time filter" as an example. For your convenience, here are the direct links:
Paul H.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by 1001111, Today, 01:35 AM
|
0 responses
5 views
0 likes
|
Last Post
by 1001111
Today, 01:35 AM
|
||
Started by ETFVoyageur, Yesterday, 07:05 PM
|
1 response
16 views
0 likes
|
Last Post
by ETFVoyageur
Today, 01:33 AM
|
||
Started by MarianApalaghiei, Today, 12:35 AM
|
1 response
8 views
0 likes
|
Last Post Today, 01:17 AM | ||
Started by Rogers101, 05-05-2024, 11:30 AM
|
17 responses
57 views
0 likes
|
Last Post
by Rogers101
Today, 01:14 AM
|
||
Started by haas88, 03-21-2024, 02:22 AM
|
13 responses
176 views
0 likes
|
Last Post
by haas88
Today, 01:13 AM
|
Comment