盈线指标公式:昨高 昨低
{昨最高 最低画线}
A:=CURRBARSCOUNT;
A1:=DAY!=REF(DAY,1);
A2:=BARSLAST(A1)+1;
A3:=REF(IF(A2=1,1,A2),A2);
A4:=CONST(REF(HHV(H,A3),A2));
A5:=CONST(REF(LLV(L,A3),A2));
A6:=MA(AMO,A3)/MA(VOL,A3)/100;
A7:=REF(MA((H+O+L+C)/4,A3),A2);
A8:=IF(CAPITAL>0,REF(A6,A2),A7);
昨高:IF(A<=CONST(A3+A2),A4,DRAWNULL);
昨低:IF(A<=CONST(A3+A2),A5,DRAWNULL);
赞 (0)