| sundeep |
|
Gold User, Member, Platinum User
|
| Registered User |
|
|
|
|
| Unsure |
|
| Thursday, March 09, 2006 |
| Saturday, August 21, 2010 3:36:44 PM |
37 [0.02% of all post / 0.02 posts per day] |
|
Thank you as always Bruce. This is perfect! I continue to be impressed by the responsiveness of Worden support and the amazing capability in Stockfinder. It rocks! I can now bracket a time span that matches a market condition (bear/bull/sideways) and instantly see the changes in the indicator.
|
I'd like to set the start and end date for a chart and have all the indicators recalculate .. including indicators with static variables ..... Is this possible to do without changing the indicators themselves? While tinkering with the trim by dates block in the block fiagram mode, I noticed references to properties of MainChart called start date and end date but cannot see how to link to them... But this gives me hope that there is a systemic way of changing the default start and end dates.
Any pointers?
thx,
|
Hello,
I have a realcode indicator called UpCount, that counts up days in a static variable. See code below. I think there is a similar example in the RealCode programming manual.
This indicator is a steadily increasingly number as it is counting all up days. Now, what I'd like to do is to use the date pointer to establish the starting date.
So, if I have the date pointer on Jan 1, 2005, I'd expect to see this indicator be zero on Jan 1, 2005 and then count all subsequent up days.
I've tried connecting the "Trim End By Date" block but with no luck. My indicator remains blank.
Any pointers?
thanks,
-----------------------------------
Static upCount As Integer
Dim netChange As Single = price.close - price.close(1)
If isFirstBar Then
upCount = 0
End If
If netChange > 0 Then
upCount += 1
End If
plot = upCount
|
|
Great! Thanks Bruce.
|
Dear Worden Trainers,
Using intra-day price data (e.g., 5 minute bars), I can easily create a buy rule that fires when price closes above a value. How do I prevent multiple buy orders from triggering on same day?
In other words, I'd like to have a buy rule that fires only once (the first time) on any trading day.
thanks,
Sundeep
|
|
Perfect! Thanks very much Bruce.
|
Hello,
I'd like to display the value of an indicator on a particular date in the watchlist column (as opposed to the watchlist displaying last value). Ideally the date value is controlled by a date pointer. In other words, I slide the date pointer to a particular date and the value of my custom indicator on that particular date is diplayed in the watchlist column.
thanks in advance.
Sundeep
|
|
Thanks for confirming Bruce.
|
I can't seem to run a simple "buy at open, sell at close" backscan on daily charts? I seem to recall this was a known limitation. Can you please confirm or am I missing something here?
thanks.
|
Thanks for listing this example. It does what I had asked for. However, I'm raising the bar higher for myself. 
I'd like to tweak the % price change indicator and wrap it as a block diagram so I can use the "rank vs list" block to do the nice sorting of the results.
Is there an example that you could point me to? I seem to remember the original blocks had some references for creating your own blocks .....
thanks,
|
|