Showing posts with label Osikani. Show all posts
Showing posts with label Osikani. Show all posts

Friday, May 14, 2010

So What is the Real Risk in That Position?

This was to have been written a while back, and in many ways I wish that I had managed to do so before last Thursday’s meltdown. Originally intended to show how a stop loss order is poor protection against an overnight gap, it turns out that the same principles are relevant even to a very steep intraday decline which leaves one unable to place orders; which when we come to think of it, is really no different from a sudden (i.e,. overnight) gap.
In our last write-up, we examined position sizing and how to determine it. In doing so, we used a stop loss as a measure of maximum risk.
Let us recap. (We were talking of a entering a long position).
Account Size = 40k
Maximum risk per position = 2%
Hence our maximum that we are prepared to lose in a trade is 2% of 40,000 = $800.
We then postulated that the maximum tolerable loss per share would be $2.50, so we came up with:
Number of Shares to buy = 800/2.5 = 320.
So buying a round lot, we buy 300 shares, reducing our total risk to $750; if we want to maintain our risk at $800, then we can increase our stop loss to $2.66.
If the details are sketchy, you can always review the first post here: How Many Should I Buy ?


Is That Really Your Maximum Risk ?
There are really only 2 ways to place a stop loss order: either a “Stop Market” order or a “Stop Limit” order.
Let us assume the worst, and say that after you placed this very well thought out trade on the close, you woke up the next morning to see a $5 drop overnight (or alternatively, during the next day, the market took a sudden dive after the manipulators decided to withdraw all bids in a show of force to stop politically inspired reform, or for whatever reason).
Let us take a look at what would happen.
  1. You had a StopMarket order.

    You will be filled at whatever price the market maker decides to fill you, albeit it will most probably be no lower than the bid at the time that you are filled. Remember that you are selling, so a market order is at the bid. Nothing stops the market maker from waiting for a while for the price to drop some more before you are filled. Of course, you can complain to your broker, with screenshots to prove it, and the difference MIGHT be refunded to you.

    The net is that you will probably be filled at a price $5 less than you entered at, a total loss of $1,500 on your account; a far cry from what you had planned.

  2. You had a stoplimit order

    The current price is so far below the minimum price that you are willing to accept, per your limit order, that your order is not filled. You can then choose to wait, smoking copious hopium, or decide to liquidate at market.

    If you choose to wait, then you will get filled at the time that the stock is moving back up, in the original direction that you wanted the stock to be moving. Oops.

    If you are unwilling to take the loss, and move your stop below the current price, you have compounded your probable loss, with only hopium to show for it.
If you are really unlucky, and the stock faced a $40 drop, you would be out $12,000 ! You think it cannot happen? Remember Bear Stearns? OK. So that was a black swan event. Ask those to whom it happened if they care about the color of swans.

Regardless, when you use a stop loss for risk control, the real amount that you have at risk, is the entire position, even if it is a far fetched possibility. The stock CAN go to zero.


So What To Do Instead ?
What if I told you that there is another kind of equity that you can purchase which will ABSOLUTELY GUARANTEE that no matter how far or fast your original stock price dropped, you can sell this new equity at a specified guaranteed price, no questions asked? What this means is that even if the stock dropped passed your original stop loss point, you can just walk away, knowing that you are covered, and you absolutely CANNOT lose more than you had originally planned. No need to worry if you cannot place a trade because there are no bids; no need to even think about how much further the stock can drop.
Does that sound too good to be true? Well, this is one instance when it is not too good to be true. Of course, there is a cost: you have to buy this instrument, thereby sacrificing a part of your profits, most probably, but not necessarily. If it still sounds too good to be true, let me ask you another question. If I said that I could sell you a contract, such that if you had a car crash that damaged your car beyond repair, we would give you money to buy another car, would that be too good to be true? Of course not: you are required to purchase such a contract; it is called “Insurance”.
Well, basically, when you buy car insurance, what you have done it to get the right, under very specific circumstances, to PUT you car into the Insurance Company’s name, and get paid for it. We all know that when the crash happens, the insurance company will go into an “Muhammed Ali Shuffle”, as it tries to find all manner of reasons not to pay up.
Fortunately, when we are dealing with stocks, there is another authority that ensures that the insurance gets paid. By now, you must have figured that that authority is the OIC, and I am talking about PUT options.


So What Are The Mechanics ?
Instead of returning to our fictional company, let us look at a real stock, assuming the same account size and risk parameters.
As we already know how to efficiently trade options, we shall select a stock where we can put that knowledge to use. As always, THIS IS NOT A TRADE RECOMMENDATION: it is an illustrative example. If you are unclear about that, please read the disclaimer at the bottom right corner of this page; then read it AGAIN.
Knowing that everything in this market is bullish, we shall go back to last Wednesday, May 5, 2010 to place out trade, and see how it would have played out. We shall take the ultra efficient IWM for our vehicle. Our data will come from TOS thinkback. Very nice.
Purchase price = IWM MOC @ $69.92
Stop Loss = $67.30, placed $0.09 below the swing low on Apr 1, 2010. As good as any. You just need a good reason to select a reasonable stop.
Therefore, risk per share = $2.62
Risk on account = 2% of 40k = $800
Therefore, Number of shares = 800/2.62 = 305+
We purchase 300 IWM MOC @ $69.92 = $20,976
This means that, basically, half our entire account is in one position. This is clearly not desirable, but it is a great way to illustrate this point, and (later) how to trade the same position without tying up so much of the entire account.
We all know what would have happened on Thursday to our position, so let us not dwell on that. Instead let us see how we could have protected our position better than the stop loss did.
Looking at the June PUT options (ask price, rounded for easy calculation):
June 69 PUT: $2.00
June 70 PUT: $2.30
June 71 PUT: $2.70
In order to determine what our choice is, we assume the worst: the IWM tanks to zero! Of course, we know that is almost impossible. That is not the point. The point is that if this were not the IWM, but a stock, it could go to zero. Remember Enron? If the stock went to zero, we can immediately sell our option for the strike price, if not slightly more.
Let us see what each option purchase then affords us.
  • June 69 PUT
