Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

noobie questions Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
kenneth.macaskill
Posted : Thursday, February 18, 2010 4:34:37 PM
Registered User
Joined: 2/18/2010
Posts: 1
I have stockfinder gold on trial. I've spent time since receiving it trying to understand rules etc.
I've looked at all the videos and they have helped, although I'm struggling with real code!!!.
I'm a new trader and I'll be day trading. I've paper traded using freestockcharts.
What I'm looking for are rules that will find stocks between $10 - $70 and have over 1m traded daily.
I'm also looking for a minimum range of $1 and a tight spread of 1-2 cents.
I'm also looking for a rule if a stock gaps over 3% in the opening minutes.
Previous days big movers that re-trace.
Looking for stocks that have re-traced 30-4-% an have resumed original direction and are above or below previous days highs or lows.
I would also like to search for 2 days highs and 2 day lows.
After the first hour trading I would like to scan for stocks that have broken their 1st hour highs or lows and are now trending.
After 11.30, look for stocks with above average volume.
After 2pm, look for stocks that are about to break out to new highs or lows and are possibly trending.
I realize to day trade I need to upgrade to platinum, I'm using Gold to see if I can work with it before upgrading?
I have found it very slow when scanning, is this normal?
Sorry for all the questions, I hope you can help.
guestz2002
Posted : Thursday, February 18, 2010 5:10:17 PM
Gold Customer Gold Customer

Joined: 2/18/2010
Posts: 24

I have a question before subscribing for the real-time.  How can I chart "Projection Oscillator"?  Thanks trainer.

StockGuy
Posted : Friday, February 19, 2010 12:13:26 PM

Administration

Joined: 9/30/2004
Posts: 9,187
Attached is an interpretation of the Projection Oscillator that Bruce wrote.  Save it to your ..\My Documents\StockFinder5\username\My Indicators folders and then you can add it to a chart using the Add Indicator button.

Attachments:
Projection Oscillator.sfIndRC - 12 KB, downloaded 941 time(s).

guestz2002
Posted : Friday, March 11, 2011 9:19:26 AM
Gold Customer Gold Customer

Joined: 2/18/2010
Posts: 24
Stockguy, thanks for the Projection Oscillator.  I have very recently subscribed to TC2000.  How do I save your indicator into TC2000?
Bruce_L
Posted : Friday, March 11, 2011 9:40:03 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
It is a RealCode based StockFinder Indicator and cannot be loaded directly into TeleChart or the TC2000.com version 11 beta.

I created the Indicator for StockFinder, but cannot think of a way to create it using the Personal Criteria Formula Language used by TeleChart and the TC2000.com version 11 beta to allow a customer to implement it in TC2000.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
guestz2002
Posted : Friday, March 11, 2011 11:15:12 AM
Gold Customer Gold Customer

Joined: 2/18/2010
Posts: 24
Thanks Bruce.  Does this mean I cannot have Projection Oscillator in TC2000?
Bruce_L
Posted : Friday, March 11, 2011 11:30:22 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Worden Brothers could add it as an Indicator to the program for everybody, but I cannot think of way for a customer to add the Indicator on their own to the current version of the TC2000.com version 11 beta.

The best way to influence what will be in TC2000.com is to actively participate in the TC2000.com version 11 beta. All questions, comments and suggestions related to the TC2000.com version 11 beta should be addressed to:

feedback@tc2000.com

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
guestz2002
Posted : Friday, March 11, 2011 12:05:15 PM
Gold Customer Gold Customer

Joined: 2/18/2010
Posts: 24
Thanks Bruce.

I have 1 more indicator which I need help.  It is the Ehler's Centre of Gravity.

I have search the forum to see if this was asked before but to no avail.  Can you gyide me how this could be done in the Custom PCF Indicator?

Thanks Bruce.
Bruce_L
Posted : Friday, March 11, 2011 1:32:19 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Am I right in understanding Ehler's Center of Gravity is just the Front Weighted Moving Average of Price divided a Simple Moving Average of Price with the same Period? If so, what Period do you want to use?

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
guestz2002
Posted : Friday, March 11, 2011 2:27:44 PM
Gold Customer Gold Customer

Joined: 2/18/2010
Posts: 24
Period = 5
EMA(COG(5),3)

I hope this makes sense to you.  I am trying to rebuild my indicators from stockfetcher into TC2000.  Many thanks.
Bruce_L
Posted : Friday, March 11, 2011 3:46:34 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
If I am understanding the formula correctly my best guess would be to add a Custom PCF Indicator with the Period set to 3, the Average Type set to Exponential and the following Formula:

(H + L + 2 * (H1 + L1) + 3 * (H2 + L2) + 4 * (H3 + L3) + 5 * (H4 + L4)) / (AVGH5 + AVGL5) / (-5)

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
guestz2002
Posted : Friday, March 11, 2011 4:31:25 PM
Gold Customer Gold Customer

