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 |

True Marker to indicate 1st bar of new day Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
oodles
Posted : Wednesday, April 11, 2012 11:49:13 AM

Registered User
Joined: 1/20/2005
Posts: 129

Hi Bruce, I traced my most-recent mistake to it not being obvious where one day ends and the next begins.  I checked with tech support and there is no vertical day divider line I can just enable.  Would you please write a condition that will display a true marker on the first bar each day?  Intraday only.  Thanks.  Richard

Bruce_L
Posted : Thursday, April 12, 2012 8:17:06 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Please try the following RealCode Condition:

'|*****************************************************************|
'|*** StockFinder RealCode Condition - Version 5.0 www.worden.com 
'|*** Copy and paste this header and code into StockFinder *********
'|*** Condition:First Bar of Day
'|******************************************************************
If Price.DateValue.DayOfYear <> Price.DateValue(1).DayOfYear AndAlso _
	CurrentIndex > 0 Then
	Pass
End If


-Bruce
Personal Criteria Formulas
TC2000 Support Articles
oodles
Posted : Thursday, April 12, 2012 10:08:15 AM

Registered User
Joined: 1/20/2005
Posts: 129

Perfect!  Thanks Bruce

oodles
Posted : Friday, May 4, 2012 3:59:47 PM

Registered User
Joined: 1/20/2005
Posts: 129

Hi Bruce, At this point, I've been using this indicator for several weeks.  To reduce screen clutter, each time I switch to daily candles, I turn off the True Markers.  Would you be able to show me how to display True Markers programatically on intraday charts only?   Thanks,  Richard

Bruce_L
Posted : Friday, May 4, 2012 4:10:29 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
'|*****************************************************************|
'|*** StockFinder RealCode Condition - Version 5.0 www.worden.com 
'|*** Copy and paste this header and code into StockFinder *********
'|*** Condition:First Bar of Day
'|******************************************************************
If Price.DateValue.DayOfYear <> Price.DateValue(1).DayOfYear AndAlso _
	BarInterval.Days = 0 Then
	Pass
End If


-Bruce
Personal Criteria Formulas
TC2000 Support Articles
oodles
Posted : Friday, May 4, 2012 4:28:31 PM

Registered User
Joined: 1/20/2005
Posts: 129

Thanks Bruce!

Bruce_L
Posted : Friday, May 4, 2012 4:30:50 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.