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 |

Getting Clear Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
jocool35
Posted : Monday, August 30, 2010 2:39:35 AM
Registered User
Joined: 12/19/2004
Posts: 28

Hi,

I tried creating Getting Clear from this month article in Stocks and Commodities but I receive an error.

Did someone create this like in other months from articles in Stocks and Commodities?

Thank you,

Rich

Bruce_L
Posted : Monday, August 30, 2010 11:08:12 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You may want to take a look at the Clear Method topic.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jocool35
Posted : Monday, August 30, 2010 1:14:59 PM
Registered User
Joined: 12/19/2004
Posts: 28
HI Bruce,

Thanks for the quick reply. I was hoping to have it look like the way  Bruce Loebrich and Patrick Argo created it. Do you have that design some where in the database?

Thanks,

Rich
Bruce_L
Posted : Monday, August 30, 2010 1:27:12 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
I created the RealCode Paint Scheme for the article and as far as I can tell, the version presented by jas0501 in Clear Method is exactly the same as what I submitted to Patrick for inclusion in the article (although I haven't yet received my copy of the magazine).

Paint Schemes

Static Swing As Integer
Static HighestLow As Single
Static LowestHigh As Single
If isFirstBar Then
                Swing = 0
                HighestLow = Line.Low
                LowestHigh = Line.High
End If
HighestLow = System.Math.Max(HighestLow, Line.Low)
LowestHigh = System.Math.Min(LowestHigh, Line.High)
If Line.Low > LowestHigh Then
                Swing = 1
                HighestLow = Line.Low
                LowestHigh = Line.High
Else If Line.High < HighestLow Then
                Swing = -1
                HighestLow = Line.Low
                LowestHigh = Line.High
End If
If Swing = 1 Then
                PlotColor = Color.Lime
Else If Swing = -1 Then
                PlotColor = Color.Red
Else
                PlotColor = Color.Yellow
End If

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jocool35
Posted : Monday, August 30, 2010 2:39:52 PM
Registered User
Joined: 12/19/2004
Posts: 28
Thanks Bruce, Sorry I was trying to create as an indicator. Thanks looks great.

Worden Rocks
Bruce_L
Posted : Monday, August 30, 2010 2:42:28 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome.

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