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