通达信一支三压看盘主图及选股指标公式
2020/9/8 17:57:48
LT:=FINDLOWBARS(L,0,30,1);
HT:=FINDHIGHBARS(H,LT=0,60,1);
LL:=REF(L,LT);
HH:=REF(H,HT);
NOTEXT1:DRAWLINE(HT=0,HH,LT=0,HH,1),COLORYELLOW;
NOTEXT2:DRAWLINE(HT=0,HH,LT=0,LL,1),COLORYELLOW;
NOTEXT3:DRAWLINE(HT=0,HH,LT=0,(HH-LL)*0.382+LL,1),DOTLINE,COLORLIMAGENTA;
NOTEXT4:DRAWLINE(HT=0,HH,LT=0,(HH-LL)*0.618+LL,1),DOTLINE,COLORLIBLUE;
TA:=BARSLAST(REF(NOTEXT1,1)=DRAWNULL AND HT=0);
支撑线:REF(L,LT),COLORYELLOW,NODRAW;
阻力1:(HH-LL)*0.382+LL,COLORLIMAGENTA,NODRAW;
阻力2:(HH-LL)*0.618+LL,COLORLIBLUE, NODRAW;
XG:=REF(LT=0,1) AND C>O AND C>REF(C,1);
STICKLINE(XG,C,O,1.8,0),COLORWHITE;
STICKLINE(XG,H,L,0,0),COLORWHITE;
DRAWICON(XG,L*0.94,1);
DRAWTEXT(TA=0,NOTEXT1*1.03,VARCAT(VARCAT('最高价:',VAR2STR(HH,2)),'元'))COLORYELLOW;
{
选股公式:
LT:=FINDLOWBARS(L,0,30,1);
HT:=FINDHIGHBARS(H,LT=0,60,1);
LL:=REF(L,LT);
HH:=REF(H,HT);
NOTEXT1:=DRAWLINE(HT=0,HH,LT=0,HH,1);
NOTEXT4:=DRAWLINE(HT=0,HH,LT=0,(HH-LL)*0.618+LL,1);
TJ:=EVERY(C/NOTEXT4<1.03,HT);
XG:REF(LT=0,1) AND C>O AND C>REF(C,1);
}
看 股吧公式 www.ka nguba.com
其它股票公式列表