Joined: 2/18/2010
Posts: 24
Thanks Bruce.  I'll go try it.
guestz2002
Posted : Monday, March 14, 2011 7:29:43 PM
Gold Customer Gold Customer

Joined: 2/18/2010
Posts: 24

Bruce,

I tried your formula.  While I have no doubt it is the correct one, it somehow looks very different from what I am currently using in SF.  The formula used in SF is:
COG = -1 * NUM / DEN
 

 NUM  =   n
∑ [ PRICE[i] * (i + 1) ]
i = 0
   
 DEN  =   n
∑ PRICE[i]
i = 0

 Where...
     PRICE[i] = The price of the ith bar back.  PRICE[0] = price of current bar. PRICE[2] = price 2 bars back, etc.

And the... 
     apply a normalization as a final step:

COG' = COG + [ (N + 1) /2 ].

I badly need this in my TC2000 and really hope you could help me out.  Many thanks again!

Bruce_L
Posted : Tuesday, March 15, 2011 8:20:22 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
I used the example chart of INTC from 5/30/01 through 1/22/2002 on the Investor/RT Tour - Center of Gravity page to check if my formula was correct. It's Period is 10 instead of 5, so the formula would be (this would be the equivalent of COG(10), so the EMA3 is not being applied - the Period of the Custom PCF Indicator would need to be 1):

(H + L + 2 * (H1 + L1) + 3 * (H2 + L2) + 4 * (H3 + L3) + 5 * (H4 + L4) + 6 * (H5 + L5) + 7 * (H6 + L6) + 8 * (H7 + L7) + 9 * (H8 + L8) + 10 * (H9 + L9)) / (AVGH10 + AVGL10) / (-10)

It matches the Chart exactly (including the Scale). The calculations mentioned on the web page do not include the "apply a normalization as the final step", doing so would just adjust the Indicator so it is centered around zero:

(H + L + 2 * (H1 + L1) + 3 * (H2 + L2) + 4 * (H3 + L3) + 5 * (H4 + L4) + 6 * (H5 + L5) + 7 * (H6 + L6) + 8 * (H7 + L7) + 9 * (H8 + L8) + 10 * (H9 + L9)) / (AVGH10 + AVGL10) / (-10) + 5.5

Or in the 5-Period case:

(H + L + 2 * (H1 + L1) + 3 * (H2 + L2) + 4 * (H3 + L3) + 5 * (H4 + L4)) / (AVGH5 + AVGL5) / (-5) + 3

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
guestz2002
Posted : Tuesday, March 15, 2011 2:29:28 PM
Gold Customer Gold Customer

Joined: 2/18/2010
Posts: 24

Thanks a lot, Bruce!

guestz2002
Posted : Tuesday, March 15, 2011 7:11:03 PM
Gold Customer Gold Customer

Joined: 2/18/2010
Posts: 24
Bruce,

How do I draw out EMA(COG(5),3)?

Thank you very much.
Bruce_L
Posted : Wednesday, March 16, 2011 8:02:59 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Assuming the following matches COG(5):

(H + L + 2 * (H1 + L1) + 3 * (H2 + L2) + 4 * (H3 + L3) + 5 * (H4 + L4)) / (AVGH5 + AVGL5) / (-5) + 3

You would do exactly what I instructed the first time. Use the formula as a Custom PCF Indicator with the Period set to 3 and the Average Type set to Exponential.

If it doesn't match, I really don't know what to suggest.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
guestz2002
Posted : Wednesday, March 16, 2011 2:48:35 PM
Gold Customer Gold Customer

Joined: 2/18/2010
Posts: 24
Thanks Bruce.  It works.  Regards.
raynd
Posted : Saturday, June 9, 2018 9:55:52 PM
Registered User
Joined: 5/11/2013
Posts: 17
Hi Bruce, Been researching the old posts, We had several Tc2000 upgrades since your March 15 2011 post. Is it possible to get a chart withthe (Center of Gravity, and Projection Oscillator). Tks
Bruce_L
Posted : Monday, June 11, 2018 11:56:53 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Not enough has changed to really make this practical to implement in any sort of user adustable way, but the formulas can be a lot shorter (primarily due to LEAST(), GREATEST(), and simplified linear regression slope formulas).

14-period lower projection bands could be written as follows.

LEAST(L, L1 + 6 * (FAVGL14 - AVGL14) / 13, L2 + 2 * 6 * (FAVGL14 - AVGL14) / 13, L3 + 3 * 6 * (FAVGL14 - AVGL14) / 13, L4 + 4 * 6 * (FAVGL14 - AVGL14) / 13, L5 + 5 * 6 * (FAVGL14 - AVGL14) / 13, L6 + 6 * 6 * (FAVGL14 - AVGL14) / 13, L7 + 7 * 6 * (FAVGL14 - AVGL14) / 13, L8 + 8 * 6 * (FAVGL14 - AVGL14) / 13, L9 + 9 * 6 * (FAVGL14 - AVGL14) / 13, L10 + 10 * 6 * (FAVGL14 - AVGL14) / 13, L11 + 11 * 6 * (FAVGL14 - AVGL14) / 13, L12 + 12 * 6 * (FAVGL14 - AVGL14) / 13, L13 + 13 * 6 * (FAVGL14 - AVGL14) / 13)

