通达信阳光招财手指标公式
通达信无名主图指标公式
通达信阳光招财手指标公式:
{凤凰波段倒仓}
昨收:DYNAINFO(3),COLORYELLOW,LINETHICK2;{将括号中3改为11则为今日均价,
通达信阳吃阴线选股指标公式
那么此图即可省略分时振荡图}
S2:=SMA(C,3,1);
S6:=SMA(C,5,1);
DK:=16*(S2-S6);
stICKLINE(DK>0,昨收,昨收+DK,0,0),COLORYELLOW;
STICKLINE(DK<0,昨收,昨收+DK,0,0),COLORGREEN,COLORGRAY;
STICKLINE(FILTER(BB>70,3),昨收,昨收+DK,0.3,0),COLORBLUE;
MAV:=(2*C+H+L)/4;
强度: EMA(MAV,9)*0.8+1,POINTDOT,LINETHICK5,COLORFF00FF;
趋势线:昨收+DK,COLORRED,LINETHICK2;
转暖:IF(趋势线>REF(趋势线,1),趋势线,DRAWNULL),COLORRED,LINETHICK1;
转凉:IF(趋势线<REF(趋势线,1),趋势线,DRAWNULL),COLORGREEN,LINETHICK1;
{GREEN}
STICKLINE(OPEN>=CLOSE ,H ,L,0,0 ),COLORFF7700;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3,0),COLORFF7700;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.2,0),COLORFF9900;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.5,0),COLORFFBB00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0.5,0),COLORCYAN;
{RED}
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR000099;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0),COLOR0000FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.5,0),COLORCC66FF;
STICKLINE(CLOSE>OPEN,H,L,0,0),COLORRED;
{抄底2}
抄底:=3*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1)) - 2*(SMA(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1));
STICKLINE(crOSS(抄底,3),(L+H)/2,昨收+0.9,1.5,0),COLORYELLOW,LINETHICK2;{可直接做抄底选股公式}
{箱体}
颈线:MA(REF(HHV(C,30),1),2),NODRAW,COLORBLUE;
底线:MA(REF(LLV(C,30),1),2),NODRAW,COLORWHITE;
支撑:(REF(H,1)+REF(L,1))/2,NODRAW,COLORFF00FF;{可加在其他主副图,要显示线,去掉NODRAW即可}
{凤凰金叉}
{JINCHA}
XXX:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(XXX,3,1);
D:=SMA(K,3,1);
DRAWTEXT(CROSS(K,D) AND CROSS(macd.DIF,MacD.DEA),L*0.99,'Ψ'),COLORYELLOW;{可单独做金叉选股公式};
O1:=SUM(EMA((CLOSE+LOW)/2,1)/3,3),COLOR00FFFF,LINETHICK1;
O2:=EMA(O1,3),COLORFF00FF,LINETHICK1;
O3:=EMA(O2,3),COLOR00FF00,LINETHICK1;
DRAWICON(CROSS(O1,O2) AND MA(C,5) > REF(MA(C,5),1),L*0.95,5);
DRAWICON(CROSS(C,O3) AND MA(C,5) > REF(MA(C,5),1),L*0.90,7);
通达信MACD分时主图修订版指标公式