IWM purchase price = $69.92
June 69 PUT purchase price = $2.00
Total outlay = $69.92 + $2.00 = $71.92
Proceeds from sale of PUT = $69
Total loss = $71.92 – $69 = $2.92, a bit more than the planned $2.62, but certainly better than losing the entire trade because you could not get out quickly enough.
  • June 70 PUT
IWM purchase price = $69.92
June 69 PUT purchase price = $2.30
Total outlay = $69.92 + $2.30 = $72.22
Proceeds from sale of PUT = $70
Total loss = $72.22 – $70 = $2.22. Actually LESS than the planned loss of $2.62! And you can hold the trade even while the IWM was tanking.
  • June 71 PUT
IWM purchase price = $69.92
June 69 PUT purchase price = $2.70
Total outlay = $69.92 + $2.70 = $72.62
Proceeds from sale of PUT = $71
Total loss = $72.62 – $71 = $1.62 !!!
So it would appear that using PUT options instead of a stop loss, is at any rate reducing our risk.
That is all fine and dandy, but it does not tell the whole story. Here is the rest of the story. You PAID money for that PUT, so that means that your profits, if the position were to be profitable would be reduced by what you paid for the puts. There is no such thing as a free lunch.
Options pros have a name for the position that has just been created. It is called a “married put”. Married Put = long stock + long option.
How does this affect us?
Let us assume that you have a target of $74 (just under the April 2010 high). We are not looking at the merits of a trade that would have in the first instance appeared to have risked $2.62 (the stop loss) to make $4.08 ($74 – $69.92 purchase price); we are illustrating a principle here. If that is the case, then we assume that you would have sold the position at $74. So, when you liquidate the position, here would have been the various profits.
Profits = Proceeds - total cost of entry
Profits = Proceeds – (cost of stock + cost of put)
Profits = $74 – ($69.92 + cost of put)
  • June 69 Married PUT
Profits = $74 – $71.92 = $2.08
  • June 70 Married PUT
Profits = $74 – $72.22 = $1.78
  • June 71 Married PUT
Profits = $74 – $72.62 = $1.38


Naturally, these figures would look a whole lot better if you had a higher target price.
However, continuing with our $74 target, as we have decided that no matter what, we are getting out at $74, why not then use another equity to ensure that if we breach $74, we are going to get paid $74. Better yet, if we do NOT breach $74, we get paid anyway!
You guessed it: we sell the June 74 Call for $0.96.
Once we do that, we have capped our loss. but we have also capped our profits. Just add the $0.96 to each scenario to see what have. Options pros, call this position a collar. Collar = long stock + long option + short call.
  • June 69-74 Collar
Max Profits = $74 – $71.92 + $0.96 = $3.04
Max Loss = $2.92
  • June 70-74 Collar
Profits =$ 74 –$ 72.22 + $0.96 = $2.74
Max Loss = $2.22
  • June 71-74 Collar
Profits = $74 – $72.62 + $0.96 = $2.34
Max Loss = $1.62


You can calculate the risk to reward ratios for yourself.
That concludes this write up. The only thing left to note is that we have constructed a position where both our risk and our reward are capped, regardless of what happens to the stock. Does that remind you of something else? Remember that even though you have now totally limited your risk, you have still tied up half your account in one position. Even if your total possible loss is small, tying up half your account in one position can hardly be described as efficient.
Our next write up will tackle that question.
As one last parting note, what would be our current position if we had made this trade, and then been forced to sit through last Thursday’s meltdown?
  • At the end of that scary Friday, May 5, 2010 - http://screencast.com/t/OWJjNDAy – a ~$200 loss after that scary drop and return. And you sat all through it, drinking a latte, while the position tanked way past your original stop loss, but you stopped losing money.
  • At the end of today, May 13, 2010 - http://screencast.com/t/OWJjNDAy – position has returned to profitability, and all because you did not get stopped out by that insane market downturn.
Finally, the 71-74 collar shows a total per share risk of $1.62. The question then arises. Should we increase our position size to 500 shares, so that our risk is just a shade above the $800 we talk about? Well, we could, but then our cost of entry has gone up to $72.62, meaning that we would be using $36,310 for the position. For all practical purposes we would have tied up our entire account in one position. Oops.

- Authored by Osi

Monday, May 03, 2010

How Many Should I buy? (by Osikani)

