merhaba,
dataları dünkü açılış kapanış ve yüksek-düşük olarak ayarladık sabit veri verecektir,
al
DK:=DAYOFMONTH()><ref(DAYOFMONTH(),-1) ;
C1:=valuewhen(1,DK,ref(c,-1)) ;
H1:=valuewhen(1,DK,ref(highestsince(1,DK,h),-1));
L1:=valuewhen(1,DK,ref(lowestsince(1,DK,l),-1));
O1:=valuewhen(1,DK,ref(O,-1)) ;
C>if(c1<O1,(H1+(L1*2)+c1),if(c1>O1,((H1*2)+L1+c1),if(c1=O1,(H1+L1+(c1*2)),0)))/4
sat
DK:=DAYOFMONTH()><ref(DAYOFMONTH(),-1) ;
C1:=valuewhen(1,DK,ref(c,-1)) ;
H1:=valuewhen(1,DK,ref(highestsince(1,DK,h),-1));
L1:=valuewhen(1,DK,ref(lowestsince(1,DK,l),-1));
O1:=valuewhen(1,DK,ref(O,-1)) ;
C<if(c1<O1,(H1+(L1*2)+c1),if(c1>O1,((H1*2)+L1+c1),if(c1=O1,(H1+L1+(c1*2)),0)))/4
şeklinde deneyebilirsiniz,
bilgilerinize