第一部分 副图公式 手机/电脑
CAIHE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
CAIHF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
CAIH10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
CAIH11:=CAIHFREF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(CAIH11 AND COUNT(CAIH11,30)=1,0.5,'主力进'),LINETHICK1,COLORLIMAGENTA;
STICKLINE(CAIH11 AND COUNT(CAIH11,30)=1,0,0.4,1,0),COLORMAGENTA,LINETHICK2;
CAIH12:=(HIGH+LOW+CLOSE)/3;
CAIH13:=(CAIH12-MA(CAIH12,14))/(0.015*AVEDEV(CAIH12,14));
CAIH14:=(CAIH12-MA(CAIH12,70))/(0.015*AVEDEV(CAIH12,70));
CAIH15:=IF(CAIH13>=150 AND CAIH13=150 AND CAIH14<200,10,0);
CAIH16:=IF(CAIH13-200 AND CAIH14-200,-10,CAIH15);
CAIH17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
CAIH18:=100-ABS(CAIH17);
CAIH19:=IF(CAIH180,CAIHE,0);
CAIH1B:=IF(CAIH14>=200 AND CAIH13>=150,15,IF(CAIH14<=-200 AND CAIH1348 AND CAIH1B>60 AND CAIH19REF(CLOSE,1);
主力进:CAIH11 AND COUNT(CAIH11,30)=1;
{卖出公式:主力逃}
CAIHE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
CAIH12:=(HIGH+LOW+CLOSE)/3;
CAIH13:=(CAIH12-MA(CAIH12,14))/(0.015*AVEDEV(CAIH12,14));
CAIH14:=(CAIH12-MA(CAIH12,70))/(0.015*AVEDEV(CAIH12,70));
CAIH15:=IF(CAIH13>=150 AND CAIH13=150 AND CAIH14<200,10,0);
CAIH16:=IF(CAIH13-200 AND CAIH14-200,-10,CAIH15);
CAIH17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
CAIH18:=100-ABS(CAIH17);
CAIH19:=IF(CAIH180,CAIHE,0);
CAIH1B:=IF(CAIH14>=200 AND CAIH13>=150,15,IF(CAIH14<=-200 AND CAIH1348 AND CAIH1B>60 AND CAIH19<100;
主力逃:CAIH1C AND COUNT(CAIH1C,30)=1;
|