I watched one of the vids and to find resistance the person used the formula:
c=max120 AND c>(maxc120.60)*.99 AND c<(maxc120.60)*1.01
Can you explain the what maxc120.60 does?
|
Let's assume that i have the following close values:
1, 2, 3, 4, 5, 6
Assume that I'm processing the value: 6. In my logic as I'm processing 6 I get to a point where I want to process AVGC5.1.
Is this saying to take the SMA of the close and start at close=5.
So, the SMA would be (1+2+3+4+5)/5?
|
At one time I saw a the list of PCF's for various candle patterns. Where is this loacated?
Thanks.
|
The formula for TC Volume(Dollars) n-day is avgCn*avgVn/100.
I want to smooth this result. When n-day = 5-day it's choppy.
Is there anyway to take the avg of the results from the above?
|
Does this avg the close for the last 90 calendar days or trading days?
|
Bruce...nice catch. That explains why every so often I'm getting unexpected results.
Good job.
|
Bruce can you verify that this is good approach or is there a better approach?
The code is as follows:
if at least 1 of the bars for the previous 4 days has the %K < %D AND
stoc10.3.1 < xavg(stoc10.3.1,5) or
stoc10.3.2 < xavg(stoc10.3.2,5) or
stoc10.3.3 < xavg(stoc10.3.3,5) or
stoc10.3.4 < xavg(stoc10.3.4,5)
if at lease 1 of the bars for the same 4 days the %K and %D has been < 30 then
stoc10.3.1 < 30 or xavg(stoc10.3.1,5) <30 or
stoc10.3.2 < 30 or xavg(stoc10.3.2,5) <30 or
stoc10.3.3 < 30 or xavg(stoc10.3.3,5) <30 or
stoc10.3.4 < 30 or xavg(stoc10.3.4,5) <30
I have verified that the above is valid.
|
Re: TC12.3.
After viewing the help vids I've determined how to do: "if today's %K > today's %D AND"
I still haven't figured out the balance of my q, ie,
if at least 1 of the bars for the previous 4 days has the %K < %D AND
if at lease 1 of the bars for the same 4 days the %K and %D has been < 30 then
the condition if true.
At this point I think the issue is how do I look back at the 4 previous bars. Once I get that resolved I can complete the scan.
|
Using the stoch 10 %K 3, E xp %D 5 I want to create a condition that is true when the following is met.
if today's %K > today's %D AND
if at least 1 of the bars for the previous 4 days has the %K < %D AND
if at lease 1 of the bars for the same 4 days the %K and %D has been < 30 then
the condition if true.
Any ideas?
|
I want to take the n-day avg of Beta for ETF's.
How would I do this in TC12.3. I written many pcf's so just need to know the approach.
|