TC2000.com• Download software • Tutorial videos • Subscription & data-feed pricing • Class schedule
TC2000Brokerage.com• New account application • Trading resources • Margin rates • Stock & option commissions
Worden Discussion Forum » Customer Training & Support » Ask a Trainer - StockFinder 5.0 » True Marker to indicate 1st bar of new day
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
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
Perfect! Thanks Bruce
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
'|*****************************************************************| '|*** 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
Thanks Bruce!
You're welcome.