Stmjd74 |
Gold User, Member, TeleChart
|
Registered User |
|
|
|
|
Unsure |
|
Saturday, December 18, 2004 |
Wednesday, June 14, 2006 11:26:36 PM |
180 [0.06% of all post / 0.02 posts per day] |
|
bw,
I should have just posted that last one as:
(-100) *((H-L+ABS(H+L-2*C1)>=4) +(H1-L1+ABS(H1+L1-2*C2)>=4) +(H2-L2+ABS(H2+L2-2*C3)>=4) +(H3-L3+ABS(H3+L3-2*C4)>=4) +(H4-L4+ABS(H4+L4-2*C5)>=4) +(H5-L5+ABS(H5+L5-2*C6)>=4) +(H6-L6+ABS(H6+L6-2*C7)>=4) +(H7-L7+ABS(H7+L7-2*C8)>=4) +(H8-L8+ABS(H8+L8-2*C9)>=4) +(H9-L9+ABS(H9+L9-2*C10)>=4) +(H10-L10+ABS(H10+L10-2*C11)>=4) +(H11-L11+ABS(H11+L11-2*C12)>=4) +(H12-L12+ABS(H12+L12-2*C13)>=4) +(H13-L13+ABS(H13+L13-2*C14)>=4) +(H14-L14+ABS(H14+L14-2*C15)>=4) +(H15-L15+ABS(H15+L15-2*C16)>=4) +(H16-L16+ABS(H16+L16-2*C17)>=4) +(H17-L17+ABS(H17+L17-2*C18)>=4) +(H18-L18+ABS(H18+L18-2*C19)>=4) +(H19-L19+ABS(H19+L19-2*C20)>=4))/20
and skipped all the "/2" crap. It should still give the same result. Sorry.
|
Here's another way you write that:
(-100) *(((H-L+ABS(H+L-2*C1))/2>=2) +((H1-L1+ABS(H1+L1-2*C2))/2>=2) +((H2-L2+ABS(H2+L2-2*C3))/2>=2) +((H3-L3+ABS(H3+L3-2*C4))/2>=2) +((H4-L4+ABS(H4+L4-2*C5))/2>=2) +((H5-L5+ABS(H5+L5-2*C6))/2>=2) +((H6-L6+ABS(H6+L6-2*C7))/2>=2) +((H7-L7+ABS(H7+L7-2*C8))/2>=2) +((H8-L8+ABS(H8+L8-2*C9))/2>=2) +((H9-L9+ABS(H9+L9-2*C10))/2>=2) +((H10-L10+ABS(H10+L10-2*C11))/2>=2) +((H11-L11+ABS(H11+L11-2*C12))/2>=2) +((H12-L12+ABS(H12+L12-2*C13))/2>=2) +((H13-L13+ABS(H13+L13-2*C14))/2>=2) +((H14-L14+ABS(H14+L14-2*C15))/2>=2) +((H15-L15+ABS(H15+L15-2*C16))/2>=2) +((H16-L16+ABS(H16+L16-2*C17))/2>=2) +((H17-L17+ABS(H17+L17-2*C18))/2>=2) +((H18-L18+ABS(H18+L18-2*C19))/2>=2) +((H19-L19+ABS(H19+L19-2*C20))/2>=2))/20
Credit bustermu. It should return the same result (again, you could adjust it for more or less than 20 days).
|
Here's a pretty cool idea you might want to try. It returns the percentage of days of the last 20 days that a stock's absolute distance from the previous day's closing price was $2 or greater. At the time I posted this, you should be getting 100% for GOOG, and 50% for AAPL. You could use the copy and past and delete functions to adjust it to whatever length you like.
( - 100) * ((H >= C1 + 2 OR L<=C1-2) + (H1 >= C2 + 2 OR L1<=C2-2) +(H2 >= C3 + 2 OR L2<=C3-2) + (H3 >= C4 + 2 OR L3<=C4-2) + (H4 >= C5 + 2 OR L4<=C5-2) + (H5>= C6 + 2 OR L5<=C6-2)+ (H6 >= C7 + 2 OR L6<=C7-2) + (H7 >= C8 + 2 OR L7<=C8-2) +(H8 >= C9 + 2 OR L8<=C9-2) + (H9 >= C10 + 2 OR L9<=C10-2) + (H10 >= C11 + 2 OR L10<=C11-2)+ (H11 >= C12 + 2 OR L11<=C12-2) + (H12 >= C13 + 2 OR L12<=C13-2) + (H13 >= C14 + 2 OR L13<=C14-2) +(H14 >= C15 + 2 OR L14<=C15-2) + (H15 >= C16 + 2 OR L15<=C16-2) + (H16 >= C17 + 2 OR L16<=C17-2)+(H17 >= C18 + 2 OR L17<=C18-2) + (H18 >= C19 + 2 OR L18<=C19-2)+(H19 >= C20 + 2 OR L19<=C20-2)) / 20
|
After reading your post again, I see there was no misunderstanding about volume being given in 100s. You had it right. 10000 would be 1,000,000. Next time, I'll read more carefully before jumping in and answering. Craig, you can probably delete my post, and I'm sorry if I added any confusion to the subject.
|
Also, remember that volume is given in 100s in Telechart. If you are writing a boolean expression such as the one above, you would need AVGV10>100, or AVGV20>100, AVGV50>100, etc., to get the average volume greater than 10,000. You also might try to setting your volume a good deal higher than that--10,000 is pretty low. 100,000 would be written 1000.
|
QUOTE (HaveNoCents) Your initial risk is the only thing you can control when investing. That's it. It's the only thing. We all use technical analysis to try and figure where a stock or market is going, but we cannot control where it is going. The market does not consult us before it goes up or down. It does whatever it darn well pleases for whatever reason somebody on CNBC or the WSJ says, and they don't know either.
The risk is set by your entry, and your stop loss order. Anything that happens after that is 100% out of your control.
True for the most part, I would say. You still can't totally control your risk--you can only try. You forgot to mention that you can also attempt to control how much of your profit you give back once you are ahead.
|
Correction:
That's 5 new refineries in the next two years, not 8.
|
Hey! How come nobody mentioned PEIX? That's one to put in your watchlist and plan on keeping it there for a loooong time, regardless of the short-term ups and downs. It is currently the only exclusively ethanol fuel producing company in this country, and plans on building 8 new facilities within the next several years!
|
As I understand it, in your second example, 200 shares would be the maximum position size you could take on, and 2% would be the maximum risk you would take per trade, but would not necessarily have to, and you would still be following the rules of position sizing as long as you did not exceed 200 shares, or 2% risk. IMO, it would not make sense, as you stated, to take the full 2% risk on that one trade, in this case. Another solution would be your first example, where you always set your stop at the 8% level, regardless. Your first example might be better in the long run. I have never tested either method to see which is better. It does seem that your first example would keep you more diversified and reduce your risk overall, and give you more time to grow your account in the long run. That method may be especially good for someone with a relatively small account size.
|
In the example you gave, you would probably be better to risk less than the 2% per trade on second trade, and spread the money out over other stocks.
|
|