14-period upper projection bands could be written as follows.

GREATEST(H, H1 + 6 * (FAVGH14 - AVGH14) / 13, H2 + 2 * 6 * (FAVGH14 - AVGH14) / 13, H3 + 3 * 6 * (FAVGH14 - AVGH14) / 13, H4 + 4 * 6 * (FAVGH14 - AVGH14) / 13, H5 + 5 * 6 * (FAVGH14 - AVGH14) / 13, H6 + 6 * 6 * (FAVGH14 - AVGH14) / 13, H7 + 7 * 6 * (FAVGH14 - AVGH14) / 13, H8 + 8 * 6 * (FAVGH14 - AVGH14) / 13, H9 + 9 * 6 * (FAVGH14 - AVGH14) / 13, H10 + 10 * 6 * (FAVGH14 - AVGH14) / 13, H11 + 11 * 6 * (FAVGH14 - AVGH14) / 13, H12 + 12 * 6 * (FAVGH14 - AVGH14) / 13, H13 + 13 * 6 * (FAVGH14 - AVGH14) / 13)

So the projection oscillator could be written as follows.

100 * (C - LEAST(L, L1 + 6 * (FAVGL14 - AVGL14) / 13, L2 + 2 * 6 * (FAVGL14 - AVGL14) / 13, L3 + 3 * 6 * (FAVGL14 - AVGL14) / 13, L4 + 4 * 6 * (FAVGL14 - AVGL14) / 13, L5 + 5 * 6 * (FAVGL14 - AVGL14) / 13, L6 + 6 * 6 * (FAVGL14 - AVGL14) / 13, L7 + 7 * 6 * (FAVGL14 - AVGL14) / 13, L8 + 8 * 6 * (FAVGL14 - AVGL14) / 13, L9 + 9 * 6 * (FAVGL14 - AVGL14) / 13, L10 + 10 * 6 * (FAVGL14 - AVGL14) / 13, L11 + 11 * 6 * (FAVGL14 - AVGL14) / 13, L12 + 12 * 6 * (FAVGL14 - AVGL14) / 13, L13 + 13 * 6 * (FAVGL14 - AVGL14) / 13)) / (GREATEST(H, H1 + 6 * (FAVGH14 - AVGH14) / 13, H2 + 2 * 6 * (FAVGH14 - AVGH14) / 13, H3 + 3 * 6 * (FAVGH14 - AVGH14) / 13, H4 + 4 * 6 * (FAVGH14 - AVGH14) / 13, H5 + 5 * 6 * (FAVGH14 - AVGH14) / 13, H6 + 6 * 6 * (FAVGH14 - AVGH14) / 13, H7 + 7 * 6 * (FAVGH14 - AVGH14) / 13, H8 + 8 * 6 * (FAVGH14 - AVGH14) / 13, H9 + 9 * 6 * (FAVGH14 - AVGH14) / 13, H10 + 10 * 6 * (FAVGH14 - AVGH14) / 13, H11 + 11 * 6 * (FAVGH14 - AVGH14) / 13, H12 + 12 * 6 * (FAVGH14 - AVGH14) / 13, H13 + 13 * 6 * (FAVGH14 - AVGH14) / 13) - LEAST(L, L1 + 6 * (FAVGL14 - AVGL14) / 13, L2 + 2 * 6 * (FAVGL14 - AVGL14) / 13, L3 + 3 * 6 * (FAVGL14 - AVGL14) / 13, L4 + 4 * 6 * (FAVGL14 - AVGL14) / 13, L5 + 5 * 6 * (FAVGL14 - AVGL14) / 13, L6 + 6 * 6 * (FAVGL14 - AVGL14) / 13, L7 + 7 * 6 * (FAVGL14 - AVGL14) / 13, L8 + 8 * 6 * (FAVGL14 - AVGL14) / 13, L9 + 9 * 6 * (FAVGL14 - AVGL14) / 13, L10 + 10 * 6 * (FAVGL14 - AVGL14) / 13, L11 + 11 * 6 * (FAVGL14 - AVGL14) / 13, L12 + 12 * 6 * (FAVGL14 - AVGL14) / 13, L13 + 13 * 6 * (FAVGL14 - AVGL14) / 13))

Center of Gravity is more adjustable. You can change the 10 and 3 to adjust the COG and exponential moving average periods.

Raw 10-period COG:

(10 + 1) * (FAVG(H + L, 10) / AVG(H + L, 10) - 1) / 2

3 period EMA of raw 10-period COG:

XAVG((10 + 1) * (FAVG(H + L, 10) / AVG(H + L, 10) - 1) / 2, 3)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.