Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

syntax error on TSV Thread Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
pgchurch
Posted : Saturday, February 12, 2005 4:15:52 PM
Registered User
Joined: 1/11/2005
Posts: 7
I copied the TSV "thread" exactly and checked it several times to no avail. I can't seem to locate the error. I've corrected syntax errors on my own PCF's before, successfully.

This was for TSV12 crossing up throught TSV 12 moving average. Help.

George







Craig_S
Posted : Saturday, February 12, 2005 5:10:04 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
I copied and pasted both formulas provided with no error. Highlight the formula and hold down the CTRL and press C to copy it. Use CTRL and V to paste it.

If you still get an error then copy and paste your formula here so I can check it. There is no way for me to guess what you are not copying over correctly and causing you the error.

- Craig
Here to Help!
pgchurch
Posted : Tuesday, February 15, 2005 4:17:25 PM
Registered User
Joined: 1/11/2005
Posts: 7
((TSV12 >AVG (TSV12,12)) AND (TSV12.1 < AVG (TSV12.1,12)))((TSV12 >AVG (TSV12,12)) AND (TSV12.1 < AVG (TSV12.1,12)))((TSV12 >AVG (TSV12,12)) AND (TSV12.1 < AVG (TSV12.1,12)))((TSV12 >AVG (TSV12,12)) AND (TSV12.1 < AVG (TSV12.1,12)))((TSV12 >AVG (TSV12,12)) AND (TSV12.1 < AVG (TSV12.1,12)))((TSV12 >AVG (TSV12,12)) AND (TSV12.1 < AVG (TSV12.1,12)))((TSV12 >AVG (TSV12,12)) AND (TSV12.1 < AVG (TSV12.1,12)))
Craig_S
Posted : Wednesday, February 16, 2005 9:47:46 AM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
You have same formula repeated. Here is the formula for crossing the zero:

(TSV12>0 AND TSV12.1<0) OR (TSV12<0 AND TSV12.1>0)

The same as was listed in the original thread

Here is the formula for crossing the average:

((TSV18>AVG(TSV18,10))AND (TSV18.1AVG(TSV18.1,10)))

this is from the thread linked in the original

- Craig
Here to Help!
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.