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

Converting a TC Filter to Blocks Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
accendo
Posted : Sunday, September 21, 2008 11:38:40 AM
Registered User
Joined: 7/2/2008
Posts: 23
Could someone please help me with setting up a TC Scan to blocks?Pirce >=40Volume over 1 million for last 30 daysCashflow + or - 2000000Bruce was kind enough to help me figure out that the TC code is: Price Per Share is also one of TeleChart's built in System Criteria (which could be used with the EasyScan Rangefinder), but you could also create a Boolean (True / False) PCF:C > = 40I'm not sure if you mean Average Volume:AVGV30 >= 10000ABS(C - C1) * V > 20000Thanks in advance,
Bruce_L
Posted : Monday, September 22, 2008 12:16:31 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Assuming the Personal Criteria Formula did what you want, you could try using the following RealCode Condition as a Watchlist Light or in the Filter.

Static AvgV30 As Single
If IsFirstBar Then AvgV30 = 0
AvgV30 += Volume / 30
If CurrentIndex >= 30 Then
    AvgV30 -= Volume(30) / 30
End If
If CurrentIndex >= 29 Then
    If Price.Last >= 40 AndAlso _
        AvgV30 >= 10000 AndAlso _
        System.Math.Abs(Price.Last - Price.Last(1)) * Volume >= 20000 Then Pass
Else
    SetIndexInvalid
End If

-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.