JLXV0708 2 posts msg #156393 - Ignore JLXV0708 |
4/5/2021 8:02:52 AM
Hi everyone,
I don't know if this is the right section but I'm trying to transfer this TC2000 filter for spotting breakouts in SF.
Does anyone have any tips on how to translate it?
Thanks
MAXC45.1 < 1.1*AVGC45.1 AND MINC45.1>.90*AVGC45.1 AND O>MAXC45.1 AND O>MAXO45.1 AND O <1.05*AVGC45.1 AND C>O AND C>5 AND ABS((10*(46*(C1+O1)/2/AVGC45.1 +41*(C6+O6)/2/AVGC45.1 +36*(C11+O11)/2/AVGC45.1 +31*(C16+O16)/2/AVGC45.1 +26*(C21+O21)/2/AVGC45.1 +21*(C26+O26)/2/AVGC45.1 +16*(C31+O31)/2/AVGC45.1 +11*(C36+O36)/2/AVGC45.1 +6*(C41+O41)/2/AVGC45.1 +(C46+O46)/2/AVGC45.1 )-235*((C1+O1)/2/AVGC45.1 +(C6+O6)/2/AVGC45.1 +(C11+O11)/2/AVGC45.1 +(C16+O16)/2/AVGC45.1 +(C21+O21)/2/AVGC45.1 +(C26+O26)/2/AVGC45.1 +(C31+O31)/2/AVGC45.1 +(C36+O36)/2/AVGC45.1 +(C41+O41)/2/AVGC45.1 +(C46+O46)/2/AVGC45.1 ))/(10*(7585)-55225))<.001 AND AVGV60>150000
|
compound_gains 222 posts msg #156403 - Ignore compound_gains |
4/5/2021 4:47:31 PM
Do you understand the TC2000 code or are you flying totally blind?
It can be converted to StockFetcher but it would involve creating and then combining a number of set statements and then conditional statements.
The ABS chunk is the most challenging (at least in keeping all of your ducks in order)...everything else is straightforward. For example,
MAXC45.1 < 1.1*AVGC45.1...
set{x1, 1.1 * ma(45) 1 day ago}
close 45 day high 1 day ago below x1
MINC45.1>.90*AVGC45.1...
set{x1, .9 * ma(45) 1 day ago
close 45 day low 1 day ago above x1
[I'm using x1 universally...it would change for each set statement]
So, it would take some work so it was synced properly, but the same can likely be said for whomever originally created the TC2000 screen.
I notice that AVGC45.1 is a common metric and, for example, that could be condensed to one set statement: set{x1, ma(45) 1 day ago} and repeated where need be.
|
JLXV0708 2 posts msg #156406 - Ignore JLXV0708 |
4/6/2021 6:26:15 AM
Hi, compound_gains, thanks for your reply.
I know what the filter should do, but I can't translate all the variables from TC2000 text.
I was hoping someone knew both languages and could translate easily back and forth.
I'll try it myself in the meantime. Thanks!
|
bushynose 22 posts msg #156408 - Ignore bushynose modified |
4/6/2021 10:06:34 AM
|
nibor100 1,046 posts msg #156440 - Ignore nibor100 |
4/8/2021 2:17:31 PM
@ JLXV0708,
I'm just a bit curious as to where your TC2000 PCF came from because when I search the Worden Forum I can't find it, and since you don't know the PCF language you obviously didn't write it.....
Thanks,
Ed S.
By the way, it appears there are some normal parentheses in the Set statements that Bushynose provided in his SF translation of your TC2000 PCF, and they need to be curly brackets, and I have not checked any further as I got sidetracked.
|
bushynose 22 posts msg #156445 - Ignore bushynose |
4/8/2021 2:35:20 PM
my scanner is not perfect, it was just done in a hurry. if I have time, I'll check it out
|
fotchstecker 304 posts msg #156530 - Ignore fotchstecker modified |
4/9/2021 9:17:31 AM
Ed, there is lots of TC2000 code not in the forums, however (and it's shame they shut the forums down). Bruce in the forums was an absolute legend, one of the most competent "bridges" between the customer and a software platform that I've personally come across in decades of using commercial tech.
I have a lot of TC2000 code and there are snippets throughout the web.
|
fotchstecker 304 posts msg #156531 - Ignore fotchstecker modified |
4/9/2021 9:35:18 AM
Also, this TC2000 breakout code looks similar to the "double bottom" pattern output on SF, but it also appears to have some continuation after the last resistance level. Just eyeballing.
Here's this morning's output using ETFs:
Symbols from TC2000
MGK
XLK
IWV
IWB
VTI
VV
OEF
VSS
IUSG
EWT
IVW
VT
ACWI
ITOT
SPYG
EWL
SCHB
GSLC
SCHX
ESGV
ESGU
IQLT
FDIS
SPHQ
SCHK
PCEF
RWX
YYY
|
nibor100 1,046 posts msg #156535 - Ignore nibor100 |
4/9/2021 5:09:17 PM
at 5:10pm I got only these ETFs on TC2000 version 20.775421230:
DSI
ESGU
FDIS
IWV
SCHB
SCHK
SPHQ
SUSA
YYY
Ed S.
|
nibor100 1,046 posts msg #156536 - Ignore nibor100 |
4/9/2021 5:14:15 PM
@fotchstecker,
I agree that the Worden forum was exemplary, I used to refer other stock sw companies to look at it to see a true example of being responsive to your customers.
I almost left TC2000 when they discontinued it and discontinuing their periodic webinars also.
I'm close to finishing cleaning up the Bushynose version of that PCF, all that's left are variables 1 thru 3.
Thanks,
Ed S.
|