ChrisMoody

CM_Gap_Indicator_Intra-Day_V1

970 5 142
CM_Gap_Indicator_Intra-Day_V1

This is a Simple Gap Indicator.

Version 1…Many Additional Features To Come.

***Designed for Intra-Day Charts.
***Great for Stocks…Forex and Futures Sunday Night Gaps.

***Plots Green Lines If Gap Up
***Plots Red Lines If Gap Down

Additional Filters Coming Soon:
***Minimum Gap% Filter
***Gap Mid Lines
***Color Coding On Filled Gaps
Remove from Favorite Scripts Add to Favorite Scripts
//Created By ChrisMoody on 1-15-2015
//Version 1...More Features Coming Soon...

study(title="CM_Gap_Indicator_Intra-Day_V1", shorttitle="CM_Gaps_Intra-Day_V1", overlay=true)

tdo = security(tickerid, 'D', open)
pdc = security(tickerid, 'D', close[1])
pdh = security(tickerid, 'D', high[1])
pdl = security(tickerid, 'D', low[1])

gapUp = tdo > pdc ? 1 : 0

plotGapUpLine = gapUp ? tdo : na
plotGapUpLowLine = gapUp ? pdc : na

gapDn = tdo < pdc ? 1 : 0

plotGapDnLine = gapDn ? tdo : na
plotGapDnPDC = gapDn ? pdc : na

plot(plotGapUpLine, title="Gap Up - Upper Gap Line, Todays Open", style=circles, linewidth=3, color=lime)
plot(plotGapUpLowLine, title="Gap Up - Lower Gap Line, Yesterdays Close", style=circles, linewidth=3, color=lime)

plot(plotGapDnLine, title="Gap Down - Lower Gap Line, Todays Open", style=circles, linewidth=3, color=red)
plot(plotGapDnPDC, title="Gap Down - Upper Gap Line, Yesterdays Close", style=circles, linewidth=3, color=red)
I like it Chris. Very good.
Reply
Thanks Tim
Reply
It is nice to have this and thank you for sharing it. Now that we can better visualize, can you comment on how to trade the gaps - do we look for gaps to fill (fade the gaps) or see them as SR (trade the gaps)? Are intraday more or less significant than opening gaps? What is your experience?
Reply
ChrisMoody PRO Alphaoptions
Lets work our way backwards on your questions.
1. These are Opening Gaps. Opening Gaps are the only valid gaps with statistical data where people make a living from this one trade setup. The way the code is written it's designed to be placed on Intraday Charts...Not Daily charts.

2. As for the way you play gaps. I'm not going to go in-Depth now...but there are traders who have the statistical probablities of Gaps Filling based on Instrument, Day of Week, Week of Month, % of Gap Move etc. Something to look at is throw the indicator on a few symbols...and see what percentage of the time the Gaps are filled the same day!!!

Enough for now...more when I add to the Indicator.
Reply
is it is available where we as a user can use it.. it will be useful for earning time
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
日本
한국
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out