raindog
19th November 2006, 06:00 AM
Hello,
Hoping someone can point out the error in the following piece of code, which when I include it and reference it in my entry trigger in MS, results in the Tradesim error “No valid trading records in database”.
VolumeCount :=
V>Mov(V,30,S) +
Ref(V,-1)>Mov(V,30,S) +
Ref(V,-2)>Mov(V,30,S) +
Ref(V,-3)>Mov(V,30,S) +
Ref(V,-4)>Mov(V,30,S) +
Ref(V,-5)>Mov(V,30,S) +
Ref(V,-6)>Mov(V,30,S) +
Ref(V,-7)>Mov(V,30,S) +
Ref(V,-8 )>Mov(V,30,S) +
Ref(V,-9)>Mov(V,30,S);
(Please note I had to add a space after the '-8' to avoid php including a smilie there.)
Will this not assign a numeric value to VolumeCount, based on evaluation of the boolean statements?
Thanks,
Erron
Hoping someone can point out the error in the following piece of code, which when I include it and reference it in my entry trigger in MS, results in the Tradesim error “No valid trading records in database”.
VolumeCount :=
V>Mov(V,30,S) +
Ref(V,-1)>Mov(V,30,S) +
Ref(V,-2)>Mov(V,30,S) +
Ref(V,-3)>Mov(V,30,S) +
Ref(V,-4)>Mov(V,30,S) +
Ref(V,-5)>Mov(V,30,S) +
Ref(V,-6)>Mov(V,30,S) +
Ref(V,-7)>Mov(V,30,S) +
Ref(V,-8 )>Mov(V,30,S) +
Ref(V,-9)>Mov(V,30,S);
(Please note I had to add a space after the '-8' to avoid php including a smilie there.)
Will this not assign a numeric value to VolumeCount, based on evaluation of the boolean statements?
Thanks,
Erron