PureBytes Links
Trading Reference Links
|
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
---
|