PureBytes Links
Trading Reference Links
|
just to clarify my problem.... in other words
Meaning close of tomorrow being = price 'x'
and x has to be < average of the ['close of today'{eg 1030} and ' close of
tomorrow' {which is 'x'} ]
cheers
cameron
-----Original Message-----
From: c [mailto:camacazi@xxxxxxxxxxx]
Sent: Thursday, October 16, 2003 4:34 PM
To: omega-list@xxxxxxx com
Subject: attention maths gurus
Hi all
I have this problem and i need some assistance with mathematics.
Here is my problem , i am backtesting a new system , but i need to calculate
the closing price of tomorrow that would make the close of tomorrow be under
the average close of two days ago.
eg
close[3] = 1000
close[2] = 1010
close[1] = 1020
close today = 1030
what would be the close of tomorrow to make the close of tomorrow <
average(close,2) ?
{i need the formula too not just the answer :O) [grin]}
This maths is making my brain hurt.....
cheers
Cameron
---
---
---
|