通达信分时底吸 副图/预警源码 大智慧
2016-11-06 20:27:00来源:本站整理浏览:161
均价:=SUM(AMOUNT,0)/SUM(VOL,0)/100;
LL:=C<REF(C,1) AND C/均价<(1-0.008);
LL1:=CROSS(SUM(LL,0),0.5);
BB1:=SUM(LL1,0)*CROSS(COUNT(C>REF(C,1),BARSLAST(LL1)),0.5);
Y1:=BARSLAST(BB1);
底1:=REF(C,Y1+1);
LL2:=CROSS(SUM(LL AND C<底1*0.99,0),0.5);
BB2:=SUM(LL2,0)*CROSS(COUNT(C>REF(C,1),BARSLAST(LL2)),0.5);
低吸:BB1 OR BB2 ;