Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Profile: danielbender
About
User Name: danielbender
Groups: Gold User, Member, Platinum User, TeleChart
Rank: Registered User
Real Name:
Location
Occupation:
Interests:
Gender: Unsure
Statistics
Joined: Saturday, January 14, 2006
Last Visit: Monday, March 20, 2017 9:19:30 PM
Number of Posts: 410
[0.14% of all post / 0.09 posts per day]
Avatar
Last 10 Posts
Topic: Error in Formula for PRLCount Indicator
Posted: Monday, March 20, 2017 9:19:29 PM

Bruce

Never mind. I found my error.  

Topic: Error in Formula for PRLCount Indicator
Posted: Monday, March 20, 2017 8:58:27 PM

Bruce

Never mind. I found my error.  

Topic: Error in Formula for PRLCount Indicator
Posted: Monday, March 20, 2017 8:57:55 PM

Bruce

Never mind. I found my error.  

Topic: Error in Formula for PRLCount Indicator
Posted: Monday, March 20, 2017 7:30:13 PM

Bruce

When I use the following code, I get either a 0 or a 5 result for the Plot Variable PRLCount.  I am looking for a result between 0 and 5.  Do you know what I am doing wrong?  Thanks... Dan

 

'|******************************************************************
'|*** StockFinder RealCode Indicator - Version 5.1 www.worden.com 
'|*** Copy and paste this header and code into StockFinder *********
'|*** Indicator:PRLCount
'|*** Example: plot = price.close - price.close(1)
'|******************************************************************
 
Dim PRLCount As Integer = 0
Static PeriodDef(6) As Integer
 
If isFirstBar Then
PeriodDef(1) = 3
PeriodDef(2) = 5
PeriodDef(3) = 8
PeriodDef(4) = 10
PeriodDef(5) = 12
PeriodDef(6) = 15
End If
 
 
For i As Integer = 1 To 5
If price.close >= Price.XAVG(PeriodDef(1)) Then
PRLCount += 1
End If
Next
 
Plot = PRLCount
Topic: RWB Code Support
Posted: Tuesday, December 27, 2016 9:21:40 PM

Bruce

Hope this email finds you well.  I need a quick code fix.  The following code is plotting zero, regardless of the stocks actual behavior.  Thanks. Dan

 

'|******************************************************************
'|*** StockFinder RealCode Indicator - Version 5.1 www.worden.com 
'|*** Copy and paste this header and code into StockFinder *********
'|*** Indicator:RWBCount
'|*** Example: plot = price.close - price.close(1)
'|******************************************************************
 
 
Static RWBCount As Integer
Dim PeriodDef(6) As Integer
 
If isFirstBar Then
PeriodDef(1) = 3
PeriodDef(2) = 5
PeriodDef(3) = 8
PeriodDef(4) = 10
PeriodDef(5) = 12
PeriodDef(6) = 15
End If
 
RWBCount = 0
 
For i As Integer = 1 To 5
If price.AVG(PeriodDef(i)) >= Price.AVG(PeriodDef(i + 1)) Then
RWBCount += 1
End If
Next
 
Plot = RWBCount
Topic: Opening Layouts
Posted: Thursday, October 29, 2015 6:03:28 PM

Bruce - thanks - Dan

Topic: Opening Layouts
Posted: Monday, October 26, 2015 4:22:26 PM

Hello

I have a layout that includes a watchlist with an extensive list of indicator columns. If I close the layout with the watchlist showing the Dow 30 compnents, I have no problems reopening the layout. However, when I close the layout with th watchlis showing an extensive component list, such as optionable stocks, restarting or reopening the layout is problematic, ie. it hangs up and crashes, or takes 10 minutes to restart. 

As long as I remember to close the layout with a short component list such as the Dow 30, I have no issues restarting stockfinder.  Is there any way I can have the watchlist in question always default to the Dow 30 component list, withot having to change it manually every tme I shut stockfinder down? For some reason, stockfinder seems to restart a layout with the last watchlist displayed. 

Thank you .... Dan

Topic: Backtest and Scan for 5dmav Strategy
Posted: Friday, December 19, 2014 6:06:24 PM

Bruce

Thank you.  

Dan

Happy Holidays.

Topic: Backtest and Scan for 5dmav Strategy
Posted: Friday, December 19, 2014 3:49:12 PM

Bruce

Are you there?  Any reason you have not replied?

Thanks... Dan

Topic: Backtest and Scan for 5dmav Strategy
Posted: Saturday, December 06, 2014 1:51:40 AM

Bruce

Disregard this post.  Somehow, when I copied my Word document into the post, it destroyed all of the text paragraph and sentence structure, making it pretty much unreadable.  I reposted as a new a new topic with proper punctuation.

Thanks... Dan