Breakout mode patterns [yohtza]This indicator detects three kinds of price action patterns:
ii - consecutive inside bars ( high and low inside of the previous bar), triangle on a lower timeframe
oo - consecutive outside bars ( high above the high of the previous bar and the low below the low of the previous bar), expanding triangle on a lower timeframe
ioi - inside outside inside, diamond pattern on a lower timeframe
Traders that trade these patterns are entering on breakouts above/below .When they appear in a trending market, they are good setups for both continuation and reversal swing trades. When they appear in ranging market, they are not nearly as powerful since most breakouts fail in this context. To achieve the highest probability, it is best to trade in the direction of the trend on the last bar in the pattern with a stop loss on the other side and going for a reward that is at least twice the risk.
BPA
Barbwire [yohtza]This is an indicator that helps price action traders in determining when the market is in tight trading range.
Barbwire rules
The conditions for tight trading range are very simple. There has to be at least one doji (body is less than half size of the bars range from high to low) bar in the last three bars and there has to be lots of overlap between those bars. To quantify overlap indicator looks for bars that pull back 50% or more of the previous bars range and current bars that have 50% level touching the previous bar.
How to use this indicator?
For most traders it is best to avoid barbwire, only skilled and experienced traders who understand limit order trading can keep trading in these market conditions and still make money. So in simple terms it is a no trade zone and waiting for market to start trending again is most beneficial and greatly improves odds of achieving profitability and better trading results.
The term barbwire can be found in the books of Dr. Al Brooks which were the inspiration for creation of this indicator and are a great read for aspiring price action traders.
Are stop orders making money? [yohtza]Who is this indicator for and what does it do?
This is an indicator that helps price action traders in determining the strength of the trend and potential counter trend traps that present themselves during the move. It highlights the background of the bar at which counter trend traders that trade with stop orders (breakout entries) were able to achieve the same amount of reward as was their risk for that trade.
What is it based on?
When there is a strong trend in effect, the counter trend traders are unable to buy above(in bear trend) or sell below (in bull trend) a bar with a stop order and get an equal reward for the risk they are taking.
The first time counter trend traders are able to buy and make money in bear or sell and make money in bull it is a warning sign that market is likely transitioning into trading range phase of the market cycle.
Another application of the indicator is for discovering potential traps. If market comes very close to the take profit level of counter trend traders and reverses, they will usually try to get out with as much profit or as small of a loss as possible and that will often create a fast move (also called giving up) and a good with trend entry.
How does it work?
The indicator is using exponential moving average as a filter for when the market is trending and then scans for signals where counter trend traders enter. Next it looks if the stoploss or profit target was hit for that trade. If the profit target was hit it draws a box around the bar on which the traders entered, the box height is based on stoploss and profit target price levels.
Indicator inputs
- Scan for doji signal bars
When this option is selected, bars that have small bodies (less than 50% of their height) are also included as bars on which counter traders enter. If the option is not selected it only looks for bull trend bars (bodies are greater than 50% of their height) below the moving average and bear trend bars above the moving average.
- Border and background colors and border style
It is possible to select different colors and chose between solid, dashed and dotted borders
- Ema period
Default setting is 20 bar exponential moving average but feel free to use which you prefer
- Tick value
This is the value of the minimal movement of the chart you are trading on. For example for S&P 500 E-mini futures the value is 0.25 and that is the default setting.
BpaLibrary "Bpa"
TODO: library of Brooks Price Action concepts
isBreakoutBar(atr, high, low, close, open, tail, size)
TODO: check if the bar is a breakout based on the specified conditions
Parameters:
atr : TODO: atr value
high : TODO: high price
low : TODO: low price
close : TODO: close price
open : TODO: open price
tail : TODO: decimal value for a percent that represent the size of the tail of the bar that cant be preceeded to be considered strong close
size : TODO: decimal value for a percent that represents by how much the breakout bar should be bigger than others to be considered one
Returns: TODO: boolean value, true if breakout bar, false otherwise