Talking about position sizing.
Lately I have been feeling homicidal, as this market has kept faking me out. The only reason I am still solvent, after foolishly fighting the Fed for so long is my now ruthless and speedy exit from my numerous losing positions, and my staying in on the few days that give me traction. It takes a good whipping from Ms. Market to begin to appreciate how to stop being patient with losers, and being panicked into quick exits with small profits. Some pundits will tell you that in the market, there are fear and greed. Do not believe it; there is only one emotion in the market: FEAR. We exit too soon because we are afraid to give back our crumbs after we have been whipped so hard for so long because we were afraid to take our loss, just in case the hopium was real.
All of which leads to questions of risk. It may be paradoxical to some, but ALL positions in the market are function ONLY of risk. If we do not control our risk, we lose our shirts, and a few things besides. That is why I have taken a request out of the blog, asking about how to calculate position size, and will use it for a discussion that ranges a bit deeper than that.
We shall discuss:
  • How our risk determines our position size.
  • The likelihood of our being taken out by a stop loss.
  • A more efficient means of staying in our position without using a stop loss, allowing greater ability to hold the fort, so to speak.
  • A more efficient use of capital to handle the same risk.
To do this we shall start by building a position in the fictional XYZ Corporation. Once again, simply because it is generally easier to understand the concept of buying something, and then making money as it increases in value, or losing money as it drops in value, we shall look at a long position.
1. What are you willing to lose per share?
This is where most traders start. Whereas it is not the best place to start, it is still a valid one. So let us say that XYZ is currently at $50 (nice round numbers, to make thing easy), and you have determined using your latest technical analysis, or guru, that you will use a Stop Loss of $47.50 for whatever reason.
That implies that you are willing to lose &2.50 (Price - "Stop Loss") per share.
2. How much of your equity are you willing to lose if you get taken out immediately?
This is really the first question to ask. Let us assume that you have an account with $40,000 free equity (essentially the cash in the account).
The first thing is to decide what percentage you are willing to lose. I cannot think of any other method that makes sense, but I am sure there are some. A fixed amount is a bad idea because it means that if your account starts to lose, then you are risking more on each trade, and as your account increases, you are risking a whole lot less. While it makes sense to risk less on a larger account, that is probably only really true when we get to 7 figure accounts. Regardless, we shall risk 2% of our free equity.
If we allow only a 2% loss per position, then the maximum that we think we are willing to lose is 0.02 x $40k = $800. (2% = 2/100 = 0.02).
3. What then should be our position size?
This may hurt some feelings, but I have found that the American education system like to reduce mathematics to a long farrago of memorizing formulas for specific situations, instead of stressing that math is just a convenient way to use number to understand reality. As I insist that it is easier to remember if one understands, let us try to understand what we are doing here.
Essentially, what we are asking is this: If I am willing to lose $800 in total, while losing $2.50 per share, how many shares should I buy? In that case, it becomes obvious that you are looking for the number of shares, such that if you lost $2.50 on each, it will amount to $800. That translates to:
"Total Loss" = "Number of Shares" x "Loss per share"
800 = "Number of shares" x 2.50
Please try to understand what I have explained instead of memorizing that formula, but the choice is yours.
This is not a course in elementary math, and I do not want to be condescending, but let us see how we can solve the equation. We are trying to isolate the "Number of Shares" to one side of the equation. There are two ways to think of how to do it, one convenient, the other mathematically rigorous.
First the convenient, which is how my brother initially taught me when I was having great difficulty.
Look at each element in the equation, and if there is any operand ( +, -, x, / ) in front of it, assume that the operand belongs to the term. If there is nothing, then assume a "+", but ONLY if you are going to move that term across the equals sign. So the terms then are 800 = "Number of Shares" (x 2.50).
Move the terms that you need to move to isolate your quantity, across the equal sign to the other side. WHENEVER a term moves across the equal sign, it will change its operand to the opposite; so a multiplication becomes a division; an addition becomes a subtraction and vice versa.
We then get: 800 (/2.5) = "Number of Shares", moving (x2.5) across the equal sign to become (/2.5) and as the two sides are always equal, we can simply switch them and have: Number of Shares = 800/2.5 = 320
Now the rigorous method. We want to isolate "Number of Shares", and anything multiplied by 1 is axiomatically itself, so we are going to reduce 2.5 to 1. Therefore, we divide both sides by 2.5. (To maintain the equality, you must do to the other side whatever you do to one side). We are then left with:
800/2.5 = Number of Shares x (2.5/2.5) = Number of Shares x 1
Number of Shares= 320.
4. How many shares should we really buy?
300, a round lot, making our risk now 2.5 x 300 = $750. If you insist on a total risk of $800, then the question now becomes: how large should be my stop loss so that on 300 shares, I can lose a maximum of 800.
This translates to:
"Total Loss" = "Number of Shares" x "Stop Less"
800 = "Stop Loss" x 300
800/300 = "Stop Loss"
"Stop Loss" = $2.66
5. Why 300 instead of 320 shares?
To the market makers, odd lots are the mark of an amateur, ripe for the plucking. Markets are driven to clusters of odd lots, especially when there are no real institutional players putting large orders on the tape. It is a simple matter of the market makers taking advantage of fear. A large cluster of odd lots just means a lot of fearful folks who can easily be panicked out, and help to drive the market into a quick fade and pop. Basically, they place buy orders just under the cluster and then start selling. As the selling intensifies, the odd lots (stops) are triggered as a quick series of trades, pushing down even harder. The market looks like it is tanking, then hits the waiting buy orders, and pops right back up. That is what is called a stop sweep. Remember, the playing field is NOT level; your counter-party, the market maker's book shows where all the orders are sitting.
As we do not want this to be too long, or it might not bet read, this concludes our brief exploration of position sizing. Our next write-up will continue with the other issues.
Hold your horses, and do not become one of these.

