NexusFi: Find Your Edge


Home Menu

 





Out of the last x bars mark bars with the same high/low


Discussion in NinjaTrader

Updated
    1. trending_up 1,030 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread

Out of the last x bars mark bars with the same high/low

  #1 (permalink)
skiguy
sydney + nsw australia
 
Posts: 16 since Jul 2013
Thanks Given: 8
Thanks Received: 6

I was unable to find an existing indicator for the above.

Look back period = x

examples below are based on a look back period of 10

mark the high of the bars that had the same high in the last 10 bars

mark the low of the bars that had the same high in the last 10 bars


ideally


if 4 of the highs during the look back period had the same high then mark each of those bars with the number 4.

if 4 of the lows during the look back period had the same low then mark each of those bars with the number 4

if 3 of the highs during the look back period had the same high then mark each of those bars with the number 3

and so on.

or even mark the most recent bar that had an equal high if that is so much easier

minimum number with same h/l would of course be 2.

So far I have been able to either find everything I needed or written the code myself. In some cases I have made my own versions of complex stuff and worked out what to change.

I am open to custom development also.

Just thought it would be a pretty easy thing to code for an experienced NT dev.

Especially if it was just to mark the bar highs and lows with a dot e.g. not do the numbering.

Open to any ideas.

This would be an extremely good tool to have.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
ZombieSqueeze
Platforms and Indicators
Better Renko Gaps
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
What broker to use for trading palladium futures
Commodities
 




Last Updated on April 6, 2015


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts