TheAlchemist17
New member
Hello, I am looking for help creating an indicator. I have searched the website threads but have not been able to find anything that accomplishes what I am looking for. Unfortunately, I do not have any coding skills but I have tried to communicate the details as clearly as possible. Hopefully, someone out there can help me to create the code for this. Thank you!
Narrow Range Bar Up/Down (NRU / NRD)
@BenTen @MerryDay Any chance you might have an idea where to begin on this? I did not find any similar existing script on the website.
@halcyonguy I noticed that you have done some beautiful work with Gaps. Do you think some of that coding could be slightly modified to capture what I am trying to do with Gap Ups and Gap Downs? I believe your current work looks like a pretty good fit, would it be possible to add the consecutive gap count?
Narrow Range Bar Up/Down (NRU / NRD)
- Current period range < 30% the average true range over the past 10 periods
- Adjustable parameters for % and period count
- Mark the bar as "NR"
- When volume is 120% > average volume past 30 periods
- Adjustable parameters for % and average period lookback
- Mark the bar as "NRUV" "NRDV"
- Default = on
- Must be at least greater than a recent NR bar
- Must be >60% (make this number an adjustable parameter) the average true range
- Mark the bar as "WRU" and "WRD"
- When volume is 120% > average volume past 30 periods
- Adjustable parameters for % and average period lookback
- Mark the bar as "WRUV" and "WRDV"
- Default = on
- High of the period < close of the previous period
- Mark the period as "GD"
- Consecutive Down Gap count: "Consecutive" means that there has not been an Up Gap since the last Down Gap. The count would start again after it was interrupted by an Up Gap. If there was a Down Gap on bar 1 and then there were no gaps for several bars and then another down gap occurred, this down gap would count as number 2.
- High of the current period < close of the previous period
- Mark the bar as "GD?"
- Adjustable parameter to display/not display count
- Default=on
- Low of the period > High of the previous period
- Mark the period as "GU"
- Consecutive Up Gap count (same concept as Consecutive Down Gap count)
- Low of the current period > High of the previous period
- Mark the bar as "GU?"
- Adjustable parameter to display/not display count
- Default=on
- Open > previous period Close and Open < previous period High
- Mark as "LU"
- Default=on
- Open < previous period Close and Open > previous period Low
- Mark as "LD"
- Default=on
- Mark the period as "SCU" if the Close is within 25% of the High of the period
- Mark the period as "SCD" if the Close is within 25% of the Low of the period
- Default=on
@BenTen @MerryDay Any chance you might have an idea where to begin on this? I did not find any similar existing script on the website.
@halcyonguy I noticed that you have done some beautiful work with Gaps. Do you think some of that coding could be slightly modified to capture what I am trying to do with Gap Ups and Gap Downs? I believe your current work looks like a pretty good fit, would it be possible to add the consecutive gap count?
Last edited: