高档通达信指标公式主图通达信:=REF(...
高档通达信指标公式主图
通达信:=REF(CLOSE,1);
通达信主图指标:=SMA(MAX(CLOSE-通达信,0),6,1)/SMA(ABS(CLOSE-通达信),6,1)*100;
高档通达信:=SMA(MAX(CLOSE-通达信,0),12,1)/SMA(ABS(CLOSE-通达信),12,1)*100;
主图指标公式:=FORCAST(C,9);
ooi1:=LLV(FORCAST(C,9),2);
X主图指标公式:=主图*100-ooi1*100;
DRAWBAND(主图,RGB(255,255,0),ooi1,RGB(0,255,0));
D:IF(X主图=0,ooi1,DRAWNULL),COLORGREEN;
bss1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
bss2A:=SMA(bss1A,9,1)+100;
bss3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
bss4A:=SMA(bss3A,3,1);
bss5A:=SMA(bss4A,3,1)+100;
bss6A:=bss5A-bss2A;
bss1:=IF(bss6A>21,bss6A-21,0);
tte1:=(X主图指标公式=0 AND bss1<=REF(bss1,1));
tte2:=(X主图指标公式=0 AND bss1>REF(bss1,1));
tte3:=(X主图指标公式>0 AND bss1>REF(bss1,1));
tte4:=(X主图指标公式>0 AND bss1<=REF(bss1,1));
tte5:=通达信主图指标>=高档通达信;
tte6:=通达信主图指标<高档通达信;
STICKLINE(tte1,H,L,0,1),COLORGREEN;
STICKLINE(tte1 AND C>O,O,C,3,1),COLORGREEN;
STICKLINE(tte1 AND C<O,C,O,3,0),COLORGREEN;
STICKLINE(tte2 AND tte5,H,L,0,1),COLORWHITE;
STICKLINE(tte2 AND tte5 AND C>O,O,C,3,1),COLORWHITE;
STICKLINE(tte2 AND tte5 AND C<O,C,O,3,0),COLORWHITE;
STICKLINE(tte2 AND tte6,H,L,0,1),COLORGREEN;
STICKLINE(tte2 AND tte6 AND C>O,O,C,3,1),COLORGREEN;
STICKLINE(tte2 AND tte6 AND C<O,C,O,3,0),COLORGREEN;
STICKLINE(tte3,H,L,0,1),COLORRED;
STICKLINE(tte3 AND C>O,O,C,3,1),COLORRED;
STICKLINE(tte3 AND C<O,C,O,3,0),COLORRED;
STICKLINE(tte4 AND tte5,H,L,0,1),COLORWHITE;
STICKLINE(tte4 AND tte5 AND C>O,O,C,3,1),COLORWHITE;
STICKLINE(tte4 AND tte5 AND C<O,C,O,3,0),COLORWHITE;
STICKLINE(tte4 AND tte6,H,L,0,1),COLORGREEN;
STICKLINE(tte4 AND tte6 AND C>O,O,C,3,1),COLORGREEN;
STICKLINE(tte4 AND tte6 AND C<O,C,O,3,0),COLORGREEN;
STICKLINE(tte3 AND C<ooi1,H,L,0,1),COLORWHITE;
STICKLINE(tte3 AND C>O AND C<ooi1,O,C,3,1),COLORWHITE;
STICKLINE(tte3 AND C<O AND C<ooi1,C,O,3,0),COLORWHITE;
tte7:=MA(CLOSE,6),COLOR0000FF,LINETHICK2;
tte8:MA(CLOSE,33),COLORCYAN,LINETHICK2;
tte9:IF(tte7>=tte8,tte8,DRAWNULL),COLORMAGENTA,LINETHICK2;
tttr:IF(tte8>=tte7,tte8,DRAWNULL),COLORBLUE,LINETHICK2;
MA250:MA(C,250),LINETHICK2;