Pagina 1 van 1

CountIF - functie

BerichtGeplaatst: wo 28 mei 2003, 22:57
door Paul M
Wie kan mij aan de volgende functie helpen?

CountIF (Function)
Counts the number of occurrences of the criteria over the last N bars.

Function
CountIF(Test, Length)

Parameters
Test
True/false expression representing condition to be matched.

Length
Number of bars back to search.


Returns
A numeric value containing the number of occurrences of Test prior to the current bar.

Alvast bedankt.
Paul

CountIF

BerichtGeplaatst: wo 28 mei 2003, 23:16
door GM
De CountIf functie is in Vesticode te downloaden.

CountIF

BerichtGeplaatst: wo 28 mei 2003, 23:53
door Paul M
Hoe, waar?

Paul

CountIF

BerichtGeplaatst: do 29 mei 2003, 0:14
door GM
Op de link die je al lang als startpagina in je browser had moeten instellen.

:cool: ? ? ? ? ? ? ? ? ? ? ? ? ? ?:cool: ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?:cool:

CountIF

BerichtGeplaatst: do 29 mei 2003, 0:32
door Paul M
en dat is?

CountIF

BerichtGeplaatst: do 29 mei 2003, 0:38
door GM
En ik maar denken dat ik al beroemd was :)

http://members.chello.nl/g.menting1

CountIF

BerichtGeplaatst: do 29 mei 2003, 0:39
door Paul M
Nu wel.

CountIF

BerichtGeplaatst: do 29 mei 2003, 0:46
door Paul M
Ik heb hem direct als startpagina ingestelt. Te gek.
Geert, heb misschien ook de volgende functie?
Random (Reserved Word)
Returns a random number in the range between 0 and Num.

Random(Num)

Num is a numeric expression to be used in the calculation.

Examples
Random(35) might return a value of 21.26.

Random(142.56) might return a value of 136
Alvast bedankt.
Groetjes Paul

CountIF

BerichtGeplaatst: do 29 mei 2003, 8:29
door GM
Die Reserved Word kan ik volgens mij niet omzetten naar Vesticode.

Maar volgens mij zit hij ook al standaard in Vestics.
Kijk maar bij 'numerieke functies'

*********************************************

Deze functie resulteert in een willekeurig getal van 0 tot n, waarbij n meegegeven wordt als argument. ?

?

Deze functie kan ook gebruikt worden om toevalslogica toe te passen. ?

?

syntax: ?

?
value function Random(value xKansBereik); ?

?
?

voorbeelden: ?

?
if Random(1)<0.25 then vEnterLong else vEnterShort; ?

In dit geval zal in ca. 25% van de keren een long positie worden gestart en in de resterende 75% van de gevallen een short positie. ?

?
?

zie ook: ?

?
Numerieke functies ?

CountIF

BerichtGeplaatst: do 29 mei 2003, 10:58
door Paul M
Je hebt gelijk Geert volgens het help- bestand moet hij in Vestics zitten, maar hij zit er bij mij niet in.
Vreemd.

CountIF

BerichtGeplaatst: do 29 mei 2003, 11:34
door GMe
Random doet het in Vestics inderdaad niet, terwijl de overige numerieke functies zo te zien wel ?werken.