通达信《角度通道》指标公式通达信公式
2017-08-29 来源:网络 编辑:翔博软件
CA:=MA(CLOSE,5); CJ5:=CA*102/100; HA:=MA(H,5); HJ5:=HA*102/100; TGH1:=IF(COHREF(C,1),ATAN(HJ5-REF(CJ5,1)),0); TGH2:=IF(COHREF(C,1),-ATAN(REF(CJ5,1)-HJ5),0); TGH3:=I
CA:=MA(CLOSE,5);
CJ5:=CA*102/100;
HA:=MA(H,5);
HJ5:=HA*102/100;
TGH1:=IF(C>O&&H>REF(C,1),ATAN(HJ5-REF(CJ5,1)),0);
TGH2:=IF(C>O&&H<REF(C,1),-ATAN(REF(CJ5,1)-HJ5),0);
TGH3:=IF(C>O&&H=REF(C,1),0,0);
LGH1:=IF(C<O&&H>REF(C,1),ATAN(HJ5-REF(CJ5,1)),0);
LGH2:=IF(C<O&&H<REF(C,1),-ATAN(REF(CJ5,1)-HJ5),0);
LGH3:=IF(C<O&&H=REF(C,1),0,0);
GGH:=(TGH1+TGH2+TGH3+LGH1+LGH2+LGH3);
突破高点:MA(REF(GGH,1),26),COLORWHITE;
AA:=MA((2*CLOSE+HIGH+LOW)/4,9);
通道1:=AA*102/100;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(C,26))/MA(C,26);
DD:=DMA(CLOSE,CC);
通道2:=(1+7/100)*DD;
TA2:MA(ATAN((通道2-REF(通道2,1))),3),COLORBLUE;
T1:=ATAN((通道1-REF(通道1,1)));
T2:=ATAN((通道1-REF(通道1,2)));
T3:=ATAN((通道1-REF(通道1,3)));
T4:=ATAN((通道1-REF(通道1,4)));
T5:=ATAN((通道1-REF(通道1,5)));
T6:=ATAN((通道1-REF(通道1,6)));
T7:=ATAN((通道1-REF(通道1,7)));
T8:=ATAN((通道1-REF(通道1,8)));
T9:=ATAN((通道1-REF(通道1,9)));
T10:=ATAN((通道1-REF(通道1,10)));
TJD:MA((((T1+T2+T3+T4+T5+T6+T7+T8+T9+T10)/10)),3),COLORYELLOW,LINETHICK2;
TT1:=ATAN((通道2-REF(通道2,1)));
TT2:=(ATAN((通道2-REF(通道2,2))));
TT3:=(ATAN((通道2-REF(通道2,3))));
TT4:=(ATAN((通道2-REF(通道2,4))));
TT5:=(ATAN((通道2-REF(通道2,5))));
TT6:=(ATAN((通道2-REF(通道2,6))));
TT7:=(ATAN((通道2-REF(通道2,7))));
TT8:=(ATAN((通道2-REF(通道2,8))));
TT9:=(ATAN((通道2-REF(通道2,9))));
TT10:=(ATAN((通道2-REF(通道2,10))));
TJD2:MA((((TT1+TT2+TT3+TT4+TT5+TT6+TT7+TT8+TT9+TT10)/10)),3),COLORRED;