Bruce,
Please add a condition of Dividend >= to 1.5% to this code.
Thanks,
Michael
'# SMAperiod = UserInput.Integer = 225
'# AbovePeriod = UserInput.Integer = 250
'# Percent = UserInput.Single = 90
Static Count As Integer
Static Threshold As Single
Static Valid As Integer
If isFirstBar Then
Count = 0
Threshold = AbovePeriod * Percent / 100
Valid = AbovePeriod + SMAperiod - 1
SetIndexInvalid
Else If CurrentIndex >= SMAperiod Then
If Price.Last > Price.AVGC(SMAperiod) Then
Count += 1
End If
If CurrentIndex > Valid Then
If Price.Last(AbovePeriod) > Price.AVGC(SMAperiod, AbovePeriod) Then
Count -= 1
End If
If Count >= Threshold Then
Pass
End If
Else
SetIndexInvalid
End If
Else
SetIndexInvalid
End If
|
Bruce,
Will StockFinder work in Window 8?
|
Bruce,
Will StockFinder work in Window 8?
|
Bruce,
Thanks for the suggestion; however my results are still the same. Perhaps the problem is in the StockFinder code itself, in which case I will make due with 2005.
Thanks,
Michael
|
Bruce,
I am having trouble getting the BackScanner to refresh too much earlier than 2005. I set the data to 4,000 and the starting data to 1/1/1998. Although the BackScanner appears to be identifying buy and sell triggers from my layout criteria going back to at least 2000 the screen does not show buys and sells much earlier than mid-2005.
I have waited a while before refreshing, but to no avail.
Any suggestions?
Thanks,Michael
|
Thanks Bruce - I hope your have a enjoyable weekend.
Michael
|
Bruce,
I am writing a condition from Price History. I want to use Price History Percent Change to indicate ‘true’ as a series in Combination Condition box when the particular stock drops more than 9% after a long period of strong growth.
My question is:
Do I use < or > to indicate a drop in price?
Thanks,
Michael
|
Bruce,
I just installed a SSD. The BackScanner went from a running time of 1 min +/- to about 20 seconds!!
Thanks and I wish you a good new year.
|