dnhoward |
Gold User, Member, TeleChart
|
Registered User |
|
|
|
|
Unsure |
|
Friday, January 5, 2007 |
Saturday, August 17, 2013 1:40:13 PM |
21 [0.01% of all post / 0.00 posts per day] |
|
Thanks Bruce! I continue to learn from your examples.
|
Hello. Mathmatically, I'm looking for StandardDeviation(TradeRange(5)). I have looked at StdDev realcode, but have no conclusion how to get what I want. Can you help?
Many Thanks!
|
Isn't it time to create a TC2000 v11 Forum? I'm feeling bad super Bruce is having to waste time saying...
All questions, comments and suggestions related to the TC2000.com version 11 beta should be addressed to:
feedback@tc2000.com
Repectfully,
dnhoward
|
Thanks a lot Bruce!
|
I've moved on to use stockfinder, to new to it. How can I get My Paint Scheme which holds The Clear Method, that has realcode in it, to be a condition for my watchlist?? Thanks!
|
I am intrigued by Ron Black's article and would like to know if the code is possible in whatever form in Tc 2000. The code is follows from the magazine in EasyLanguage:
hH = H;
lL = L;
lH = H;
hL = L;
upsw = 0;
swLine = 0;
if upsw = 1 then
if H > hH then hH = H
if L > hL then hL = L
if H < hL then { swing changes to down}
upsw = 0;
IL = L;
IH = H;
end
end
if upsw = 0 then
if L < IL then IL = L;
if H < IH then IH = H;
if L > IH then {swing changes to the up}
upsw = 1;
hH = H;
hL = L;
end
end
if upsw = 1 then plot1 (hL, "SwLine", cyan);
if upsw = 0 then plot1 (IH, "SwLine", magenta);
This is out of my league for PCF writing I have found, so I ask if any trainers or other bright PCF writers out there can help. I'm thinking of it as a possible %true indicator as I know TC can't paint individual bars from user PCFs. This looks like an alwals in indicator which switches from long to short and back, fwiw. Thanks in advance for your thoughts and support.
dnhoward
|
I'd like to use a "sell in x days" trigger to sell the position and make the %true indicator go false. How do I code up a sell X days from the buy position signal? Seems like a simple problem that I can't seea solution available. Thanks
|
Thanks Bruce! I figured it would be big one. I'll live with the slowness (or buy a faster PC) if it bothers me. Many thanks for the excellent support and sharing your formula wizardly skills.
dnhoward
|
QUOTE (bustermu) QUOTE (grainmerchant) Thanks Jim! What about a TSI crossing above of a 5 period SMA instead of the zero line...is that much different?
CM,
There is a big difference. It is too long for me; so I will defer to Bruce.
A PCF for the numerator of the TSI upcrossing its SMA5 is:
XAVG(XAVGC25,13)-XAVG(XAVGC25.1,13)>(XAVG(XAVGC25,13)-XAVG(XAVGC25.5,13))/5
AND XAVG(XAVGC25.1,13)-XAVG(XAVGC25.2,13)<(XAVG(XAVGC25.1,13)-XAVG(XAVGC25.6,13))/5
This will give you fairly accurate results. You are approximately looking for an upcrossing of zero by a filtered version of:
4*C-5*C1+C5
This may help you evaluate your request.
Thanks,
Jim Murphy
Howdy all,
I love the above formula. I use it as a custom daily % true indicator along with some other pcfs. How do I modify the above to give me a weekly TSI approxiamation PCF? I'd like to get a TSI crossing 5sma %true custom indicator on a Weekly chart. Ideas??
many thanks!
dnhoward
|
mazetrade,
Here's how I'd do it. Right click on the are you want to the indicator and select Add Indicator -> Custom -> Percent True and copy and paste the PCF above into the "boolean formula" area of the popup. That's it!
This indicator will show you a True/False indicator. A custom 'indicator' can be created with a formula that returns more than a true or false signal, but your formula doesn't. Hope this helps!
dnhoward
fyi. For curiousity I created a % true indicator as described above and it didn't show me not even one True signal from anything stock in the All Stocks universe.
|
|