以下是通达信指标公式源码追踪主图源码和截图
通达信指标公式源码趋势追踪主图源码:
V1:=DMA((((HIGH+LOW)+(CLOSE*2))/4),0.9);
HY1:=REF(EMA(V1,3),1);
多空趋势:=MA((CLOSE-HY1)*10,2);
操盘:STICKLINE(多空趋势 =0AND多空趋势 =REF(多空趋势,1),0,多空趋势,4,0),COLORYELLOW;
减仓:STICKLINE(多空趋势 =0AND多空趋势 REF(多空趋势,1),0,多空趋势,4,0),COLORYELLOW;
反弹:STICKLINE(多空趋势 0AND多空趋势 =REF(多空趋势,1),0,多空趋势,4,0),COLORGREEN;
寻底:STICKLINE(多空趋势 0AND多空趋势 REF(多空趋势,1),0,多空趋势,4,0),COLORGREEN;
0,POINTDOT,COLORWHITE;
DRAWTEXT_FIX(1,0.06,0,0,'红K线进,蓝K线出!'),COLOR00FFFF;
{M5:MA(C,5),COLORMAGENTA;}
M20:MA(C,20),COLORYELLOW,LINETHICK1;
DRAWICON(CROSS(C,M20),M20-0.1,1);
DRAWICON(CROSS(M20,C),M20+0.2,2);
{}
STICKLINE(CANDC O,O,C,-1,1),COLORRED;
STICKLINE(CANDC O,H,C,0,0),COLORRED;
STICKLINE(CANDC O,O,L,0,0),COLORRED;
STICKLINE(CANDC =O,O,C,-1,0),COLORRED;
STICKLINE(CANDC =O,H,O,0,0),COLORRED;
STICKLINE(CANDC =O,C,L,0,0),COLORRED;
STICKLINE(C M20ANDC 0,O,C,-1,1),COLORCYAN;
STICKLINE(C M20ANDC 0,H,C,0,0),COLORCYAN;
STICKLINE(C M20ANDC 0,O,L,0,0),COLORCYAN;
STICKLINE(C M20ANDC =O,O,C,-1,0),COLORCYAN;
STICKLINE(C M20ANDC =O,H,O,0,0),COLORCYAN;
STICKLINE(C M20ANDC =O,C,L,0,0),COLORCYAN;
{};
BDGD:=C=HHV(C,13);
GDSJ:=BARSLAST(FILTER(CROSS(0.8,BDGD),2))+1;
高点:REF(C,GDSJ),COLORFF00FF,POINTDOT;
:CROSS(C,REF(高点,1)),COLOR00FFFF,POINTDOT,NODRAW;
STICKLINE(GDSJ =6,高点,高点,3,0),COLORFF00FF;
{}
STICKLINE(BARSLAST(CURRBARSCOUNT=3) =0,REF(C,BARSLAST(CURRBARSCOUNT=3)),REF(C,BARSLAST(CURRBARSCOUNT=3)),6,-1),COLORYELLOW;
AAA:=BARSLAST(DATE!=REF(DATE,1));
前天收:=REF(C,AAA+2)COLORWHITE;
指标王G:Ema(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);
指标王H:EMA(0.667*REF(指标王G,1)+0.333*指标王G,2);
DRAWBAND(指标王G,RGB(250,10,10),指标王H,RGB(10,200,10));
指标王A:EMA(EMA(((SLOPE(EMA(".K"(18,3,3)+EMA(SLOPE("kdJ.K"(18,3,3),13),5)*5,21)*1.2,2)*5)+EMA("KDJ.K"(18,3,3)+EMA(SLOPE("KDJ.K"(18,3,3),13),5)*5,21)*1.2),3),3),COLORWHITE,LINETHICK1;
指标王B:IF(指标王A REF(指标王A,1),指标王A,DRAWNULL),COLORRED,LINETHICK3;
指标王D:=ATAN((EMA(C,5)/REF(EMA(C,5),1)-1)*100)*180/3.1416;
指标王E:=IF(指标王D 0,指标王D,指标王D),COLORFFFFFF,LINETHICK2;
指标王F:=指标王E REF(指标王E,1)AND指标王E =-40;
DRAWICON(指标王F,指标王A*0.97,1);
指标王公式:20,COLORRED;
DRAWICON(crOSS(指标王G,指标王H)AND指标王G 30,20,7);
通达信指标公式源码趋势追踪主图截图