Merhaba
1.
gnrf:=dayofmonth()><ref(dayofmonth(),-1) ;
bog:=valuewhen(1,gnrf,ref(c,-1)) ;
ysd:=valuewhen(1,gnrf,ref(highestsince(1,gnrf,h),-1));
dsd:=valuewhen(1,gnrf,ref(lowestsince(1,gnrf,l),-1));
PVT:=(bog+ysd+dsd)/3;
BC:=(ysd+dsd)/2;
TC:=(PVT-BC)+PVT ;
CPR:=(TC+BC)/2;
cross(c,BC) or cross(BC,c)
2.
gnrf:=dayofmonth()><ref(dayofmonth(),-1) ;
bog:=valuewhen(1,gnrf,ref(c,-1)) ;
ysd:=valuewhen(1,gnrf,ref(highestsince(1,gnrf,h),-1));
dsd:=valuewhen(1,gnrf,ref(lowestsince(1,gnrf,l),-1));
PVT:=(bog+ysd+dsd)/3;
BC:=(ysd+dsd)/2;
TC:=(PVT-BC)+PVT ;
CPR:=(TC+BC)/2;
cross(c,pvt) or cross(pvt,c)
3.
gnrf:=dayofmonth()><ref(dayofmonth(),-1) ;
bog:=valuewhen(1,gnrf,ref(c,-1)) ;
ysd:=valuewhen(1,gnrf,ref(highestsince(1,gnrf,h),-1));
dsd:=valuewhen(1,gnrf,ref(lowestsince(1,gnrf,l),-1));
PVT:=(bog+ysd+dsd)/3;
BC:=(ysd+dsd)/2;
TC:=(PVT-BC)+PVT ;
CPR:=(TC+BC)/2;
cross(c,pvt) and cross(c,bc)
Şeklinde deneyiniz.
Bilgilerinize.