Bull Flag DetectionThe FuturesGod bull flag indicator aims to identify the occurrence of bull flags.
Bull flags are a popular trading pattern that allows users to gauge long entries into a given market. Flags consist of a pole that is followed by either a downward or sideways consolidation period.
This script can be used on any market but was intended for futures (NQ, ES) trading on the intraday timeframe.
The script does the following:
1. Identifies the occurrence of a flag pole. This is based on a lookback period and percentage threshold decided by the user.
2. Marks the consolidation area after the pole occurrence using swing highs and swing lows.
3. Visually the above is represented by a shaded green area.
4. When a pole is detected, it is marked by a downward off-white triangle. Note that if the percentage threshold is reached several times on the same upward climb, the script will continue to identify points where the threshold for pole detection is met.
5. Also visualized are the 20, 50 and 200 period exponential moving averages. The area between the 20 and 50 EMAs are shaded to provide traders a visual of a possible support area.
Es1
M0PB (Momentum Pullback)Long/short strategy that identifies extreme readings on the rsi as a *momentum signal*, unlike most RSI strategies the script will look to buy or sell the first pullback in the direction of the extreme RSI reading.
Enters positions on the first pullback to the 5ema(low)/ 5ema(high) and exits at rolling 12 bar high/ low. The rolling high/ low feature means that if the price enters into a prolonged consolidation the profit target will begin to reduce with each new bar. The best trades tend to work within 2-6 bars.
Built for use on 5 min intervals on FX, Indexes, and Crypto. Lower than 5 minute time frames tend to be noisier and mean more commissions and a higher risk of slippage so the suggested timeframe is 5 mins.
Hard stop is X ATR (users can experiment with this) from the position entry price. This can be adjusted in user inputs.
There is a lot of slack left in entries and exits but the overall strategy is fairly robust across timeframes and markets and has between 60%-70% win rate with larger winners.
Signals that occur from economic news volatility are best avoided.
ICT Index ScheduleNew ICT student here, decided to compile the daily schedule and salient levels for London and New York index sessions into one place to aid my learning – thought others might benefit from this too :)
The script works with whatever timezone setting, however make sure to change your timezone to New York time if you want to have the proper time-price alignment (I personally find it helpful when studying).
Here's a legend of all the elements displayed at once:
London only:
New York only:
// Couldn't find a comprehensive script with all the elements included, s/o to @the1dv for their Days of Week script.
Futures Exchange Sessions 3.0Description
The ultimate conclusion to the Futures Exchange Sessions 2.0 indicator. In version 3.0 the user gets full control of the start and end times of three separate dynamic boxes and one horizontal line. If the user wants to visually keep track of killzones, lunches, or any other time span in a trading day, version 3.0 will dynamically expand and keep track of price within the time specified by the user.
Inputs and Style
Everything about the three dynamic boxes and one horizontal line can but independently configured. Color, style, border, width can all be adjusted. In the Settings each box has a text box so the user can give each one a unique name.
Timezone
All of the start and end times are in EST. Additionally, each box and line need a dependent start of each day. This is controlled by a setting where the user can specify a timezone called Start Day Timezone which would be midnight of the respective timezone. In general if a box or line resides within a particular Session pick the corresponding timezone. If the users box/line fits in the Asian Session then choose Asia/Shanghai. If the box/line is within the London Session then choose Europe/London. And the same goes for the New York Session.
Special Notes
If start time is within one period of the Start Day Timezone in the Settings, then the line/box won't display
Boxes and time lines only display when timeframe is <= 30 minute
To turn off box text label set opacity to 0%
Pre Market \ Opening Range High LowGreen vertical lines are showing pre market open and then the opening range as the first hour of market NYSE market open
Pre market high and low are blue lines | intraday opening range high low are in white
Trades are taken in the current direction above | below range breaks with the direction of price action using the moving averages
Price breaking through moving averages and a range is the optimal trade to enter - exit at next range for target - stop loss below the lower | higher moving average depending on short or long
A break above or below the intraday high or low and pre market high or low can give massive profits trailing your stop loss as price runs
Using MA 5 and 12 to filter out entries and exits above or below the ranges short or long is also another strategy to implement
BEST TIME FRAME TO USE IS 5 MINUTE
Futures Exchange Sessions 2.0Description
Successor to Futures Exchange Sessions indicator. Completely rebuilt code from the ground up. Every feature has been redesigned and refactored to be the most beneficial while allowing for complete configuration by the user.
This indicator displays Futures Sessions as live boxes that expand dynamically as price moves over the time interval. These boxes make liquidity levels extremely easy to spot and visualize. It helps the user identify market structure and develop their own bias of price action. Everything about the Session boxes can be configured. Box color, border color, border style, and border width are all individually controllable. Each Future Session can be turned on or off at any time. Also, each box has their own text label (Asian Session, London Session, New York Session) and this text can be moved around the box, change color, and change size.
Previous days highs and lows (major liquidity levels) are always important to the futures trader. This indicator now allows the user to individually display the three previous days highs and low levels as lines with optional label. Each line can be independently toggled on or off and like always, every conceivable customization option is available to the user. And the labels can be moved to the right (via the Input Settings) to allow unobstructed views of candles.
The midnight EST open and 8:30 AM EST open horizontal lines (developed by the Inner Circle Trader) are returning in this indicator. But the biggest improvement is that the lines stop at the current bar or the last bar of the trading day. Additionally, the time lines are displayed on previous days so the user can easily see how the candles reacted to these important times of the day.
The Session boxes and the horizontal time lines now can be set to only display a certain number of day back. If the user wants just to see Session boxes for the previous day only, they can do that. If the user wants to see the last 15 days of boxes or lines it is very easy to increase the days back in the settings. Currently, the max days back is 80 calendar days.
Additional Images
Easily visualize and understand price action across time
Everything is customizable so the user can easily match this indicator to their color preferences
Special Notes
To turn off box session text set opacity to 0%
Boxes and horizontal time lines only display when timeframe is <= 30 minute
VIX Implied Move Bands for ES/Emini futuresThis script uses the close of the VIX on a daily resolution to provide the 'implied move' for the E-mini SP500 futures. While it can be applied to any equity index, it's crucial to know that the VIX is calculated using SPX options, and may not reflect the implied volatility of other indices. The user can adjust the length of the moving average used to calculate the bands, the window of days used to calculate the implied move, and the multiplier that effects the width of the bands.
Equity Index Extended HoursHighlights the extended hours/Globex session for US Equity Index Futures.
Overnight Bollinger Band ExtremesThis script is a combination of my overnight fakeout script and bollinger band color bars. It's designed to be used on CME/CBOT Equity Indexes during their GLOBEX session. It uses the built in Bollinger Band script and highlights bars that exceed the upper/lower bands during the overnight session.
Keltner Channels Color BarsAnother tweak to a classic built-in script. Simply replacing the Keltner Channels overlay plot with color bars.
Equity Index Overnight FakeoutThis script highlights when price violates the highest high or lowest low within the user's selected lookback period, with the caveat that it occurs during the GLOBEX session. The script is designed to work exclusively with the trading hours for CME and CBOT Equity Index futures. I'm planning to make a more customizable version down the line.
My reasoning behind this very simple script is that the low liquidity and participation of the overnight session creates a tendency for moves at extremes to mean revert. Let me know what you think.
Strategy - Bobo PAPATRHi I've revamped this bot mentioned in the linked idea to make it work with v4 of pine. In doing so there are some very significant changes to how it works. The main one is that it no longer uses traditional daily pivot calculations to calculate the bands. It creates a more dynamic intraday set of pivot points based on recent price action rather than yesterday's ohlc. As published, the bot is tuned for a 15 min time frame. But it actually works well on lower time frames you just need to adjust the lookback periods in settings a bit to re tune it. It's also tuned to ES really but will need tweaking for a different instrument at the very least.
The basic concept is recent price action is used to calculate a 'middle' around which red and green bands are located. Their position or width is largely determined by recent volatility. The middle line is again calculated from recent price action. The three lines from that form a tradeable range with green at the top and red at the bottom. The strategy is simple enough, it shorts as it sinks from outside red, and longs when rising above green. The basic principle being that once you enter that range you have a high probability of hitting the middle before you hit your stop loss. So the basic principle is you are trying to capture the inherent ranginess of liquid indices like S&P 500. That back and forth movement that happens. The bot is capturing this by fading extremes of a recent range but the problem with that is you'dd get murdered in a strong trend. To mitigate that there is a trend calculation running in the background the will prevent trading against firm trends mostly. So the bot should trade mostly in rangy conditions because that is what it is trying to do.
Bot will close issue close signals automatically upon crossing the middle, it also will close automatically at predefined stops or limits. These values are denominated in market mintick values. For example the CFD SPX500 has a mintick of 0.1. Therefore a stop value of 100 will equate to 10 points on the index. If trading the same market via ES1! the mintick value is different - 0.25. So in this case a value of 40 is required to set the stop at 10 points.
Anyway shout if you have questions. Hope it's useful.
TVC:SPX OANDA:SPX500USD
Strategy - Bobo Intraday Swing Bot with filtersThis is an adapted version of my swing bot with additional filters that mean it works quite well on lower timeframes like 1min, 5 mins as long as you adjust the setting accordingly (reduce pivot timescale, band width)
Entry conditions are filtered by an invisible trend calculation running in the background so the bot doesn't repeatedly try and fail to fade a strong trend. It has just about everything you should need for basic use, stop losses and targets, automatically close trade at pivot.
I get good results on rangey instruments like major indices such as SPX / ES that kind of thing. Make sure you understand the minmum tick value of an index so the stop setting on the bot work properly
Hope it's useful!
@WACC Volatility Weighted PUT/CALL Positions [SPX]This indicator is based on Volatility and Market Sentiment. When volatility is high, and market sentiment is positive, the indicator is in a low or 'buy state'. When volatility is low and market sentiment is poor, the indicator is high.
The indicator uses the VIX as it's volatility input.
The indicator uses the spread between the Call Volume on SPX/SPY and the Put Volume.
This is pulled from CVSPX and PVSPX.
When volatility and put/call reaches a critical level, such as the levels present in a crisis or a sell off, the line will be green. See Sept 2015, 2008, and Feb 2018.
This level can be edited in the source code.
As the indicator is based on Put/Call, the indicator works best on larger time frames as the put/call ratio becomes a more discernible measure of sentiment over time.