Wednesday, April 07, 2010

Efficiently trading options


Osikani

 

 


Before we get into definitions of what we mean, let us clear up what we are about to discuss. Trading options efficiently means knowing the marketplace, the players and how they act.
For some reason, people who have money like to buy things, and then watch them go up in value. For that reason, it is usually easier to explain things in terms of buy, increase, sell. So we shall use long call options as our vessel to explain things. All the principles we explain, as will be evident will also apply to selling options. As option spreads just consist of the simultaneous purchase and sale of different options, the ways of efficiently trading long calls, will be no different for any other kind of options position. So much, initially for the market.
Now let us look at the players. First, there are we, the retail trader; then there is our counterparty the market maker/specialist or whatever they are called. Institutional investors are not of any interest to this discussion: they might be important in deciding what options to look at - for example, because of unusual options activity in an underlying - but what we are discussing here is how to efficiently trade options that you have already decided to purchase for whatever reason; the actual reason is not relevant.
Before we look at the games that market makers play, here are the first 2 rules of efficient options trading:
1. If you cannot find an option that is efficient, pass on the trade. There is always another one somewhere, and if there is not, then sit on your hands, and keep your powder dry.
2. Do not go long options when the recent implied volatility is high compared to what it has been in the last 20 days.
There is a place where we shall talk about the greeks, at which time we can explain rule 2. Now we need to know what we mean about rule 1.
The Market maker/specialist
---------------------------
This is always your counterparty. You do NOT trade with other traders; you and all other traders trade with the market makers, however they are designated.
If we look at how the market makers are defined, this is what we get: "The market makers provide a required amount of liquidity to the security's market, and take the other side of trades when there are short-term buy-and-sell-side imbalances in customer orders. This helps prevent excess volatility, and in return, the specialist is granted various informational and trade execution advantages.
Other U.S. exchanges, most prominently the NASDAQ Stock Exchange, employ several competing official market makers in a security. These market makers are required to maintain two-sided markets during exchange hours and are obligated to buy and sell at their displayed bids and offers. They typically do not receive the trading advantages a specialist does, but they do get some, such as the ability to naked short a stock, i.e., selling it without borrowing it. In most situations, only official market makers are permitted to engage in naked shorting."
How altruistic of these kind folks? How can I put this delicately, to disabuse your minds of any such claptrap? I know: "That is a damn, blasted lie! The market makers sole purpose it to take the money out of your pocket and put it into his." There are many tools that are used. The major one, since it affects underlying equities, is the market maker's book. Imagine that you are negotiating a purchase of a car and that the dealer can see beforehand the maximum price that you will pay, quite apart from the offer that you have made. That is the market maker's situation: he/she can see your orders, and your uncle-point order. If there are enough orders clustered with yours, he/she will manage to drive the market there to take advantage of all those orders just sitting there to be executed. What is his main tool to move the market? The bid/ask spread. By adjusting the bid/ask spread, the market maker can continually make one side more attractive than the other. Once we understand how they manipulate the bid/ask spread, and what they do when they take your option order, we can start to think of how to achieve efficiency.
Buying and Selling
------------------
Before we actually look at how the market is driven, we need to look at what it means when we buy and sell that call.
The market maker, generally will sell at the ask, buy at the bid. We must then needs be doing the opposite. So, a retail trader buys at the ask, and sells at the bid.
What does this mean? Let us look at an example. The SPX May 2010 1185 Call option has a bid price of 24.30 and an ask price of 26.30. Assume that you buy this option. You have to pay 26.30 for it. Let us assume that you instantly think you made a mistake, and have to sell. You must sell at 24.30, losing $200 just for entering the position. Unfortunately, when I give this example, I often get a response which says: "Well, yes if I had to exit immediately, that might be a problem, but not if I held it." To say the least, this is a shocking response. What in the blue hell does it matter how long you hold it? BEFORE YOU CAN MAKE A PROFIT, the bid price (at which you are going to sell) MUST rise above the 26.30 at which you bought the option. In other words, the bid must travel from 24.30 to 26.30 before you break even (sans commissions). This has nothing to do with how long you hold the option. If you hold it for 1 minute, or 3 weeks, the bid must be higher than the ask at the time that you bought the option. To put it simply you MUST overcome the bid/ask spread of 2.00 BEFORE you can be profitable, no matter how long you hold the option.
The option penalty
------------------
The preceding discussion means that every time you buy an option, you are in effect paying a penalty to be in the trade. This penalty is the bid/ask spread. There is more than one way of looking at this penalty. Many folks like to look at it as a fraction/percentage of the cost of entry, and use that to make a decision. So, in the example that we gave, the penalty for entry to the trade is 2.00 divided by 24.30, or roughly 8%. Some will just look at it in absolute terms and say $200 is $200. Before you make the trade, you need to ask yourself: "How many people do you know who even earn $200 an hour, and how many trades do you make that make 8%?" And please remember that is the penalty that you pay up front!
Trading efficiently
-------------------
This then points us to the way to trade efficiently. Minimize the penalty of entry. Just keeping this alone in mind, means an immediate jump in efficiency. However, to do this, we need to understand what our counter party, the market maker is doing, and why.
What happens when you buy a call is pretty much always the same. If you buy a call, then it means that the market maker sold the call. For most firms, within 5 seconds, he will purchase stock to hedge the sale to you. He now effectively has a covered call. When we come to sythetics, we shall find that he is effectively short a naked put. (Incidentally, despite how hard options pundits try to make synthetics look complex, the reality is that instead of memorizing all the various combinations, a tendency that the USSA education system seems to create, you only NEED to understand ONE equation and ONE axiom, to be able to synthesize any position, most of the time without even using paper to write anything!!! I promise that when I teach this, those of you who choose to understand rather than memorize may well be shocked at how easy it is to synthesize positions using options and stock.) Why does the market maker buy stock instead of creating a spread by buying a different option? Because stock has only delta, by using stock, he immediately captures the extrinsic value of the option (the amount by which the option price exceeds the difference between the stock price and the option strike price). Stock value is not directly affected by volatility considerations. Let us not turn this into a lesson on the greeks, so let us leave this here.
Someone else sells a call, the market maker goes short to hedge.
This goes on all day. At the end of the day, the market maker balances his books, mostly by boxing spreads and determines his net position. If he is net long, he will usually hedge, either by shorting stock, or preferably, buying put options, usually on the SPX or SPY. (Just as a side note, note the effect this has on the VIX. If the herd is short, the market makers are long, and buying SPX puts to hedge. So now you know why the VIX rises when the herd is net short).
Let us get back to the efficiency question. If the market maker is unbalanced at any time; maybe a sudden spike in activity, he will try to buy time to get balanced by slowing the action. Assume that the herd suddenly starts buying. As he gets more and more short, he wants to slow the buying, so he ups the ask and holds the bid. This means automatically that the bid/ask spread widens, so more savvy investors stop buying because the bid/ask spread is too wide. Some more of the herd simply stop buying because the ask is above the price that they wish to pay. Regardless, because the bid/ask spread has widened, the penalty of entry also increases, and all of us who have now read this will also join those sitting out (hopefully). Regardless, the buying slows. Now to increase selling, he will bring up the bid, or lower the ask, depending on whether he wants the price to go relative to his large option position. Generally the price will be driven to just where the most options will expire worthless, giving the market maker the full value of the extrinsic value of all sold options. If you buy out of the money options, he makes a profit on the stock too!! Now you know why options get pinned at expiration!
In other words, the market maker is signaling his willingness to trade, by the size of the bid/ask spread. The narrower it is, the more interested he is in trading, so the easier it is to get in and out. In effect, the liquidity of the market is really a function of how eager the market maker is to trade off his position. The net effect of all this then is that the narrowest bid/ask spreads will generally be at the options with the highest open interest (where the most contracts are open). Now you know why most good options traders look at open interest.
So now, we come to the same rules that you may have seen elsewhere. Now you know why you should use them.
1. Trade options with a narrow bid/ask spread. Best are those with penny wide spreads, as you can generally become the market maker on those, buying at the bid, selling at the ask, as the normal noise of the market will put you in. The narrower, the bid/ask spread, the smaller the penalty. For example the penalty to trade the SPY May 2010 118 Calls is 0.01 (the spread) divided by 3.05 (the bid), 0.33%, or $1 ! The narrow bid/ask spread CANNOT be emphasized enough. It is the single most important thing when you trade options. I generally will not trade any options that have more than a 0.10 bid/ask spread; just occasionally, I will trade a 0.15 spread. What if I cannot find any options with a narrow enough spread on what I want to trade? I pass on the trade.
2. Trade options with high open interest. Generally, this is because with so many contracts open, the market maker's position is more likely to be unbalanced. He wants to balance out his position, which gives him an incentive to trade. In point of fact, a narrow bid/ask spread will also most often be at the options with the highest open interest anyway.
3. If you are long, trade an option that moves. A slow moving stock will eat away your extrinsic value. We are not yet talking about the greeks here, so let us just leave this as a rule with no explanation.
4. If you are long, trade options with low implied volatility. This again is a matter of the greeks, which we shall tackle at another time. They are not as complex as some make them sound.
Bang for the buck
-----------------
There are really only three option trades: (looking at calls for now)
1. In the money. The option strike price is less than the price of the stock.
2. Out of the money. The option strike price is higher than the price of the stock.
3. At the money. We shall be liberal and say that ATM consists of the 2 nearest strikes to the price of the stock, on each side.
Many ask which to trade. There is no real answer. It depends on what you want to do.
In the money options are the safest as they already have a real value at least equal to the difference between the option strike price and the stock. If the stock stagnates, all that is lost is the extrinsic value.
Out of the money options are the least likely to be profitable, as they have only time value. This means that your analysis must be spot on as to where the stock is going, and the stock must get there fast. You want to buy the option with a strike that is just inside where you expect the stock to go.
At the money options give the most bang for the buck, striking a balance between one's chances of the stock moving in a favorable direction and the amount of extrinsic value.
Note that because ATM options have essentially a 50/50 chance of being in the money, they also have the highest uncertainty, and so the highest implied volatility. OTM options are known to be likely out of contention: ITM options are likely in contention. It is the ATM ones that are chancy, so once again, you see that is where the market maker keeps things bad for the retail customer.

