通达信明白K线主图指标公式
FO:=reverse(Open);
FL:=reverse(HIGH);
FH:=reverse(LOW);
FC:=reverse(close);
分水岭:ref(ema(fc,10),1),linethick2,colorwhite;
短趋势:ema(fc,3),coloryellow;
趋势:ema(fc,30),colorred;
中趋势:ema(fC,60),colorblue;
长趋势:ema(fC,120),colorgreen;
{以下为3DK线}
STICKLINE(Fc>Fo,FH,Fl,0.3,0),color131ffd;
STICKLINE((Fc> FO),Fc,Fo,0.1,0),color131FFD;
STICKLINE(Fc>Fo,Fc,Fo,6.3,0),color131ffd;
STICKLINE(Fc>Fo,Fc,Fo,4.5,0),color5454FF;
STICKLINE(Fc>Fo,Fc,Fo,3,0),color9393FF;
STICKLINE(Fc>Fo,Fc,Fo,1.5,0),coloradadFF;
STICKLINE(Fc>Fo,Fc,Fo,0.9,0),colorEFFFFF;
stickline(Fc=Fo and Fc>=ref(Fc,1),Fh,Fl,0.3,0),color131ffd;
stickline(Fc=Fo and Fc>=ref(Fc,1),Fc,Fo,5,1),color131ffd;
STICKLINE(Fc<Fo,FH,Fl,0.3,0),colorF39D0E;
STICKLINE(Fc<FO,Fc,Fo,0.1,0),colorF39D0E;
STICKLINE(Fc<Fo,Fc,Fo,6.3,0),colorF39D0E;
STICKLINE(Fc<Fo,Fc,Fo,4.5,0),colorF5B141;
STICKLINE(Fc<Fo,Fc,Fo,3,0),colorF8C46D;
STICKLINE(Fc<Fo,Fc,Fo,1.5,0),colorFCE7C2;
STICKLINE(Fc<Fo,Fc,Fo,0.9,0),colorFDF1DB;
stickline(Fc=Fo and Fc<ref(Fc,1),Fh,Fl,0.3,0),colorF39D0E;
stickline(Fc=Fo and Fc<ref(Fc,1),Fc,Fo,5,1),colorF39D0E;
大智慧反也好K线指标公式的选股公式