Trigun1127
Member
Hey guys I've seen multiple really good gap scripts but are unable to modify them myself. I have three types of gaps that I look for but if its too much work there's one I need in particular that should be easy to script.
I need the gap script to create a cloud where when price enters the gap the cloud closes. I'm looking at gaps between each bar or three bars consecutive bars. I primarily work on the 5 minute time frame, on futures /MES - RTH w/ no Extended hours on.
1. First gap variation are open-close/ Close - Open gaps (really need this one)
EX: On bull bars: if the second bars open is greater than the first bars Close.
And vice versa for bear bars which would be the second bars open is less than the first bars close.
2. Tail gaps: For Bulls -when there are three bars the first bars high must be less than the third bars low and vice versa
For Bears the first bars low must be greater than the third bars high
These tail gaps take priority over normal gaps when the script needs to choose which to use. If the tail gap does get filled It can turn that cloud off and leave only the normal gap cloud (normal gaps are the last variation)
3. Normal gaps: in between three bars the first bars close is less than the third bars open
vice versa for bear bars the first bars close is greater than the third bars open.
Attached below are pictures of these types of gaps
I need the gap script to create a cloud where when price enters the gap the cloud closes. I'm looking at gaps between each bar or three bars consecutive bars. I primarily work on the 5 minute time frame, on futures /MES - RTH w/ no Extended hours on.
1. First gap variation are open-close/ Close - Open gaps (really need this one)
EX: On bull bars: if the second bars open is greater than the first bars Close.
And vice versa for bear bars which would be the second bars open is less than the first bars close.
2. Tail gaps: For Bulls -when there are three bars the first bars high must be less than the third bars low and vice versa
For Bears the first bars low must be greater than the third bars high
These tail gaps take priority over normal gaps when the script needs to choose which to use. If the tail gap does get filled It can turn that cloud off and leave only the normal gap cloud (normal gaps are the last variation)
3. Normal gaps: in between three bars the first bars close is less than the third bars open
vice versa for bear bars the first bars close is greater than the third bars open.
Attached below are pictures of these types of gaps