Friday, March 19, 2010

Osikani Market Noise Indicator

2010-03-19_2243 A Brief Treatise On Market Noise (and an indicator)

This description is a very simplified, almost but not quite naive discussion of how to determine market noise based on the idea that the way that we look at market data is in effect a digital sampling of an analog signal. It never gets mathematically dense, as it is a bit oversimplified, but just in case you are not interested in the understanding behind the indicator, you can jump to the code that is appended to this post.
1. To get started, why is market data a digital sample of an analog signal?
Given any chart interval, we specify one price (most often the close), as the price for that time. In reality, the price moved within a range (quasi-continuous, as even within that range, prices can only move in discrete ticks). Therefore, by specifying only one price for each interval, we have in effect taken discrete samples of the continuous range and are using it to represent the progression of prices. That is the definition of digital sampling. So we theorize initially that the sampling should be amenable to principles of digital signal processing, where the analog signal is made up of the continuous stream of market prices, and the samples are the prices that we use to mark each arbitrary chart interval.
With this simplified view of market prices, let us see how we can determine a value for noise.
2. Using our anecdotal experiences, I am sure that most peoples' entry price is actually the middle of the price candle. We all know that, like magic, as soon as we enter our order, the price moves against us, before moving in our direction, if at all. This of course, excludes those super traders who always buy the bottom tick, sell the top tick, and never have a losing trade. They do not need stinking Osikani to give them this crap. Therefore, we are going to say that the sample price is the mid price. By most simplified definitions, this would be, and often is, called the average price.
Again drawing a parallel with the world of DSP, let us assume that we have a constant signal. In terms of market price, we essentially have a series of candles that have the same average price; in which case most moving averages of short enough duration would be flat. Again, as we all know, the candles would be have OHLC. In other words, each candle would have a range, but the same average price. We normally call it chop. In the DSP world, we would take a measure of that fluctuation, call it noise, and design a filter to remove it, so that we have a clean signal that is the flat average signal. How do we do that with price?
Let us take an example. Let us say that the last 30 candles have caused our EMA to flatline, and that these candles have about 20 (just an arbitrary majority that I chose to illustrate the point) candles with a 4 tick range, and that most of the other candles have ranges between 0 and 6 ticks, and even a spike or two with an outlier range like 10 ticks.
In the DSP world, we would use some fancy statistical measure like a mean-square deviation, and some transform to determine the noise. We need not get so fancy. All we want is an intuitive definition of the noise. For most, this would simply be the most likely excursion from the average price that we have been watching for 30 candles and getting frustrated. (At this point, some of us would be about ready to bring out the Magnum .44 and take it to the 'puter). In other words, we would say that we are most likely to have an excursion of half the range on either side. Until we break out of that range, we are effectively trapped within the market noise. So we define market noise as the most likely value of "half the range", or half the value of the most likely range.
Here is where we think statistically of the meaning of "most likely value". To most, that means "the mean", the most traditional value of what is usually thought of as the average. Actually, there are two other measures of "the average". In this case, for reasons that are too mathematically involved to explain, the more likely correct "average" is "the mode". (To make a simplistic analogy, think of it like this: If you went to a fashion show, what would be the correct measure of the average height of the model's shoe heels? Obviously, it would be the height of the heels that most of the models were wearing, not the arithmetic mean, which in this particular case would be particularly meaningless, as nobody would likely have that shoe measurement).

Comparison of mean, median and mode

So we now say that the market noise is half the modal range, and we use this definition even if the average price is fluctuating. After all, a moving average is merely a simplified attempt to linearize trending data.
3. The next principle we take from DSP is that a signal is only valid if it is at least 2 times the noise (no need to get fancy with decibels and such arcana).
4. Given this, we design our system to show us the threshold of noise before a signal fails to be valid. So we use the range. i.e., 2 times the (previously defined) "market noise" - which is half the range, as the target excursion, which if not exceeded would indicate that the move was noise after all. The idea, then, is to take advantage of market noise to exit a portion of the position, so as to cover costs, take some risk off the table, grab a tidy little profit; and then let the rest ride, just in case we are getting a signal rather than noise. We can always grab the rest and run, if it is taking too long; and we can move up our stop to ensure that, even if stopped out, the trade would still show an albeit little profit. Obviously, this is a scalper's tool.
Hence, the indicator that we come up with simply measures the mode of ALL candles from the beginning of the day, and uses that as the measure of market noise for the day, at any given time. In effect, while the indicator is called "market noise", it is actually plotting the value that represents the largest signal that fails to be a valid signal. Think if this as saying that this is the value that, if you entered in the most adverse position of the candle, price could move against you, and you would still not have a valid reversal signal.
After that long treatise, here is the code, as promised earlier. We note the assumptions that we have made.
a) We arbitrarily say that the maximum value of "market noise" is 4 ticks. The indicator was designed with /ES in mind, but provides an input for you to decide what is the quantum of price movement such that that movement represents noise to you. Simply define your NoiseUnitTickSize to be a quarter of the maximum price excursion that you would consider as “noise”.
b) We arbitrarily define the 1-minute timeframe as the limit of time within which we will measure noise. In other words, we say that the 1-minute chart is noise. However, because of the way that TOS defines tick charts, ANY tick chart can also be used to represent a noise chart for the purposes of this indicator. This was actually a fortuitous accident when I was writing the indicator. I simply decided that the accidental result was so good that I kept it that way instead of sticking to the original specification. I have found that on the /ES, interestingly enough, a 1600-tick chart and the 1-minute chart usually indicate the same noise value.
This means that the indicator will plot on any tick chart or 1-minute chart, but will not plot on any chart longer than the 1-minute timeframe. On slower timeframes, you can enable the actual counts of ranges to show you the counts of 1, 2, 3, and 4 tick bars. Those plots are normally hidden.
Needless to say, TOS indicators are plain text, so it is trivial to change this on an ad-hoc basis. If there is enough demand, I can always write in an option to simply remove the timeframe limit, and show the "market noise" values on all timeframes. The problem here is that by its very design, a large timeframe chart will almost always pin the value of market noise at 4, so is rather pointless in my humble opinion.

