副图公式源码支持: 手机/电脑
TYP:=IF((H>C AND C>O) OR (H>O AND O>=C),C,H)+IF((L<C AND C<O) OR(L<O AND O<=C),CLOSE,LOW)/3;
CCI:EMA((TYP-MA(TYP,28))/(0.015*AVEDEV(TYP,28)),2),COLORWHITE;
粉色低吸:EVERY(CCI<-150 AND CCI<REF(CCI,1),3),NODRAW;
STICKLINE(CCI<-150,CCI,-150,2,0),COLORFF80FF;
STICKLINE(C>0,-150,-151,2,0),COLORBLUE;
危险线:222,COLORGREEN;
拉升线:111,COLORRED;
低涨线:-89,COLORYELLOW;
MA5:MA(CCI,5),COLORCD7F32;
DRAWICON(CROSS(CCI,MA5) AND MA5<-90,MA5,9);
DRAWICON(CROSS(CCI,MA5) AND REF(CCI,1)<-150,MA5,38);
C5:=IF(CCI>REF(CCI,1),0,1);
DRAWICON(C5,MA5,39);
选股公式源码
{选股公式一:红三角图标}
TYP:=IF((H>C AND C>O) OR (H>O AND O>=C),C,H)+IF((L<C AND C<O) OR(L<O AND O<=C),CLOSE,LOW)/3;
CCI:=EMA((TYP-MA(TYP,28))/(0.015*AVEDEV(TYP,28)),2),COLORWHITE;
{粉色低吸:EVERY(CCI<-150 AND CCI<REF(CCI,1),3),NODRAW;
STICKLINE(CCI<-150,CCI,-150,2,0),COLORFF80FF;
STICKLINE(C>0,-150,-151,2,0),COLORBLUE;
危险线:222,COLORGREEN;
拉升线:111,COLORRED;
低涨线:-89,COLORYELLOW;}
MA5:=MA(CCI,5),COLORCD7F32;
红三角图标:CROSS(CCI,MA5) AND REF(CCI,1)<-150;
{选股公式二:钱袋图标}
TYP:=IF((H>C AND C>O) OR (H>O AND O>=C),C,H)+IF((L<C AND C<O) OR(L<O AND O<=C),CLOSE,LOW)/3;
CCI:=EMA((TYP-MA(TYP,28))/(0.015*AVEDEV(TYP,28)),2),COLORWHITE;
{粉色低吸:EVERY(CCI<-150 AND CCI<REF(CCI,1),3),NODRAW;
危险线:222,COLORGREEN;
拉升线:111,COLORRED;
低涨线:-89,COLORYELLOW;}
MA5:=MA(CCI,5),COLORCD7F32;
钱袋图标:CROSS(CCI,MA5) AND MA5<-90; |