副图公式源码支持 手机/电脑
CAI1:=EMA((C-(LLV(L,25)))/((HHV(H,25))-(LLV(L,25)))*100,5);
CAI2:=CAI1,COLORRED,LINETHICK2;
CAI3:=MA((V-REF(V,1))/REF(V,1),5);
CAI4:=(C-MA(C,24))/MA(C,24)*100;
CAI5:=CAI4*(1+CAI3);
CAI6:=REF(VOL,1);
CAI7:=SMA(MAX(VOL-CAI6,0),6,1)/SMA(ABS(VOL-CAI6),6,1)*100;
CAI8:=CAI5>REF(CAI5,1) AND CAI2<REF(CAI2,1) AND CAI7>REF(CAI7,1);
CAI9:=CAI5<REF(CAI5,1) AND CAI2>REF(CAI2,1) AND CAI7>REF(CAI7,1);
CAI10:=CAI5>REF(CAI5,1) AND CAI2<REF(CAI2,1) AND CAI7<REF(CAI7,1);
CAI11:=CAI5<REF(CAI5,1) AND CAI2>REF(CAI2,1) AND CAI7<REF(CAI7,1);
CAI12:=CAI5>REF(CAI5,1);
CAI13:=CAI5<REF(CAI5,1);
CAI14:=CAI2<REF(CAI2,1);
CAI15:=CAI2>REF(CAI2,1);
CAI16:=CAI8 OR CAI10;
CAI17:=CAI9 OR CAI11;
CAI18:=CAI13 AND CAI14;
CAI19:=CAI16 OR CAI18;
CAI20:=CAI12 AND CAI15;
CAI21:=LAST(CAI19,7,1) AND CAI20,COLORRED;
CAI22:=CROSS(CAI21,CAI19) AND CAI20<2.1 AND C>O;
STICKLINE(CAI22,50,0,4,0),COLOR0000FF;
均价:3*SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1),3,1),COLORLIBLUE,LINETHICK2;
关注:IF(均价<=8,30,0),COLORLIRED,LINETHICK2;
高位:90,DOTLINE,COLORGREEN;
平衡:50,DOTLINE,COLORYELLOW;
区间:20,DOTLINE,COLORLIGRAY;
底位线:5,DOTLINE,COLORRED;
选股公式源码
{选股公式一:红柱信号}
CAI1:=EMA((C-(LLV(L,25)))/((HHV(H,25))-(LLV(L,25)))*100,5);
CAI2:=CAI1,COLORRED,LINETHICK2;
CAI3:=MA((V-REF(V,1))/REF(V,1),5);
CAI4:=(C-MA(C,24))/MA(C,24)*100;
CAI5:=CAI4*(1+CAI3);
CAI6:=REF(VOL,1);
CAI7:=SMA(MAX(VOL-CAI6,0),6,1)/SMA(ABS(VOL-CAI6),6,1)*100;
CAI8:=CAI5>REF(CAI5,1) AND CAI2<REF(CAI2,1) AND CAI7>REF(CAI7,1);
CAI9:=CAI5<REF(CAI5,1) AND CAI2>REF(CAI2,1) AND CAI7>REF(CAI7,1);
CAI10:=CAI5>REF(CAI5,1) AND CAI2<REF(CAI2,1) AND CAI7<REF(CAI7,1);
CAI11:=CAI5<REF(CAI5,1) AND CAI2>REF(CAI2,1) AND CAI7<REF(CAI7,1);
CAI12:=CAI5>REF(CAI5,1);
CAI13:=CAI5<REF(CAI5,1);
CAI14:=CAI2<REF(CAI2,1);
CAI15:=CAI2>REF(CAI2,1);
CAI16:=CAI8 OR CAI10;
CAI17:=CAI9 OR CAI11;
CAI18:=CAI13 AND CAI14;
CAI19:=CAI16 OR CAI18;
CAI20:=CAI12 AND CAI15;
CAI21:=LAST(CAI19,7,1) AND CAI20,COLORRED;
CAI22:=CROSS(CAI21,CAI19) AND CAI20<2.1 AND C>O;
红柱信号:CAI22;
{选股公式二:关注}
CAI1:=EMA((C-(LLV(L,25)))/((HHV(H,25))-(LLV(L,25)))*100,5);
CAI2:=CAI1,COLORRED,LINETHICK2;
CAI3:=MA((V-REF(V,1))/REF(V,1),5);
均价:=3*SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1),3,1),COLORLIBLUE,LINETHICK2;
关注:均价<=8,COLORLIRED,LINETHICK2;
|