Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Darvas and SRLines
Collapse
X
-
Darvas and SRLines
Could someone with more programming experience take a look at the indicator I have that is trying to combine the Darvas and SRLines indicators together into one indicator? My goal is to try and combine these 2 indicators together to use in a trade strategy along with some other indicators, but not sure what is wrong with the combined indicator. The indicator runs, but doesn't display the SRLines. Am I missing additional code that is needed or did I input the wrong information for the SRLines to plot. I'm very new to reading and writing code and not exactly sure what is wrong with the combined indicator. Any help would be greatly appreciated. Thanks.Tags: None
-
Welcome to our forums gretzkyless - I've just gave your script a run on the 6E 5 min chart, and see all 4 plots displaying info. What chart / instrument did you use and were the plots then only partically populating with data or were they displaying but you expected a different outcome based on your code?BertrandNinjaTrader Customer Service
-
Comment
-
Comment
-
Hello Bertrand. The indicator I'm trying to create spots the areas where it's trending sideways. Below is the logic based on how I would like to see the indicator plot:
Below are the parameters for crude
Minimum Range - 10 ticks
Maximum Range - 25 ticks
If the next bar has the same high or closes lower, then start creating the box if the next 3 bars have same highs or are lower. Right now, this is the logic of the boxes I'm trying to create. The 3 futures markets I would like to apply this to are CL, ES, and TM, but focusing on getting the indicator to work first in CL before modifying the ranges for ES and TM.
I know a box will still be plotting since the max range will not have been met, but will look into this after an indicator has been made to at least start drawing a box around periods of indecision. I just think the Darvas indicator is too noisy and would like to focus in on the periods of sideways movement.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Belfortbucks, Today, 09:29 PM
|
0 responses
6 views
0 likes
|
Last Post
by Belfortbucks
Today, 09:29 PM
|
||
Started by zstheorist, Today, 07:52 PM
|
0 responses
7 views
0 likes
|
Last Post
by zstheorist
Today, 07:52 PM
|
||
Started by pmachiraju, 11-01-2023, 04:46 AM
|
8 responses
151 views
0 likes
|
Last Post
by rehmans
Today, 06:44 PM
|
||
Started by mattbsea, Today, 05:44 PM
|
0 responses
6 views
0 likes
|
Last Post
by mattbsea
Today, 05:44 PM
|
||
Started by RideMe, 04-07-2024, 04:54 PM
|
6 responses
33 views
0 likes
|
Last Post
by RideMe
Today, 05:31 PM
|
Comment