reevescn |
Gold User, Member, Platinum User, TeleChart
|
Registered User |
|
|
|
|
Unsure |
|
Wednesday, January 26, 2005 |
Thursday, July 3, 2014 3:08:44 PM |
6 [0.00% of all post / 0.00 posts per day] |
|
You have a long formula for stochastic Momentum Index indicator dated May 7, 2008. I get a syntax error when I try to run this formula. What is wrong with it? Or do you have another formula? I like to use the Stochastic Momentum Index Indicator.
|
An old post (by apsll) said a method was posted to created an alarm in Stockfinder 5. Where is this old post? Or what is the code for creating an alarm?
|
I've tried to write and Indicator, which I can't get to work:
'#Period=userinput.Integer=14
Static X as Single
Static Y as SIngle
Dim Y1 as Single
Dim Yad As Single
Static Z as Single
Static Z1 as Single
If CurrentIndex>Period Then
X=(Price.High+Price.Low+Price.Close)/3
Y=X-X.AVG(period)
Y1=System.Math.Abs(Y)
Yad=Y1.Avg(period)
End If
If Yad>0 Then
Z=Y/Yad
Z1=(Z/3)*200
Else
Plot=Z1
End If
Error
"AVG" is not a member of Single.
I would appreciate your help correcting this code to run as a realcode indicator.
|
I am trying to write a RealCode Condition where a scan can be made for low values of the True Strength Index. True Strength Index variables in StockFinder 5 are 13,25, but I would like to alter these values in a scan. I would like to scan for a low on the True Strength Index for the last 30 days. I have tried to displaly the True Strength Index, then click on the plot, then select "New Low" and then 30 days. This did not work on the True Strength Index. It did work on another indicator. Can you write the code for this? I appreciate your help.
|
Note;
I've just obtained StockFinder 5, and I would like to install the following "Real Code Condition";
Bollinger Band Width less than 3.0 times the lowest bandwidth in 125 days. The points needs to be marked on the stock plot and also an alert should be given when a low point is found. I would also like to make an occasional input change to alter the number 3.0, if this can be done easily. My code for this is:
If Price.Low<3.0 * Price.minlow(125) then
pass
Lokistatic.PlaySound("c:/alert.wav")
End If
Can you provide a correction to this code so that it will work?
Another question is, when I've made a bad "Real Code Condition" on a layout, how can it be deleted?
Charles Reeves
reevescn@hotmail.com
|
Can I get a pcf to use as a scan for Money Stream Divergence with price
|
|