通达信彩虹主图指标公式
2020/6/7 18:14:26
n:=13;
K15:EMA(CLOSE,15) ,COLORMAGENTA,LINETHICK2;
K20:EMA(CLOSE,20) ,COLORRED;
K25:EMA(CLOSE,25) ,COLORRED;
K30:EMA(CLOSE,30) ,COLORRED;
K35:EMA(CLOSE,35) ,COLORYELLOW;
K40:EMA(CLOSE,40) ,COLORYELLOW;
K45:EMA(CLOSE,45) ,COLORGREEN;
K50:EMA(CLOSE,50) ,COLORGREEN;
K55:EMA(CLOSE,55) ,COLORGREEN;
K60:EMA(CLOSE,60) ,COLORFFFF00,LINETHICK2;
趋势线:EXPMA(C,120),COLORYELLOW,LINETHICK2;
HH:=HHV(HIGH,5);
LL:=LLV(LOW,5);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
STICKLINE((HH1 < LL1),CLOSE,OPEN,2,0),COLORRED;
STICKLINE((HH1 < LL1),HIGH,LOW,0,0),COLORRED;
STICKLINE((HH1 > LL1),CLOSE,OPEN,2,0),COLORFF0000;
STICKLINE((HH1 > LL1),HIGH,LOW,0,0),COLORFF0000;
DRAWICON(CROSS(HH1,LL1),HH,2);
DRAWICON(CROSS(LL1,HH1),LL,1);
DRAWTEXT(FILTER(((HH1 < REF(HH1,1)) AND (HH1 < LL1)),90),LOW,'♂加'),COLORYELLOW;
DRAWTEXT(FILTER(((LL1 < REF(LL1,1)) AND (HH1 > LL1)),90),HIGH,'♀减'),COLORGREEN;
BOLL:MA(CLOSE,N),NODRAW;
UPPER:BOLL+2*STD(CLOSE,N),COLORWHITE,LINETHICK1;
LOWER:BOLL-2*STD(CLOSE,N),COLORWHITE,LINETHICK1;
看 股吧公式 www.kan guba.com
其它股票公式列表