Hi,
I want to perform similar calculation for parabolic SAR which requires previous values of output like the example shown below. How to achieve this ?
input = table(100:0, `id`val1`val2, [INT,DOUBLE,DOUBLE])
output = table(100:0, `id`f1`f2 , [INT,DOUBLE,DOUBLE])
prev_rs=createReactiveStateEngine(name="prev_rs",metrics=<[ iif(val1>prev(f1),val1,prev(val1)),iif(val2<prev(f2),iif(prev(f2)>val1,val1,prev(f2)),iif(prev(f1)> val2,val2,prev(f1)))]>,dummyTable=input,outputTable=output ,keyColumn=`id)
I need help in values of previous output like prev(f1) and prev(f2) please help me.
Please help me.
currently, this can only be done by handler: