通達信運到財就到波段操盤指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 大勢
- 畫線方法: 主圖
- 日期:2018-12-24 來源:互聯(lián)網(wǎng)
通達信運到財就到波段操盤指標公式:
LT:=100;
LU:=0;
LV:=38.2;
LA:=REF(CLOSE,1);
LB:=((SMA(MAX((CLOSE - LA),0),5,1) / SMA(ABS((CLOSE - LA)),5,1)) * 100);
LC:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
LE:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
LF:=SUM(IF(((LC > 0) AND (LC > LD)),LC,0),10);
LG:=SUM(IF(((LD > 0) AND (LD > LC)),LD,0),10);
LH:=((LF * 100) / LE);
LI:=((LG * 100) / LE);
LJ:=MA(((ABS((LI - LH)) / (LI + LH)) * 100),5);
AV:=(LB + LJ);
LK:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
LL:=(LB - LK);
LM:=(AV + LL);
LO:=((((2 * CLOSE) + HIGH) + LOW) / 4);
LP:=LLV(LOW,34);
LQ:=HHV(HIGH,34);
LR:=EMA((((LO - LP) / (LQ - LP)) * 100),13);
LS:=EMA(((0.667 * REF(LR,1)) + (0.333 * LR)),2);
向?qū)Ь:=LLV(LM,1);
STICKLINE((向?qū)Ь>225),95,90,4,1),COLORFFCC00;
STICKLINE((向?qū)Ь>235),100,95,4,1),COLORRED;
STICKLINE(CROSS(235,向?qū)Ь),100,90,4,1),COLOR00FF00;
STICKLINE((LM<(0-1)),0,5,4,1),COLOR00FF00;
STICKLINE((LM<(0-5)),5,10,4,1),COLORYELLOW;
STICKLINE(CROSS(向?qū)Ь,(0-3)),0,10,4,1),COLORRED;
STICKLINE(((LR-LS)>0),LR,LS,16,0),COLORRED;
STICKLINE(((LR-LS)<0),LR,LS,16,0),COLORFFCC66;
P1:=5;
P2:=4;
VARA:=LLV(LOW,P1);
VARB:=HHV(HIGH,P1);
K: EMA((CLOSE-VARA)/(VARB-VARA)*100,P2),COLORYELLOW;
D: EMA(0.667*REF(K,1)+0.333*K,2),COLORWHITE;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
準備入倉:IF(FILTER(YXF=1,5),20,-10),;
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖離:=MA(BIAS,3);
抄底:IF(乖離<-12 AND 乖離>=-18,-4,0), COLORCYAN,LINETHICK1;
STICKLINE(乖離<-12 AND 乖離>=-18,2,0,6,0) , COLORCYAN;
抄底二:IF(乖離<-18,3,0),COLORFF35FF,LINETHICK1;
STICKLINE(乖離<-18,3,0,6,0),COLORFF35FF;
抄底三:IF(乖離<-6,5,0),COLORRED,LINETHICK1;
STICKLINE(乖離<-6,5,3,2,1),COLORRED;
抄底四:IF(乖離<-4.5,0,0),COLOR00FFFF,LINETHICK1;
STICKLINE(乖離<-4.5,0,1,3,1),COLOR00FFFF;
通達信運到財就到波段操盤指標公式實例圖解:
通達信運到財就到波段操盤指標公式