The Best Binary Options Broker 2020!
Perfect For Beginners!
Free Demo Account!
Free Trading Education!
High Probability Trade Setups
I thought I would start this thread after discussions from another. The thread was called Rags to Riches. It basically outlines a Risk Reward system of 2:1. With this high R/R system it is possible to increase a deposit of $50 to $50 000 with 9 Net winning trades. To be able to complete this though it is required that the trades taken (as I mentioned earlier) needs a R/R of 2:1 (you will need a high leveraged account too ie 1:400). In other words the Take Profit needs to be double of what the Stop Loss is. (For full details see thread “Rags to Riches in 10 or 20 trades – Simplicity at its finest”) http://www.forexfactory.com/showthread.php?t=444377
As most experienced traders know this type of trade setup is very difficult to find, especially on a consistent basis. That’s where this thread comes into play. I figure if people were serious in achieving the R/R scenario outlined in Rags to Riches then a discussion could be started (here) about what a high probability trade looks like and how to trade it. I am hoping that people (including myself) will post high probability trade setups so that they may be analysed and eventually traded. For example: If pa is continually challenging a weekly high (or low) and the 4 hour chart and then 1 hour chart is setting up to tipping point of a break out then that in my opinion would be a high probability trade set up. I’m sure we all have had those moments when we were staring at our charts and suddenly a setup pattern emerges and hits us between the eyes. That’s what I’m talking about.
I think I need to stress here that unless you have a good foundation in the FOREX market and are currently profitable in your trading it is ill advised that you waste both resources and the possible emotional energy to attempt these types of trades. but I’m not your mother. By all means follow along and try to learn from what people have to say because that is the point of this thread.
About me. I am still fairly new to FOREX (about four years) and am still learning. I trade profitably from the basics. There is nothing too flash up my sleaves just hard work. I am hoping to attract traders to this thread who have more experience than me so that I can learn from and improve my skills (not to mention to make some money along the way).
So that’s that. I’ll put it out there (my 1st thread) and see how it goes.
Options and Probabilities
The more I talk with traders, read articles and listen to commentators the more everyone seems to be talking about what is the “most probable”. Certainly we all like the thought of being on the right side of a trade and assessing probabilities can play a large part.
Unfortunately, when it comes to options, all too many traders are led astray on the role probabilities play in option trading and end up limiting their chances of success. This article has two objectives:
- Discuss Probabilities and Option Trading
- Offer suggestions on making winning option trades
Probabilities and Outcomes
Most people believe that when placing a bet with multiple choices it is wisest to take the one with the highest probability. We see this frequently when option traders espouse selling Deep-Out-of-The-Money (DOTM) calls or puts and other strategies as “High-Probability” trades. This is facilitated as most every Broker-Dealer includes “probability” as part of their option trading platforms. One requires no special math skills to determine which of many options trades offer the highest probability. Option probabilities can be just a mouse-click away.
But the real question is “Does knowing the option probability help us?”
When placing bets, or investing, it is NOT the probability of outcome that dictates choice … it is the probability of outcome weighed against the “pay-off” that matters. One cannot make a successful and informed choice until one is given the “pay-off”. It is NOT probability that matters . it is EXPECTED RETURN that matters.
The Best Binary Options Broker 2020!
Perfect For Beginners!
Free Demo Account!
Free Trading Education!
If you take nothing else from this article, take this… When placing a bet, one does not choose the most “probable” outcome; one must choose the most “favorable” outcome.
Let’s look at the simple coin toss to better understand this. We all know that a fair coin toss has a 50% probability of landing either heads or tails. But what if the odds for winning bets on heads were one-for-one (1:1) while the odds for winning bets on tails was only 0.75:1? Though the probability remains the same, the expected return does not. One can expect to break even betting on heads and lose money betting on tails.
One must not just look at the probability of “winning” but compare it to the reward to determine if it is favorable.
So, what do coin tosses have to do with option trading? Very simple … option pricing is 100% about probabilities.
The real difference between options and a coin toss is that expected return is not as easy to calculate. There are numerous possible results. For instance selling a DOTM Call has a fixed return on the profit side, but many possible results on the loss side…including (theoretically) unlimited loss.
In order to calculate the expected return one cannot just multiply the probability by the premium credit. One must also calculate the expected loss return for each strike interval that ends up in-the-money (ITM). It means taking every possible strike for the underlying, calculating the probability associated with that strike, multiplying each strike by its probability, adding them all together and subtracting them from the probability of gain. This is an arduous task (fortunately made easier through calculus).
Consider that the Market makers determine the pricing using very sophisticated statistics and “Greeks”. Most traders are aware of some of the first order Greeks such as Delta, Theta and Gamma … but there are second and third order Greeks most traders never heard of… such as “Charm” and “Speed”. So don’t fool yourself, without advanced training in math, statistics, probabilities and the proper algorithm you cannot properly assess all the factors taken into account in the pricing.
I’ll save everyone a great deal of effort in making these complex calculations and simply state that every option is probabilistically equivalent. Over time, o ne has NO better probability of a GROSS profit on a DOTM option than a DITM option. This may take a little explaining.
Surely, a call that is written 2% DOTM has a much better chance of not being over-run than a call 1% OTM. However, it also has a much lower premium credit. Over time, the extra “over-run” risk of the 1% OTM is compensated for by the extra premium credit gained when it is not over-run. They are probabilistically equivalent.
If I may “hammer this home” by using a Roulette wheel as an example. Bettors can make the equivalent of a DOTM bet by betting on odd, even, red or black. Or they could make the equivalent of an ATM bet by betting on a single number, such as 28. Over time the monetary results will be the same. They will “hit” more often on the red/black/odd/even but will win less when they do. I won’t go into it here, but the “house edge” is the same 5.26% on every bet one can make (actually, there is one bet that increases the “house edge” to 8%, but few make that bet).
Let me also clear up a common misconception about probability and the Roulette wheel. Probability theory DOES NOT predict that everyone will be a loser if they play often enough. Quite the opposite. Even in a game that is purely chance and requires no skill, there will be lifetime winners and lifetime losers. It’s only when these two sets of betters are aggregated will we see the expected result. Probability theory only predicts that, over time, the winners and losers will even out and winners will win 5.26% less than “fair” and losers will lose 5.26% more than “fair”.
If you are not a member yet, you can join our forum discussions for answers to all your options questions.
The House Edge
With this basic understanding of options probability and expected return, let’s look to see if the “high-probability” option trade is, in fact, the “most favorable” trade. To make this analysis we must add in the costs of the trade. We need to move out of theory and into reality … a reality where the Market Maker insists on a “house edge”.
Before I get started, let me say that there are, on occasion, mispriced options. If there is a mispricing it can be exploited. However, this is very rare and most traders aren’t equipped to notice it. So let’s leave that on the shelf and move forward.
Let me use options on SPDR S&P500 ETF (SPY) as my example. I choose this underlying as they are widely traded, liquid and have a very low bid-ask spread. Let’s look at selling a call option. We can compare an At-The-Money (ATM) trade with a DOTM trade. We must remember that the pay-offs are adjusted according to their probability. From a risk/reward perspective on a GROSS return they are equivalent.
Let’s look at the bid/ask of the ATM and the OTM option. Though the bid/ask will vary dependent upon duration (weekly, monthly, etc.) …. for these purposes let’s look a month ahead. Most typically, the option will be priced as follows:
Basic probability: when two events have high probability, but their intersection has low probability
Are there cases where two events have high probability (i.e. each of them has high probability) but, at the same time, the probability that they both obtain is low? If yes, could you please provide a simple, daily-life example?
2 Answers 2
There is always a restriction to the probability of $A \cap B$:
$$1 \geq P(A \cup B) = P(A) + P(B) – P(A \cap B) \Rightarrow$$ $$P(A \cap B) \geq P(A) + P(B) -1$$ For example:
- $P(A) = 0.9$ and $P(B) = 0.9 \Rightarrow P(A \cap B) \geq 0.9+0.9-1 = 0.8$
So, the higher the probability of $A$ and $B$, the higher the lower bound for the probability of $A \cap B$.
Coin flip: probability of heads is $1/2$, probability of tails is $1/2$, probability of both is $0$.
Not the answer you’re looking for? Browse other questions tagged probability or ask your own question.
Hot Network Questions
Subscribe to RSS
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.
site design / logo © 2020 Stack Exchange Inc; user contributions licensed under cc by-sa 4.0 with attribution required. rev 2020.4.8.36551
Identifying Trade Setups by Support, Resistance and Price Action
Table of Contents
This article covers a trading methodology that can be used in any Forex, stock, or commodity market, as well as MQL4 code examples that can be used in an Expert Advisor based on this methodology.
Price action and the determination of support and resistance levels are the key components of the system. Market entry is entirely based on those two components. Reference price levels will be explained along with effective ways of choosing them. The MQL4 examples include parameters for minimizing risk. This is done by keeping market exit references and stops relatively close to the entry prices.
There is an additional benefit of allowing higher volume trades, regardless of account size. Lastly, options for determining profit targets are discussed, accompanied by MQL4 code that enables profitable market exit during a variety of conditions.
1. Looking at Support and Resistance
If you look at any price chart, for any market, having any timeframe, two facts will become apparent that are based on characteristics which consistently appear. One of these facts is that the market price shown at any point in time does not stay the same for very long. Given enough time, the market price will have significantly changed. Any price shown on the chart can be used as a reference level.
Certain prices, however, act as better references than others. We will get to that shortly. The second aforementioned fact is that any chart will have certain prices at which point the market trend will reverse. Often times, the market will repeatedly reach these price levels and change direction shortly after. These are the support and resistance levels that virtually any trader has heard of. Support is a price level below which the market will not drop. Resistance is a price above which the market will not go.
Also known as tops and bottoms, these price levels send the message that this is as far as the market will go (for now) and reversals will begin near these levels. Support and resistance levels are good prices to use as reference levels, as they signify prices at which a new trend can start with higher probability. Other prices, found approximately midway between two relative support and resistance levels, are also good reference levels. We will refer to these as midpoints.
Any portion of a price chart can be marked off with horizontal lines at relevant support, resistance, and midpoint prices to be used as references. An example of this is shown in Fig. 1 below.
Fig. 1. Support, resistance, and midpoint
The bottom purple line indicates support at 1.09838. The top red line indicates resistance at 1.10257.
Approximately halfway between the two is a black line, the midpoint, at 1.10048. The exact determination of support and resistance is subjective and can vary based on your own choices of possible market entries and exits. You might want to open a position at or near a very specific price. Or, the exact entry price might not matter as much and any one among a wider range of prices will suffice. It all depends on your individual trading style and profit goals.
As a result, the distance between your support and resistance reference points can vary greatly. They are only references to be used in defining proper trade conditions.
Fig. 2. Support and Resistance price ranges
Fig. 2 shows four different support and resistance price ranges on a 1-minute chart.
Some of the ranges are wider and some are narrower. As mentioned, the price levels are marked off subjectively, but it’s obvious that they occur at the tops and bottoms (and midway between) of short-term trends.
Figures 3 through 6 are examples of support and resistance ranges marked off over both longer and shorter time periods on 1-minute charts.
Figures 3-4 show a bull market and figures 5-6 show a bear market.
Fig. 3. Wide bull market
Fig. 4. Narrow bull market
Fig. 5. Wide bear market
Fig. 6. Narrow bear market
These reference price levels indicate areas to watch for specific types of price action. A trade setup occurs when these types of price action are seen on a chart.
2. Identifying High-Probability Setups from Price Action
There are a variety of double candlestick patterns that provide a high probability trade setup. Three that are considered will be described here. Occurrences of these patterns are watched for near the support and resistance levels that are being used as possible entry references. As a side note, every example presented from now on will be shown with 1-minute candlesticks. This timeframe will always be used because of the precise entry points that this system utilizes, as well as its tight range of Stop Loss orders.
Every one of the following three patterns is comprised of two 1-minute candlesticks. When one of these patterns is seen near a reference price level (support, resistance or midpoint), market entry occurs exactly at the opening price of the next (third) 1-minute candlestick. Examples of this will be shown after the three patterns are described.
The first pattern, Pattern 1, is comprised of a candlestick that has a “wick” that is longer than its body, and a second candlestick that closes past the first in the opposite direction of the first candlestick’s wick. The wick is the straight vertical line indicating the price range between either the high and Open/Close of a candlestick above its body, or the range between the low and the Open/Close below its body. “Doji” candlesticks could be included as the first candlestick in the pattern.
Fig. 7. Bullish Pattern 1
Fig. 8. Bearish Pattern 1
Figure 7 shows a bullish pattern and Fig. 8 shows a bearish pattern.
These patterns are similar to the “Hammer” candlestick patterns, but are not as specific, as doji’s can be included as well as any combination of up or down candles.
Fig. 9 shows a bullish trend that begins with this type of pattern.
Fig. 9. Bullish Trend
The second pattern, Pattern 2, consists of two candlesticks where the second candle has a body that is virtually the same length as the first candle’s body.
The bodies of both candles also have approximately the same open and close prices. It should be noted that the length of the bodies of both candles, and their corresponding open and close prices, do not have to match exactly. Examples of these patterns are shown in Fig. 10, a bearish pattern, and Fig. 11, which is a bullish pattern.
These patterns are known as “Tweezers”. Fig. 12 shows a bearish trend that starts with a Tweezer pattern.
Fig. 10. Bearish Pattern 2
Fig. 11. Bullish Pattern 2
Fig. 12. Bearish Trend
The last pattern, Pattern 3, is more of a general pattern in that it consists of virtually any type of candlestick in the first position and a second candlestick that closes completely past the first. Fig. 13 shows a bullish pattern and Fig. 14 shows a bearish pattern.
Fig. 15 shows a bullish trend beginning with this type of pattern.
Fig. 13. Bullish Pattern 3
Fig. 14. Bearish Pattern 3
Fig. 15. Bullish Trend
When you look at a pair of 1-minute candlesticks that form one of these three patterns, you should consider one other factor in choosing whether or not to enter the market at that point in time.
And that is the difference between the potential entry price and the nearby support or resistance price used as a reference. If the entry price is too far from the reference level, you might not want to open a position, regardless of the price action pattern.
As mentioned previously, actual market entry occurs at the exact moment that the next 1-minute candlestick opens. In other words, 2 candlesticks form one of the described patterns and then a third candlestick opens. It is right at that opening price that a market order is placed. This will be illustrated in the following section that covers the MQL4 code used for these setups. Obviously, because price action is a key element of these types of trade setups, market orders are always used for entry. Pending orders for entry are never used.
3. MQL4 Code for Price Action Setups
Now that the methodology behind the trading system’s entries has been covered, the code for its implementation will be explained.
The following blocks of code can be used in EAs based on price action and support/resistance levels. First, you will define your variables. Some of the variables will consist of recent open, high, low, and close prices of 1-minute candlesticks. Each of these four prices will be found for the current 1-minute candlestick and the two previous candles. This is done by using iOpen(), iHigh(), iLow(), and iClose().
Since you will be looking for a fully-formed two candle pattern, the candle that forms two minutes prior to the current one will be the first in the pattern (for example, the left candle in Fig. 7). That candlestick will be labeled Candle1. The next candlestick that is formed one minute later will be labeled Candle2 (the right candle in Fig. 7).
The current candlestick will be labeled Candle3, and will be forming to the right of Candle2. Because real-time price action is being monitored, it is from this perspective of the current and two previous candlesticks that the Expert Advisor will operate.
The above code will define the opening price of Candle1.
Because the value of this variable will be a decimal, the double data type is used. “O1” refers to the Open price of the first candle in the pattern. iOpen() provides this data with Symbol() used as the first parameter so that it works with any symbol on the chart from which the EA is operating.
“PERIOD_M1” specifies the 1-minute timeframe and the last parameter, having a value of 2 in this case, defines the shift relative to the current candlestick. A shift of 0 would indicate the current candle, 1 would indicate one candlestick back, and 2 indicates two candlesticks back.
Correspondingly, O1, H1, L1 and C1 refer to the Open, High, Low, and Close prices of Candle1, respectively. The O2, H2, L2, C2, and O3, H3, L3, C3 refer to the same prices for Candles 2 and 3.
The following code block is an example of these variable definitions.
The conditional statements will be described next. Specifically, the conditionals that would define an occurrence of one of the three primary 2-candlestick patterns.
An instance of Pattern 1, described in the previous section and shown in Fig. 7 above, would have occurred if the following statement was true.
This pattern requires six conditions to be met. The first, C1>=O1, states that Candle1 has to be an upside candle, or its opening price can equal its closing price. L1 H1 necessitates that Candle2 closes above the high price of Candle1. Lastly, the low price of Candle2 must be higher than the low price of Candle1.
If all these conditions are met at the occurrence of Pattern 1, the following code will place a BUY market order.
This order will have a 0.1 lot volume, a slippage of 5, a Stop Loss of 10 pips below the Bid, and a Take Profit of 50 pips above the Bid.
Alternatively, in order to place a SELL market order, the conditions will be changed to allow for a bearish pattern similar to Fig. 8. Also, the OrderSend() function parameters will differ accordingly.
This code would place an order similar to that shown above, only in the opposite direction:
Similar code will be used to place market orders when instances of Pattern 2 and Pattern 3 occur.
A bullish Pattern 2 (tweezers) will have the following required conditions:
A bearish Pattern 2 would have this code:
Lastly, Pattern 3 has the following conditions for both bullish and bearish setups, respectively:
Some of the order parameters, such as the Stop Loss and Take Profit, can also be set as variables, instead of being explicitly stated as in the examples above.
4. Combining Support/Resistance with Price Action
Now it is time to combine the price action code with additional code that monitors support and resistance prices as your reference levels.
The EA will watch for the market to reach a certain price level. Once this level is reached, it will look for the types of price action represented by Patterns 1-3. It can be all of those three patterns, bullish or bearish, or only one or a small number of them. The following code uses two more variables to check if the market has reached a certain price, in this case 1.09000 for EURUSD.
For this example, the EURUSD market is trading below 1.09000 at the time that this code becomes active.
The variable ref denotes a reference price level (support, resistance, or midpoint) that is being watched. The other variable, refhit, describes the current market state as having hit the reference price level, or not having reached it yet. Refhit is an integer having a value of 0 or 1. The default value is 0, it indicates that the reference price level has not been hit.
The conditions shown below the variables would, if met, register the market immediately hitting the reference level if and when that occurs. These two variables will now be added to the previously described price action code.
To conclude the EURUSD example, a bullish Pattern 3 setup will be watched for above 1.09000.
This is how the Pattern 3 code will be modified:
The first additional condition, refhit==1, requires the market to have reached or surpassed the defined value for the ref variable, in this case 1.09000. Remember that the market is trading below 1.09000 before it reaches it. The last two new conditions that were added require both candles of Pattern 3 to close above the ref variable of 1.09000.
For the last example, Fig. 16 shows EURUSD trading between a short term support and resistance range of 1.07660 and 1.07841, respectively.
At the far right section of the image, you can see that the market is trading almost halfway between the two levels.
A long entry will be watched for, near the support level of 1.07660. Because markets do not always reach the exact prices used for support or resistance, a nearby price will be used as a reference level.
In this case it will be 1.07690, a price 3 pips above support. Bullish setups utilizing Patterns 1 through 3 will be watched for.
Fig. 17. EURUSD reversal
Fig. 18. EURUSD entry
Fig. 19. EURUSD exit
All of the code sections for the bullish patterns require that the market reaches down to 1.07690 and that both Candles 1 and 2 close above it.
Also, the Take Profit levels were doubled from the previous examples. Fig. 17 shows that the market did turn downwards and slightly passed 1.07690, reaching 1.07670 before turning back upwards. This caused refhit to change to a value of 1.
Soon after reversing back upwards, a bullish Pattern 3 formed. This is where a market BUY order was placed and a position opened at 1.07740, as indicated in Fig. 18. (At the opening of Candle 3, the Bid was 1.07720. Due to an allowed slippage of 5, the order was filled at 1.07740.) From that point, the market began a strong trend upwards as shown in Fig. 19. The Stop Loss price was never hit and the position was closed at the Take Profit of 1.08740.
As can be seen by the examples included here, the use of price action in combination with the monitoring of support and resistance levels can be extremely effective in determining trade setups.
The MQL4 code that is included and explained is obviously partial and in and of itself does not constitute an EA. These code examples are to be used as building blocks for a complete Expert Advisor. The primary goal was to illustrate the concepts behind the trading methodology. Other price action patterns can be coded for both market entry and exit. Good luck in all your trading endeavors.
The Best Binary Options Broker 2020!
Perfect For Beginners!
Free Demo Account!
Free Trading Education!