Merhaba,
System Tester'da aşağıdaki formül ile test yaptığımda sonuçları sıfır çıkmaktadır. Yardımlarınızı rica ederim.
Grafik verileri system tester çalıştırmadan tamamlanmıştır. Tüm Barlar kullanılarak test yapılmıştır.
AÇIĞA SAT
if(MOV(C,opt1,VAR)<OTT(C,opt1,7),
MOV(C,opt1,VAR)<OTT(C,opt1,opt2)*(1-opt3) AND
STOSK(opt4,opt5,33,VAR)+1000<OTT(STOSK(opt4,opt5,33,VAR)+1000,2,opt6) AND
L<OTT(LLV(L,20/2),2,0.5) AND L<REF(LLV(L,20),-1),
MOV(C,opt1,VAR)<(OTT(C,opt1,3)+REF(OTT(C,opt1,3)-(OTT(C,opt1,7)-OTT(C,opt1,3)),-100))/2 AND
MOV(C,opt1,VAR)<OTT(C,opt1,opt2)*(1-opt3) AND
STOSK(opt4,opt5,33,VAR)+1000<OTT(STOSK(opt4,opt5,33,VAR)+1000,2,opt6) AND
L<OTT(LLV(L,20/2),2,0.5) AND L<REF(LLV(L,20),-1)) AND
((HOUR()=10 AND MINUTE()>=03) OR HOUR()>=11) AND ((HOUR()=17 AND MINUTE()<=58) OR HOUR()<=16)
AÇIK POSİZYON KAPAT
if(MOV(C,opt1,VAR)<OTT(C,opt1,7),
MOV(C,opt1,VAR)>OTT(C,opt1,opt2)*(1+opt3) AND
STOSK(opt4,opt5,33,VAR)+1000>OTT(STOSK(opt4,opt5,33,VAR)+1000,2,opt6) AND
H>OTT(HHV(H,20/2),2,0.5) AND H>REF(HHV(H,20),-1),
MOV(C,opt1,VAR)>OTT(C,opt1,opt2)*(1+opt3) AND
STOSK(opt4,opt5,33,VAR)+1000>OTT(STOSK(opt4,opt5,33,VAR)+1000,2,opt6) AND
H>OTT(HHV(H,20/2),2,0.5) AND H>REF(HHV(H,20),-1)) AND
((HOUR()=10 AND MINUTE()>=03) OR HOUR()>=11) AND ((HOUR()=17 AND MINUTE()<=58) OR HOUR()<=16)
OPT1 20 40 10 20
OPT2 0.6 0.8 0.2 0.6
OPT3 0.0004 0.0008 0.0002 0.0004
OPT4 200 350 50 200
OPT5 200 250 50 200
OPT6 0.2 0.4 0.1 0.2
STOP OPT7 3.2 5.2 0.5 3.2