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 |

Profile: hkusp40
About
User Name: hkusp40
Groups: Member, TeleChart
Rank: Registered User
Real Name:
Location
Occupation:
Interests:
Gender: Unsure
Statistics
Joined: Sunday, July 13, 2008
Last Visit: Saturday, May 19, 2012 11:27:05 PM
Number of Posts: 35
[0.01% of all post / 0.01 posts per day]
Avatar
Last 10 Posts
Topic: Creating regression bands
Posted: Friday, November 20, 2009 1:53:33 AM
I'm looking to create a fairly simple overlay using a 200 period linear regression with standard deviation bands around it for which the multiple can be adjusted. Another variation could use the ATR instead of the standard deviation. I've found linear regression channels to be helpful to me, but since they can only be drawn by hand on each chart, the overlay I described would be the next best thing. Any suggestions?

Thanks
Topic: Creating the MMDI
Posted: Sunday, August 16, 2009 5:37:00 PM
Thank you Bruce!
Topic: Creating the MMDI
Posted: Saturday, August 8, 2009 1:58:28 AM
As discussed by David Varadi on his blog, the MMDI is simply a MACD where the short term average is replaced by the median for the same period. So for example, the standard 12,26 MACD would become the median price for the last 12 bars minus the average for the last 26. He also mentions that he prefers to smooth the the resulting difference line using a 2-5 period SMA/EMA. I'd like to recreate this indicator in SF4 is possible.

So,

median of the last “n” days - average of the last “n” days = D

D is then smoothed and plotted. Can this be done?


Topic: bestfreecharts.com
Posted: Sunday, April 5, 2009 1:32:53 PM
If I may, bestfreecharts.com represents a very much stripped down version of SF in which there is no additional support for custom indicators or complex scans. Among many other features, these are the things that make SF4 really stand out. I was very excited to discover bestfreecharts.com but SF4 is still indispensible to me for my custom indicators and indexes, and canceling my service it has yet to cross my mind.

FWIW, hkusp40
Topic: Plot no longer functions after update
Posted: Friday, March 6, 2009 4:46:18 AM
It worked great. I appreciate the support, SG.


hkusp40
Topic: Plot no longer functions after update
Posted: Thursday, March 5, 2009 8:45:40 PM
When I loaded SF4 today it updated to a new build and subsequently one of my plots, MIDAS, no longer appears. I noticed some RealCode changes in the volume functions and suspect that this is the cause. Here is the MIDAS code I'm using:


'***************************************
'* Example: Returns the net change     *
'* Plot = Price.Close - Price.Close(1) *
'***************************************


'# Year = UserInput.Integer = 2008
'# Month = UserInput.Integer = 1
'# Day = UserInput.Integer = 1
'# Leave the Hour, Minute, Second values set to 0 for MIDAS.
'# Hour = UserInput.Integer = 0
'# Minute = UserInput.Integer = 0
'# Second = UserInput.integer = 0
Static StartDate As Date
Static CumPrice As Double
Static CumVolume.value As Double
If isFirstBar Then
    StartDate = New Date(Year, Month, Day, Hour, Minute, Second)
    CumPrice = 0
    CumVolume.value = 0
End If
If CurrentDate >= StartDate Then
    CumPrice += Price.Last * Volume.value
    CumVolume.value += Volume.value
    Plot = CumPrice / CumVolume.value
Else
    Plot = Single.NaN
End If
'# Cumulative




How can I go about correcting this? Thanks.

hkusp40
Topic: MIDAS indicator problem
Posted: Tuesday, January 27, 2009 11:32:22 AM
Simple, yet effective. I'm grateful Bruce. Thanks.
Topic: MIDAS indicator problem
Posted: Sunday, January 25, 2009 11:46:32 AM
I'm having a bit of a problem with scanning for a condition...

You're probably familiar with the MIDAS indicator and what it does. I am simply trying to scan for securities above or below a MIDAS plot and the results are not accurate. I've shared a layout to show you what I mean. The layout name is 'MIDAS problem'

I've plotted a longer term MIDAS and then created a rule to show stocks that are above this plot. If you flip through the passing stocks (using the Nas100 components is a good example) you'll notice that some are quite clearly below the plot. Likewise, some stocks that SF4 shows as not passing this condition are indeed above the MIDAS plot. If you were to sort the list by number a bars since true, the results are even more confounding.

Strangely, this problem seems to only occur when the MIDAS plot is a longer one. If you were to change the start date from 2003 up to 2008 you'll notice that the problem no longer exists. Any ideas?

Thanks again,
hkusp40
Topic: Tails indicator
Posted: Thursday, December 18, 2008 9:58:37 PM
Exactly right, I just don't know how to program such an indicator.
Topic: Tails indicator
Posted: Saturday, December 13, 2008 10:26:22 PM
The purpose of such an indicator, I should add, would be to identify situations in which price is moving up for example, but the indicator is beginning to move down due to longer tails up than down. One would look for divergences between the two to spot a loss of momentum in a particular direction.