通达信中短KDJ指标公式
通达信中短KDJ指标公式
黑马股票{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}
C1: DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,5)/(AMOUNT/VOL/100)/100)),LINETHICK2;
{PARTLINE(C1<REF(C1,1),C1)}
IF(C1<REF(C1,1),C1,DRAWNULL),COLORFF9999,LINETHICK2;
C2: DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,10)/(AMOUNT/VOL/100)/100)),LINETHICK2;
{PARTLINE(C2<REF(C2,1),C2)}
IF(C2<REF(C2,1),C2,DRAWNULL),COLOR00FF00,LINETHICK2;
C3: DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,60)/(AMOUNT/VOL/100)/100)),LINETHICK2;
{PARTLINE(C3<REF(C3,1),C3)}
IF(C3<REF(C3,1),C3,DRAWNULL),COLORFF0000,LINETHICK2;
C4: DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,140)/(AMOUNT/VOL/100)/100)),COLOR0066CC,LINETHICK2;
DD:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
D:DMA(DD,VOL/CAPITAL);
A:D+0.10,,COLOR999999;
B:D-0.10,,COLORFF6633;
AA:(HIGH+LOW+OPEN+2*CLOSE)/5,LINETHICK0;
STICKLINE(CLOSE>1,AA+0.02,AA-0.02,3,0),COLOR0066CC;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K1:=REF(RSV,1);K2:=REF(RSV,2);K:=RSV;K3:=REF(RSV,3);K4:=REF(RSV,4);K5:=REF(RSV,5);
KK80:=3*80-(POW(2/3,1)*K1+POW(2/3,2)*K2+POW(2/3,3)*K3+POW(2/3,4)*K4+3*POW(2/3,5)*K5);
KK50:=3*50-(POW(2/3,1)*K1+POW(2/3,2)*K2+POW(2/3,3)*K3+POW(2/3,4)*K4+3*POW(2/3,5)*K5);
KK20:=3*20-(POW(2/3,1)*K1+POW(2/3,2)*K2+POW(2/3,3)*K3+POW(2/3,4)*K4+3*POW(2/3,5)*K5);
KKK80:=SMA((KK80*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9),3,1);
交叉:=3*SMA(SMA(K,3,1),3,1)-(POW(2/3,1)*K1+POW(2/3,2)*K2+POW(2 /3,3)*K3+POW(2/3,4)*K4+3*POW(2/3,5)*K5);
{股票资源馆-股票公式网站 http://www.lixiangluntan.com}
K转折:=3*SMA(K,3,1)-(POW(2/3,1)*K1+POW(2/3,2)*K2+POW(2/3,3)*K3+POW(2 /3,4)*K4+3*POW(2/3,5)*K5);
K转折价0:=SMA((K转折*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9),3,1);
日交叉0:=SMA((交叉*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9),3,1);
DRAWICON(K转折价0>=KKK80 AND K转折价0>=日交叉0,日交叉0,10);
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}炒股软件
通达信变色拐点主图指标公式
通达信变色拐点主图指标公式