Merhaba,
al-açığa poz kapat
haOpen:=(Ref((O+H+L+C)/4,-1) + PREV)/2;
A1:=((O+H+L+C)/4+haOpen+Max(H,haOpen)+Min(L,haOpen))/4;
p:=4;
hm:=Mov(H,p,s);
lm:=Mov(L,p,s);
res:=HHV(hm,2);
sup:=LLV(lm,2);
tsl:=If(ValueWhen(1,If(C>Ref(res,-1),1,If(C<Ref(sup,-1),-1,0))<>0,If(C>Ref(res,-1),1,If(C<Ref(sup,-1),-1,0)))=1,sup,res);
cross(A1,tsl)
sat -açığa sat
haOpen:=(Ref((O+H+L+C)/4,-1) + PREV)/2;
A1:=((O+H+L+C)/4+haOpen+Max(H,haOpen)+Min(L,haOpen))/4;
p:=4;
hm:=Mov(H,p,s);
lm:=Mov(L,p,s);
res:=HHV(hm,2);
sup:=LLV(lm,2);
tsl:=If(ValueWhen(1,If(C>Ref(res,-1),1,If(C<Ref(sup,-1),-1,0))<>0,If(C>Ref(res,-1),1,If(C<Ref(sup,-1),-1,0)))=1,sup,res);
cross(tsl,A1)