通达信反K布林公式源码
-
相关简介:通达信指标:反K布林 C1:=REVERSE(C); DRAWKLINE(-LOW, -OPEN, -HIGH, -CLOSE); MID : MA(C1,26); UPPER: MID + 2*STD(C1,26); LOWER: MID - 2*STD(C1,26); MA15:MA(C1,15); IF(MA15REF(MA15,1),MA15,DRAWNULL),LINETHICK3,COLORMAGENTA; AY:MA(C1,4); A3:=REF(AY,10)=HHV(AY,2*1
-
文章来源:股海网作者:股海网发布时间:2019-03-15浏览次数:
通达信指标:反K布林
C1:=REVERSE(C);
DRAWKLINE(-LOW, -OPEN, -HIGH, -CLOSE);
MID : MA(C1,26);
UPPER: MID + 2*STD(C1,26);
LOWER: MID - 2*STD(C1,26);
MA15:MA(C1,15);
IF(MA15>REF(MA15,1),MA15,DRAWNULL),LINETHICK3,COLORMAGENTA;
AY:MA(C1,4);
A3:=REF(AY,10)=HHV(AY,2*10+1); B3:=FILTER(A3,10);
C3:=BACKSET(B3,10+1); AD:=FILTER(C3,10);
A4:=REF(AY,10)=LLV(AY,2*10+1); B4:=FILTER(A4,10);
C4:=BACKSET(B4,10+1); CD:=FILTER(C4,10);
E:=REF(AY,BARSLAST(AD)); F:=REF(AY,BARSLAST(CD));
T3:=BARSLAST(AD)<BARSLAST(CD) AND NOT(AD) ;
T4:=BARSLAST(AD)>BARSLAST(CD) AND NOT(CD);
IF(T3,E,E),COLORFF00FF,POINTDOT;
STICKLINE(T3,E,E,10,0),COLORFF00FF;