Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 10/7/2004 Posts: 17
|
Can you create a New Custom Indicator, one for Down Volume, and one for Up Volume. In TC2005.
I use this in MetaStock, I add a Moving average too each , this sometimes gives you good buy and sell signals.
The MetaStock formula language is
Name Volume Down
Formula: If(C<Ref(C,-1),V,0)
Name Volume Up
Formula: If(C>=Ref(C,-1),V,0)
What Formula would you use in TC2005?
|
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
Can you explain what the indicators do in regular english? I don't completely understand the code.
What does the Volume Down indicator do when the stock is up? What does it do when the stock is down? Same for the Up Indicator.
- Craig Here to Help!
|
|
Registered User Joined: 1/1/2005 Posts: 2,645
|
Robert,
Custom Indicator (Down Volume) (-1)*(C<C1)*V
Custom Indicator (Up Volume) (-1)*(C>=C1)*V
These are almost the same as the colored Volume bars, but now you can put MA's on them.
Thanks, Jim Murphy
|
|
Registered User Joined: 3/7/2005 Posts: 23
|
Jim,
So, on an up day, down volume is 0 and up volume is the actual volume, and on a down day, up volume is 0. It's hard to imagine a moving average of a function like this meaning anything, but I'm certainly not an authority.
RobR
P.S. In case anyone's curious, if you put a logical expression in parentheses, the result is 0 if it is false and -1 if it is true. Multiplying the result by -1 makes it positive.
|
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
Be sure, if you use these two indicators in the same window, you understand they will be on different scales.
- Craig Here to Help!
|
|
Registered User Joined: 1/1/2005 Posts: 2,645
|
RobR,
What you see is not of my doing, it is the content of the original post.
Thanks, Jim Murphy
|
|
Registered User Joined: 10/7/2004 Posts: 17
|
Jim The formula works. you can use a 28 dma on each up and down volume. and make the formulas invisible, watch for a change or crossover. I use this with a Stochastic 5 3 3 and Williems % R ((MAXH14 - C) / (MAXH14 -MINL14)) * -100 and ((H14-C)/(h14-L14))*100 williams R upside down
The QQQQ would give you a buy on about 4/29/2005 and a sell on 6/3/2005
|
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
WARNING
You cannot watch for a crossover of these two custom indicators. They are on their own independent scales so crossovers are meaningless.
- Craig Here to Help!
|
|
Guest-1 |