The Code
********

# Osi_MarketNoise ver. 1
# Originally written by Osikani
# koganam at nc rr com
##############################################
#
# ver 1.0 - Last Update Feb. 17, 2010
#
##############################################
declare lower;
input NoiseUnitTickSize = 0.25;
input PointSize = 2;
input Market_Open_Time = 0930;
input Market_Close_Time = 1615;
def Day = getDay();
def Range = High[0] - Low[0];
def pastOpen = if((secondsTillTime(Market_Open_Time) > 0), 0, 1);
def pastClose = if((secondsTillTime(Market_Close_Time) > 0), 0, 1);
def marketOpen = if(pastOpen and !pastClose, 1, 0);
def MarketOpenFilter = if Marketopen then 1 else double.NaN;
rec OneTick = if !MarketOpen or Day[1] != Day then 0 else if Range == NoiseUnitTickSize * 1 then OneTick[1] + 1 else OneTick[1];
rec TwoTick = if !MarketOpen or Day[1] != Day then 0 else if Range == NoiseUnitTickSize * 2 then TwoTick[1] + 1 else TwoTick[1];
rec ThreeTick = if !MarketOpen or Day[1] != Day then 0 else if Range == NoiseUnitTickSize * 3 then ThreeTick[1] + 1 else ThreeTick[1];
rec FourTick = if !MarketOpen or Day[1] != Day then 0 else if Range == NoiseUnitTickSize * 4 then FourTick[1] + 1 else FourTick[1];
def Noise = Max(FourTick, Max(ThreeTick, Max(TwoTick, OneTick))) * MarketOpenFilter;
plot MarketNoise = if Noise == FourTick then 4 else if Noise == ThreeTick then 3 else if Noise == TwoTick then 2 else if Noise == Onetick then 1 else 0;
MarketNoise.SetStyle(Curve.POINTS);
MarketNoise.SetLineWeight(PointSize);
MarketNoise.SetHiding(getAggregationPeriod() > AggregationPeriod.MIN);
plot "1 Tick" = OneTick;
plot "2 Tick" = TwoTick;
plot "3 Tick" = ThreeTick;
plot "4 Tick" = FourTick;
# Hide the tick count plots by default
"1 Tick".hide();
"2 Tick".hide();
"3 Tick".hide();
"4 Tick".hide();
########################

