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

Profile: maljester
About
User Name: maljester
Groups: Gold User, Member, Platinum User, TeleChart
Rank: Registered User
Real Name:
Location
Occupation:
Interests:
Gender: Unsure
Statistics
Joined: Sunday, January 30, 2005
Last Visit: Tuesday, May 08, 2018 8:14:56 PM
Number of Posts: 131
[0.05% of all post / 0.03 posts per day]
Avatar
Last 10 Posts
Topic: Linear regression trend with standard deviation
Posted: Monday, April 16, 2018 1:14:33 PM

It was set to hi cap 1000.  I changed to U.S. Stocks and that fixed the problem.

Thanks for you  help

Topic: Linear regression trend with standard deviation
Posted: Sunday, April 15, 2018 11:04:42 PM

as of April 13 StockFinder scan with

TC LR Channel indicator with the following settings

Period is 63

Width is 1

TCWidth is False

and price.close less than lower band

AndAlso volume.AVGC(21) > 10000 AndAlso volume.MinClose(5) > 4000 _
AndAlso price.close > 1 AndAlso price.Close < 10
 
returns symbols ABEV, APPS, BW, CIG, EDGE, HMY, MBT, MNKD, NLNK, NVAX, SBS and SIRI
 
TC2000 
avgv21 > 1000000 and minv5 > 400000
and c > 1 and c < 10
and C < 3 * FAVGC63 - 2 * AVGC63 -  STDDEV63
returns ABEV, BBD, MBT, SBS, SIRI
 
The StockFinder stocks are all under lower band.  TC2000 does not appear to be finding all the stocks.
Topic: Linear regression trend with standard deviation
Posted: Wednesday, April 11, 2018 10:58:25 AM

Thank you

Topic: Linear regression trend with standard deviation
Posted: Wednesday, April 11, 2018 8:36:42 AM

I set up your TC LR Channel indicator with the following settings

Period is 63

Width is .95

TCWidth is False

I scan for Price.Low less than lower band

Can this be done in TC2000?

Topic: Linear regression trend with standard deviation
Posted: Monday, April 09, 2018 3:28:16 PM

Is have it possible to have a linear regression trend line with a valiable period and have 1 and 2 standard deviation lines above and below the LinReg trend line in StockFinder and TC2000?

Topic: 14 bar weekly range
Posted: Friday, March 02, 2018 4:42:52 PM

Thanks for your help Bruce.

Topic: 14 bar weekly range
Posted: Friday, March 02, 2018 2:27:12 PM

I am using the following for 14 bar daily range.  How do I convert to weekly?

&#39;# Period = UserInput.Integer = 14
Static SumC As Single
 
If isFirstBar Then
     SumC = 0
End If
SumC += Price.High - Price.Low
If CurrentIndex >= Period Then
     SumC -= Price.High(Period) - Price.Low(Period)
End If
If CurrentIndex >= Period - 1 Then
     plot = SumC / Period
Else
     Plot = Single.NaN
End If
Topic: StdDev
Posted: Friday, January 19, 2018 3:49:30 PM

thanks for your help.

Topic: StdDev
Posted: Friday, January 19, 2018 3:04:37 PM

Is RealCode possible the the following?

SQR(ABS((SUM(LOG((H + L + C) / 3) - LOG((H1 + L1 + C1) / 3), 30) - SUM(LOG((H + L + C) / 3) - LOG((H1 + L1 + C1) / 3), 30) ^ 2 / 30) / 30))

Topic: VFI (Volume Flow Indicator)
Posted: Thursday, January 11, 2018 4:31:46 PM
"Else If mf < cutoff then" in prior post s/b 
Else If mf < -cutoff Then
but this make vcp zero
 
 
&#39;# Length = UserInput.Integer = 130
&#39;# coef = UserInput.Integer = .2
&#39;# vcoef = UserInput.Integer = 2.5
Dim inter As Single
Dim typical As Single
Dim typical1 As Single
Dim vinter As Single
Dim cutoff As Single
Dim vave As Single
Dim vmax As Single
Dim vc As Single
dim mf as Single
Dim vcp As Single
Dim vfi As Single
Dim vfima As Single
Dim d As Single
Dim signallength As Single = 5
Static SumC As Single
Static SumSq As Single
 
&#39;typical = hlc3
&#39;inter = log(typical) - log(typical[1] )
&#39;vinter = stdev(inter, 30)
&#39;cutoff = coef * vinter * close
&#39;vave = sma(volume, length)[1]
&#39;vmax = vave * vcoef
&#39;vc = iff(volume < vmax, volume, vmax) //min(volume, vmax)
&#39;mf = typical - typical[1]
&#39;vcp = iff(mf > cutoff, vc, iff(mf < -cutoff, -vc, 0))
 
&#39;vfi = ma(sum(vcp, length) / vave, 3)
&#39;vfima = ema(vfi, signalLength)
&#39;d = vfi - vfima
 
typical = (price.High + price.Low + price.Close) / 3
typical1 = (price.high(1) + price.Low(1) + price.Close(1)) / 3
&#39;inter = log(typical) - log(typical[1] )
inter = system.Math.Log(typical) - system.Math.Log(typical1)
&#39;vinter = stdev(inter, 30)
&#39;# Period = UserInput.Integer = 30
 
If isFirstBar Then
SumC = 0
SumSq = 0
Else If CurrentIndex > Period Then
SumC -= inter
SumSq -= inter ^ 2
Else
SumC += inter
SumSq += inter ^ 2
End If
If CurrentIndex >= Period - 1 Then
vinter = system.Math.abs((SumSq - SumC ^ 2 / Period) / Period) ^ .5
Else
vinter = Single.NaN
End If
cutoff = coef * vinter * price.close
vave = volume.AVGC(length, 1)
vmax = vave * vcoef
&#39;vc = iff(volume < vmax, volume, vmax) //min(volume, vmax)
If volume.Close < vmax Then
vc = volume.close
Else
vc = vmax
End If
 
mf = typical - typical1
If mf > cutoff Then
vcp = vc
Else If mf < -cutoff Then
vcp = -vc
Else 
vcp = 0
End If
plot = vcp