Announcement
Collapse
No announcement yet.
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.
- 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.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
19 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
119 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
63 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
41 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
45 views
0 likes
|
Last Post
|

Comment