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 RubenCazorla, 08-30-2022, 06:36 AM
|
3 responses
77 views
0 likes
|
Last Post
by PaulMohn
Today, 04:44 AM
|
||
Started by f.saeidi, Yesterday, 12:14 PM
|
9 responses
23 views
0 likes
|
Last Post
by f.saeidi
Today, 04:39 AM
|
||
Started by Tim-c, Today, 03:54 AM
|
0 responses
3 views
0 likes
|
Last Post
by Tim-c
Today, 03:54 AM
|
||
Started by FrancisMorro, Today, 03:24 AM
|
0 responses
4 views
0 likes
|
Last Post
by FrancisMorro
Today, 03:24 AM
|
||
Net Change
by Segwin
Started by Segwin, 05-07-2018, 02:15 PM
|
10 responses
1,772 views
0 likes
|
Last Post
by Leafcutter
Today, 03:01 AM
|
Comment