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
Doji candleStickPattern is not detected
Collapse
X
-
Doji candleStickPattern is not detected
I noticed that sometimes Doji CandleStickPattern does not detect dojis. I tried it with trend strength values 1-5. In the example below it only detects one of the dojis:
Tags: None
-
Hello mahdighorbanpour,
Thank you for your post.
In looking at the code, this would be expected. The CandleStickPattern indicator only will mark patterns if no other pattern is found in the two bars prior to it. Since in these cases the ones not marked immediately follow a marked pattern, we'd not expect to see those marked as well.
Please let us know if we may be of further assistance to you.Kate W.NinjaTrader Customer Service
- Likes 1
-
Thanks for the reply, That clears things up. But is there any way to disable this behavior? How can I detect two consequent Dojis?
Comment
-
Hello mahdighorbanpour,
Thank you for your reply.
You could certainly modify the indicator yourself - you can open it in the NinjaScript Editor and modify the code so it highlights every doji. I'd suggest looking at the code around line 477 to start with modifications. You'll need to save a copy of the built in CandleStickIndicator to edit the code.
Please let us know if we may be of further assistance to you.Kate W.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by synthhokie, Today, 12:00 PM
|
0 responses
9 views
0 likes
|
Last Post
by synthhokie
Today, 12:00 PM
|
||
Started by moneyexe, Today, 11:22 AM
|
1 response
12 views
0 likes
|
Last Post Today, 11:32 AM | ||
Started by stevec1824, Today, 11:00 AM
|
2 responses
8 views
0 likes
|
Last Post
by stevec1824
Today, 11:32 AM
|
||
Started by sofortune, Today, 10:05 AM
|
2 responses
14 views
0 likes
|
Last Post
by sofortune
Today, 10:58 AM
|
||
Started by sofortune, 05-10-2024, 10:28 AM
|
6 responses
48 views
0 likes
|
Last Post
by sofortune
Today, 10:07 AM
|
Comment