Our tutorial on the use of the MarketNoise Indicator
****************************************************
Let us use data from today, March 19, 2010. We shall look at a trade, in this case successful.
Shown is the chart setup.
The chart on the left is a 1-minute /ES chart with the MarketNoise Indicator.
The chart on the left is a 1600-tick chart with a MarketNoise Indicator.
Trades are taken off of the 1600-tick chart, NOT the 1-minute chart. The only real purpose of the 1-minute chart is to give us the MarketNoise value.
Please note that this is not a complete description of my entry and confirmation method. I am just using it to illustrate the use of the MarketNoise Indicator for profit taking and risk control. You have to use your own entry method in which you have great confidence. That will depend on your style and comfort levels. Granted that I did actually take these trades, this is not a recommendation that you use this entry method. There is a little more to it than just the "Sit On Hands" pattern that I describe, which uses only the last 3 bars.
That having been said, let us begin.
###################################
We started with weak internals, and had been going down, so we will enter short on a retrace, provided our entry conditions are satisfied. We do not care about the depth of the retrace.
Our entry is going to be based on (inter alia), a lack of buying interest on a try to the upside. The conditions we shall use are:
1. High greater than the high of both of the last 2 bars.
2. Volume less than the volume of the last 2 bars.
3. Range of bar less than the range of EITHER of the last 2 bars.
This is the initial trigger condition.
The trigger bar will be the first bar that closes red, as we are seeking to go short.
Once we have our red bar, we shall get ready to enter.
The first time we have entry conditions is the bar at 9:47 EDT (on the 1600-tick chart). Note that the condition is NOT satisfied on the 1-minute chart. If it were, we would have even more confidence in the entry.
At 9:50 EDT, we get the first red bar. This is the trigger bar, NOT the entry bar, but it gives us all we need to know.
http://screencast.com/t/MzQ0ODUw
We calculate as follows:
MarketNoiseValue = 3 ticks. This happens to be the same for the 1-minute chart and the 1600-tick chart.
We are going to enter on the first tick below this bar, WITHOUT waiting for a close, so we shall enter when we see the first touch of 1160.75.
EntryPrice = 1160.75 + MarketNoiseValue = 1161.5
InitialStop = EntryPrice + MarketNoiseValue + 1-tick = 1162.5
FirstTarget = MarketNoiseValue = 3-tick
SecondTarget = (2 * MarketNoiseValue) + 1-tick = 7-tick
ThirdTarget = initially placed at 12 ticks. Will be managed if second target is hit.
If there cannot be a third target, you need to decide if you will use the second target and be out, or if you want to manage the second part of the trade. The first part of the trade is inviolate. I am not stating how many contracts I trade, so for this example we shall assume 3 contracts, just so we can illustrate what happens.
At 9:55 EDT, we get the entry bar, and are triggered in at 1161.5, when the market ticks up through our limit order.
http://screencast.com/t/MDMzMDc4ZGY
At 10:00 EDT, we hit the first target. $37.50. Assuming standard TOS rate of 7.00 per round trip, total cost of trade WILL be $21, no matter what, so we have banked $16.50.
http://screencast.com/t/YmIxYzJj
We move the stop to 1-tick behind our entry. If we retrace to our stop and hit it, we shall lose another $25, losing $8.50 on the trade, after we take commissions into account. This time we did not, so we sit tight.
At the Overnight Low (a natural pivot, that I would have used to adjust this target, if it had not been spot on it), our second target is hit, at 10:02 EDT. We have now made a total of 10 ticks on the trade. Stop is moved to 3-ticks past entry. If we retrace to the stop, we make $25 on the last contract, a total of 12 ticks on the entire trade. Agreed that is a mere 1 point per contract, but I have lost enough money being greedy, so $129 (150 - 21) is plenty for me. That is assuming that I traded 3 contracts this way.
http://screencast.com/t/ZTM0NGE0YWQt
Now, hopefully, we have the runner that the trading gods may give us, just in case the bullcrap has ended. However, we are at a natural pivot. At the very first bar that stays entirely above the Overnight Low, I shall take the money and run. As it happens, I can hold on, until I see the "Lack of sellers" bar at 10:16 EDT, and get out when the next green bar violates the high of the previous bar.
http://screencast.com/t/YTZkNWU4
Question: What was the target I was eyeing to get out if we stalled? The natural pivot at yesterday's low.
Question: Why did I exit early? I would rather be out of a trade wishing that I were in, than in wishing that I were out.
Total ticks on trade: 3 + 7 + 14 = 24. So it turned out at 2 points per contract, much better than I had hoped for. Subtract commission.
Believe me; they do not all turn out this well. Matter of fact, most trades usually end up with taking that 2-tick profit on the last contract, or a scratch.
However, I am more interested in making a profit, no matter how small, on as many of my trades as possible. It all adds up. I have even scratched the rest of the trade if the action is taking too long in my opinion. Most trades get to the first target. That is the whole point: the first target is within the normal market noise. All we are doing is taking advantage of market noise to give us a free ride on the rest of the trade.
Any other questions, just ask.

