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: nomad_tx
About
User Name: nomad_tx
Groups: Member
Rank: Registered User
Real Name:
Location
Occupation:
Interests:
Gender: Gender:
Statistics
Joined: Saturday, September 5, 2009
Last Visit: Thursday, February 11, 2010 11:24:41 AM
Number of Posts: 47
[0.02% of all post / 0.01 posts per day]
Avatar
Last 10 Posts
Topic: Build 163 Now Available
Posted: Wednesday, January 13, 2010 11:39:10 PM
Minute Data is now working for Me with this build. Thanks Guys.
Topic: ATR Ratchet Stop
Posted: Tuesday, January 12, 2010 3:10:04 AM

After looking at  the pdf I made a few changes to the code.
They use a 40 period ATR. Their stop NEVER gets reset.
They use more data than We can,and They adjust for dividends,etc.
You can increase your data to max in "Settings > Data Manager".


The original code would reset the stop after a stop was hit.
That may work if you trade shorter term.


Add indicator - Average True Range Period 40 to chart.

Add realcode RULE with this code:

'# ATR = indicator.AverageTrueRange

Static RatchetStop As Single
Static RatchetStop1 As Single

If isfirstbar Then
 RatchetStop = 0
 RatchetStop1 = 0
End If

RatchetStop1 = RatchetStop
If CurrentIndex > 40 Then
 If Price.Close - (10 * ATR.value) > RatchetStop Then
  RatchetStop = Price.Close - (10 * ATR.value) 
 End If
 
 If price.Close < RatchetStop AndAlso price.Close(1) > RatchetStop1 Then 
  pass
 End If
 
End If


Indicator

'# ATR = indicator.AverageTrueRange

Static RatchetStop As Single

If isfirstbar Then
 RatchetStop = 0
End If

If CurrentIndex > 14 Then
 If Price.Close - (10 * ATR.value) > RatchetStop Then
  RatchetStop = Price.Close - (10 * ATR.value) 
 End If
 
 plot = RatchetStop
End IF

Topic: ATR Ratchet Stop
Posted: Sunday, January 10, 2010 11:19:58 PM

Not familiar with ATR ratchet stops, but here's My stab at it.

Add indicator - Average True Range Period 14 to chart.

Add realcode RULE with this code:

'# ATR = indicator.AverageTrueRange

Static RatchetStop As Single

If isfirstbar Then
 RatchetStop = 0
End If

If CurrentIndex > 14 Then
 If Price.Close - (10 * ATR.value) > RatchetStop Then
  RatchetStop = Price.Close - (10 * ATR.value) 
 End If
 
 If price.Close < RatchetStop Then
  RatchetStop = 0
  pass
 End If
 
End If

 

To see where the stop is, Add INDICATOR with this code:

'# ATR = indicator.AverageTrueRange

Static RatchetStop As Single

If isfirstbar Then
 RatchetStop = 0
End If

If CurrentIndex > 14 Then
 If Price.Close - (10 * ATR.value) > RatchetStop Then
  RatchetStop = Price.Close - (10 * ATR.value) 
 End If
 
 If price.Close < RatchetStop Then
  RatchetStop = 0
 End If
 
 plot = RatchetStop
End IF

 

Left click indicator and check "Show last indicator value"

Topic: Watchlist question
Posted: Wednesday, October 28, 2009 3:32:43 AM
How can I see My watchlists for stockfinder in telechart?
I can see my watchlists for telechart in stockfinder.

Thanks.
Topic: Relative Strenth PCF - formula structure
Posted: Wednesday, October 28, 2009 3:22:50 AM
How can I see My watchlists for stockfinder in telechart?
I can see my watchlists for telechart in stockfinder.

Thanks.