Hi.
How can I code an indicator that follows 30 min cycles that are not the last 30 min but those that are 9-9:30
9:30-10:00
10:00-10:30 etc' ... .
so I can capture highest highs and lows for a "real" 30 min braket using other (small then 30) chart interval than 30min
thanks
Indicator for 30 min braket
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
30 min cycle
As I wrote in the original post , this is not a 30 min bar indicator.
This needs to work using smaller bar intervals than 30 min bars.
If I am trying to plot the highest high and lowest low of the last 30 min bracket while using a 3 min chart, I cant use Highest(h,10) as it will capture prices out side the last bracket but rather the last 10 bars which can range between the previous 30 min bracket and the current ...
Specifically how do I make an indicator reference different price or indicator levels for a specific time range ?
plot the highest rsi for every time bracket of 9:30-100 , 10:00-10:30 , 10:30-11:00 etc' retrieving data from only those bracket ?
I need to make it know the correct hour or something like that .. thanks
This needs to work using smaller bar intervals than 30 min bars.
If I am trying to plot the highest high and lowest low of the last 30 min bracket while using a 3 min chart, I cant use Highest(h,10) as it will capture prices out side the last bracket but rather the last 10 bars which can range between the previous 30 min bracket and the current ...
Specifically how do I make an indicator reference different price or indicator levels for a specific time range ?
plot the highest rsi for every time bracket of 9:30-100 , 10:00-10:30 , 10:30-11:00 etc' retrieving data from only those bracket ?
I need to make it know the correct hour or something like that .. thanks