image

Thursday, January 28, 2010

Osikani’s morning fix

As a look at the markets via the SPX/SP500, none of my comments from yesterday have really changed. Even today's ramp up job still respected the previous TDST as resistance. I post only the daily chart.

 

 

 

2010-01-28_0118
I take another look at the markets today, this time looking at the SPY, and using the Anchored VWAPs instead of DeMark. We use the SPY because as volume is not available on SPX, it means that my Anchored VWAP's cannot plot.
I will make a different post regarding the hypothesis behind the AVWAP. For now, just indulge me and read along with me. If the folks on this blog like this analysis, and request it, I think I will complete the notes on the indicator and have it released for free to members of this blog who request it. Unfortunately, it is still having the kinks worked out right now, and is too crude for release.
First we look at the weekly, plotting AVWAps from the major lows and highs. Note that there are really no highs, save the one at 2009/06/08, which was soon violated, and you will see that the buying AVWAP crossed over the selling AVWAP on the day of the violation.

 

2010-01-28_0050

Notice how every downturn never quite even reached the most recent buying AVWAP except the most recent one where you should notice also that this is the VERY FIRST TIME that ANY downturn has breached the most recent buying AVWAP. We expect AVWAPs to act as dynamic support/resistance, so does the breach then make the most recent buying AVWAP now into resistance?
We plot only 2 selling AVWAPs. The first is the aforesaid one at 2009/06/08, the only time we has more than 2 red candles in this crazy bull run. The second is plotted from the most recent high, and its line would be expected to be resistance. If it is breached, this downturn may well have been yet another bear trap.
Next, we use those same points on the weekly to plot the AVWAPS on the daily. This allows us to ignore many of the short term gyrations on the daily chart, which would otherwise be full of spaghetti, if we were to plot every swing AVWAP.

2010-01-28_0058

2010-01-28_0104 

I have added in one AVWAP at the previous (to this most recent) swing high. Again, notice how this AVWAP, supposed to be resistance, was breached, and how the price breached the previous swing high on the day that the buying AVWAP crossed over the selling AVWAP. Also notice that that very line seems to have acted as resistance today, containing the up candle from the ramp job.
So, for the first time in this bull run, we have a cluster of support/resistance above the market. Remember that a support, when breached, changes polarity into resistance; so we have 3 of the most recent resistance lines clustered just above price, and it is the first time that it has happened in this bull run.
Does it really reflect a change in the market posture? I cannot say: the future will tell us. As we all know, the market will go where it will, no matter how much hopium we imbibe, and no matter how much we pray to the trading gods.

 

And here is the more traditional Osi Daily SPY update.

2010-01-28_0150