Posts: 2,435 since Apr 2013
Thanks Given: 482
Thanks Received: 1,628
|
Loop,
for example using a loop .
As the result from two periods back seems to be influenced by the result of one period back according to your formula,
you will have to cycle through the bars for R1 to Rx to compute the outcome.
Regards,
ABCTG
|