Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Peak to Trough script
Collapse
X
-
Peak to Trough script
I'm looking for an indicator that will tell me the 10 largest peak to trough moves in a series. I'm not looking for a zigzag or price action swing indicator that paints all swings. I'm only interested in knowing the dates ( or bar number ) of the peaks and troughs of the 10 largest moves down. This is really a drawdown algorithm but I've been unable to find one in the public domain that does this for more than just the largest.Tags: None
-
Hello Brillo,
Thank you for the post.
I did a quick search to see if I could spot anything in the app share or the general web but I was unable to find anything that already exists by this description. It is possible there are other scripts that include this type of logic but the name or description may not be specific enough to locate those items by this search term.
The ZigZag may be able to be reprogrammed to accomplish this task, if the overall zig zag and how it displays the points is similar to the overall goal you want, its logic could be modified to accommodate gathering the largest moves dates or other data you need. However, this is a fairly complex indicator so this would not necessarily be a simple change, this would likely just be a good starting point for this type of data collection.
I look forward to being of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
629 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
362 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
564 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
568 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment