挂盘专用指标,预先埋伏,夺得先机,波动较大时,随时调整卦盘点。
DI3:=DYNAINFO(3);
DI11:=DYNAINFO(11);
DI17:=DYNAINFO(17);
DI37:=DYNAINFO(37);
HQV1:=(COUNT(C 0,FROMOPEN)-1-MOD(COUNT(C 0,FROMOPEN)-1,10))/10+1;
HQV2:=LOG(SMA(SUM(DI37,FROMOPEN)*2400000/HQV1,3,1))-1;
LRV1:=IF(DI17 10,35,IF(DI17 5,25,IF(DI17 2.5,17,IF(DI17 1.5,11,IF(DI17 0.8,7,5)))));
LRV2:=IF(HQV2 4,36,IF(HQV2 3,245,IF(HQV2 2,15,IF(HQV2 1,9,6))));
LRV3:=(LRV1+LRV2)/2;
LRV4:=MAX(10*SQRT(ABS(DYNAINFO(17)))*SQRT(ABS(HQV2)),LRV3);
STICKLINE(CURRBARSCOUNT=5,MIN(ZTPRICE(REF(DI3,1),0.1),DI11*(1+LRV4/1000)),MAX(DTPRICE(REF(DI3,1),0.1),DI11*(1-LRV4/1000)),5,0),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=5,MIN(ZTPRICE(REF(DI3,1),0.1),DI11*(1+LRV3/1000)),MAX(DTPRICE(REF(DI3,1),0.1),DI11*(1-LRV3/1000)),5,0),COLORRED;