machado |
Gold User, Member, TeleChart
|
Registered User |
|
|
|
|
Unsure |
|
Sunday, March 13, 2005 |
Wednesday, October 24, 2012 8:14:19 PM |
107 [0.04% of all post / 0.01 posts per day] |
|
Thanks Jas for the alternitive code its very helpful.
Yes I have been looking at the caned candelstick indicators they have be giving me futher insights on writing this stuff , it takes a litle bit of trial and error to get .net right (for me anyway). Its all about the syntax .
Thanks guys for all your help
|
Bruce thanks so much for your help it is much appreciated.
|
Ahhhh I get it now I thought that the
OpenValue = Price.Open
HighValue = Price.High
LowValue = Price.Low
Plot = Price.Last
section didnt have to be replicated under the Else if line
It makes perfect sense
Do you recomend any books so I can get a better handle on real code
Bruce Thanks your the man
|
Thanks Bruce for your response,
I have tried writing it several diferent ways for instance:
If Price.DateValue.Day = 4 Then
LABEL = "TEST1" AndAlso _
Price.DateValue.Day = 18
LABEL = "TEST2"
OpenValue = Price.Open
HighValue = Price.High
LowValue = Price.Low
Plot = Price.Last
Else
OpenValue = Single.NaN
HighValue = Single.NaN
LowValue = Single.NaN
Plot = Single.NaN
End If
Also like this
If Price.DateValue.Day = 4 Then
LABEL = "TEST1" AndAlso _
Price.DateValue.Day = 18 Then
LABEL = "TEST2"
OpenValue = Price.Open
HighValue = Price.High
LowValue = Price.Low
Plot = Price.Last
Else
OpenValue = Single.NaN
HighValue = Single.NaN
LowValue = Single.NaN
Plot = Single.NaN
End If
The one that does plot is as follows:
If Price.DateValue.Day = 4 Then
LABEL = "TEST1"
OpenValue = Price.Open
HighValue = Price.High
LowValue = Price.Low
Plot = Price.Last
Else
OpenValue = Single.NaN
HighValue = Single.NaN
LowValue = Single.NaN
Plot = Single.NaN
End If
I cant figure out how to label both datevalues
Thanks so much for your help Bruce
|
Bruce can you please help me out on this one, I have been trying to figure this one out but to no avail.
The way I understand it with the IF statement is that it will execute the line if true then move to the ELSEIF then execute that line if true. Or is the IF statement and the ELSEIF more like an OR.
Hopefully that makes sense
anyway I would like to label the bar on the 4th of every month "Test1" and also label the bar on the 20th of evey month "test2"
Thanks
|
Hi can someone please tell me what is wrong with this piece of code. As writtin the code will not plot but if i remove the Elseif part it will plot. Am I missing a statement or something
Thanks
If Price.DateValue.Day = 4 Then
LABEL = "TEST1"
ElseIf Price.DateValue.Day = 20 Then
LABEL = "TEST2"
OpenValue = Price.Open
HighValue = Price.High
LowValue = Price.Low
Plot = Price.Last
Else
OpenValue = Single.NaN
HighValue = Single.NaN
LowValue = Single.NaN
Plot = Single.NaN
End If
|
What happended to SF5.1 no longer working on it?
|
Can we download stockfinder 5.1
|
What happened to KUF did he quit
|
Hi All
My two cents, I was using a pentium M (1.4Ghz) laptop with Win XP and 1.5G of ram (a bit on the old side) and was having the same issues as all you were having. It use to take 1hour or so do do my scans. I got an HP Envy 17 Laptop with the Q840 I7 Proceesor with 8G of ram, Win 7 about 6 moths ago and let me tell you it throws SF5 around like a rage doll. Insteade of taking 1hour to do my scans , it does it in about 4 min. Hope this helps
Carlos
|
|