Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Moving Average Cross overs
Collapse
X
-
Moving Average Cross overs
hi, how can i code multi ema cross over . i can do 2 line cross over but when i apply the same method to multiple lines it wont work. ex: ema 234567cross1012141618Tags: None
-
Hello hakanshuker,
Thank you for the post.
I went ahead and moved this into a new topic for your specific questions as the other post was very old.
When you say that you can do a 2 line crossover but when you apply the same method it wont work, can you provide a sample of what you are currently doing that does not work?
For multiple crossover conditions you can generally do something like the following:
Code:if(CrossAbove(EMA(12), EMA(20), 1) && CrossAbove(EMA(12), EMA(25), 1)) { }
I look forward to being of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
22 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
121 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
176 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
92 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
135 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|

Comment