通達信最神奇計算系統(tǒng)買賣點指標公式
通達信指標公式源碼概況:
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2019-02-15 來源:互聯(lián)網(wǎng)
通達信指標公式源碼介紹:
通達信最神奇計算系統(tǒng)買賣點指標公式:
N:=11;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
LC:=REF(C,1);
CCI背:=IF(LLV(CCI,2)>LLV(CCI,7) AND LLV(L,2)<=LLV(L,7) AND HHV(H,10)>MA(CLOSE,60),1,0),COLORWHITE;
A1:=BARSLAST(REF(CROSS("MACD.DIF"(12,26,9),"MACD.DEA"(12,26,9)),1));
B1:=REF(C,A1+1)>C &&
REF("MACD.DIF"(12,26,9),A1+1)<"MACD.DIF"(12,26,9) && CROSS ("MACD.DIF"(12,26,9),"MACD.DEA"(12,26,9));
C1:=BARSLAST(REF(CROSS("MACD.DEA"(12,26,9),"MACD.DIF"(12,26,9)),1));
D1:=REF(C,C1+1)<C AND REF("MACD.DIF"(12,26,9),C1+1)>"MACD.DIF"(12,26,9) AND CROSS ("MACD.DEA"(12,26,9),"MACD.DIF"(12,26,9));
DRAWTEXT(D1,50,'M'),COLORWHITE;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
KL:=CROSS(J,0);
WRSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RL:=CROSS(WRSI,20);
WVR := SUM((IF(CLOSE>OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),26)/SUM((IF(CLOSE<OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),26)*100;
BIAS買:= CROSS(-6,(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100);
BIAS賣:=CROSS(BIAS,6);
買入:= CROSS(-6,(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100);
PSY買:= CROSS(10,PSY(12,1));
VR買:= CROSS(70,WVR);
MID :=MA(CLOSE,20);
LOWER:=MID-2*STD(CLOSE,20);
布林買:=CROSS(CLOSE,LOWER);
WROC:=ROC(12,6);
變動速率買:=CROSS(WROC,0);
TRR:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
PDM:=SUM(IF(HD>0&&HD>LD,HD,0),14);
MDM:=SUM(IF(LD>0&&LD>HD,LD,0),14);
PDI:=PDM*100/TRR;
MDI:=MDM*100/TRR;
趨向買:=CROSS(PDI,MDI);
WRSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
WK:=SMA(WRSV,3,1);
DN:=SMA(WK,3,1);
KD買:=CROSS(WK,DN)&&WK<20;
WMTM:=MTM;
MTM買:=CROSS(WMTM,0);
MTM賣:=CROSS(0,WMTM);
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
LC:=REF(C,1);
CCI背:=IF(LLV(CCI,2)>LLV(CCI,7) AND LLV(L,2)<=LLV(L,7) AND HHV(H,10)>MA(CLOSE,60),1,0),COLORWHITE;
A1:=BARSLAST(REF(CROSS("MACD.DIF"(12,26,9),"MACD.DEA"(12,26,9)),1));
B1:=REF(C,A1+1)>C &&
REF("MACD.DIF"(12,26,9),A1+1)<"MACD.DIF"(12,26,9) && CROSS ("MACD.DIF"(12,26,9),"MACD.DEA"(12,26,9));
C1:=BARSLAST(REF(CROSS("MACD.DEA"(12,26,9),"MACD.DIF"(12,26,9)),1));
D1:=REF(C,C1+1)<C AND REF("MACD.DIF"(12,26,9),C1+1)>"MACD.DIF"(12,26,9) AND CROSS ("MACD.DEA"(12,26,9),"MACD.DIF"(12,26,9));
DRAWTEXT(D1,50,'M'),COLORWHITE;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
KL:=CROSS(J,0);
WRSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RL:=CROSS(WRSI,20);
WVR := SUM((IF(CLOSE>OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),26)/SUM((IF(CLOSE<OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),26)*100;
BIAS買:= CROSS(-6,(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100);
BIAS賣:=CROSS(BIAS,6);
買入:= CROSS(-6,(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100);
PSY買:= CROSS(10,PSY(12,1));
VR買:= CROSS(70,WVR);
MID :=MA(CLOSE,20);
LOWER:=MID-2*STD(CLOSE,20);
布林買:=CROSS(CLOSE,LOWER);
WROC:=ROC(12,6);
變動速率買:=CROSS(WROC,0);
TRR:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
PDM:=SUM(IF(HD>0&&HD>LD,HD,0),14);
MDM:=SUM(IF(LD>0&&LD>HD,LD,0),14);
PDI:=PDM*100/TRR;
MDI:=MDM*100/TRR;
趨向買:=CROSS(PDI,MDI);
WRSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
WK:=SMA(WRSV,3,1);
DN:=SMA(WK,3,1);
KD買:=CROSS(WK,DN)&&WK<20;
WMTM:=MTM;
MTM買:=CROSS(WMTM,0);
MTM賣:=CROSS(0,WMTM);
KH:=CROSS(100,J);
RH:=CROSS(80,WRSI);
UPPER:=MID+2*STD(CLOSE,20);
布林賣:=CROSS(CLOSE,UPPER);
變動速率賣:=CROSS(0,WROC);
MYPSY:=PSY(12,1);
心理線賣:=CROSS(MYPSY,85);
INDEX:=CCI(14);
商品路徑賣:=CROSS(INDEX,100);
VR容量比率賣:=CROSS(WVR,250);
趨向賣:=CROSS(MDI,PDI);
KD賣:=CROSS(DN,WK)&&WK>80;
RH:=CROSS(80,WRSI);
UPPER:=MID+2*STD(CLOSE,20);
布林賣:=CROSS(CLOSE,UPPER);
變動速率賣:=CROSS(0,WROC);
MYPSY:=PSY(12,1);
心理線賣:=CROSS(MYPSY,85);
INDEX:=CCI(14);
商品路徑賣:=CROSS(INDEX,100);
VR容量比率賣:=CROSS(WVR,250);
趨向賣:=CROSS(MDI,PDI);
KD賣:=CROSS(DN,WK)&&WK>80;
STICKLINE(CURRBARSCOUNT=1 ,110,-10,4,0),COLOR333344;
DRAWTEXT(CCI背 AND REF(CCI,1)<-150 AND C>O,100,'C'),COLORYELLOW;
DRAWTEXT(KL,100,'K'),COLORFF00FF;
DRAWTEXT(KD買,90,'KD'),COLORFF00FF;
DRAWTEXT(趨向買,80,' D'),COLORFF00FF;
DRAWTEXT(RL,70,'R'),COLORFF00FF;
DRAWTEXT(布林買,60,' BL'),COLORFF00FF;
DRAWTEXT(B1,50,'M'),COLORFF00FF;
DRAWTEXT(BIAS買,40,' BA'),COLORFF00FF;
DRAWTEXT(PSY買,30,' P'),COLORFF00FF;
DRAWTEXT(MTM買,20,' MT'),COLORFF00FF;
DRAWTEXT(VR買,10,' V'),COLORFF00FF;
DRAWTEXT(變動速率買,0,' RC'),COLORFF00FF;
DRAWTEXT(CCI背 AND REF(CCI,1)<-150 AND C>O,100,'C'),COLORYELLOW;
DRAWTEXT(KL,100,'K'),COLORFF00FF;
DRAWTEXT(KD買,90,'KD'),COLORFF00FF;
DRAWTEXT(趨向買,80,' D'),COLORFF00FF;
DRAWTEXT(RL,70,'R'),COLORFF00FF;
DRAWTEXT(布林買,60,' BL'),COLORFF00FF;
DRAWTEXT(B1,50,'M'),COLORFF00FF;
DRAWTEXT(BIAS買,40,' BA'),COLORFF00FF;
DRAWTEXT(PSY買,30,' P'),COLORFF00FF;
DRAWTEXT(MTM買,20,' MT'),COLORFF00FF;
DRAWTEXT(VR買,10,' V'),COLORFF00FF;
DRAWTEXT(變動速率買,0,' RC'),COLORFF00FF;
DRAWTEXT(商品路徑賣,100,'C'),COLORGREEN;
DRAWTEXT(KH,100,'K'),COLORGREEN;
DRAWTEXT(KD賣,90,'KD'),COLORGREEN;
DRAWTEXT(趨向賣,80,' D'),COLORGREEN;
DRAWTEXT(RH,70,'R'),COLORGREEN;
DRAWTEXT(布林賣,60,'BL'),COLORGREEN;
DRAWTEXT(D1,50,'M'),COLORGREEN;
DRAWTEXT(BIAS賣,40,'BA'),COLORGREEN;
DRAWTEXT(心理線賣,30,' P'),COLORGREEN;
DRAWTEXT(MTM賣,20,' MT'),COLORGREEN;
DRAWTEXT(VR容量比率賣,10,' V'),COLORGREEN;
DRAWTEXT(變動速率賣,0,' RC'),COLORGREEN;
DRAWTEXT(KH,100,'K'),COLORGREEN;
DRAWTEXT(KD賣,90,'KD'),COLORGREEN;
DRAWTEXT(趨向賣,80,' D'),COLORGREEN;
DRAWTEXT(RH,70,'R'),COLORGREEN;
DRAWTEXT(布林賣,60,'BL'),COLORGREEN;
DRAWTEXT(D1,50,'M'),COLORGREEN;
DRAWTEXT(BIAS賣,40,'BA'),COLORGREEN;
DRAWTEXT(心理線賣,30,' P'),COLORGREEN;
DRAWTEXT(MTM賣,20,' MT'),COLORGREEN;
DRAWTEXT(VR容量比率賣,10,' V'),COLORGREEN;
DRAWTEXT(變動速率賣,0,' RC'),COLORGREEN;
STICKLINE(CURRBARSCOUNT=56 ,110,-10,60,0),COLOR333344;
DRAWTEXT(CURRBARSCOUNT=59,100,'C=CCI K=KDJ'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,90,'KD 隨機指標'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,80,'D=DMI 趨向指標'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,70,'R=RSI 相對強弱'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,60,'BL=BOLL 布林指標'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,50,'M=MACD 平滑異同平均'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,40,'BA=BIAS 乖離率指標 '),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,30,'P=PSY 心理線指標 '),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,20,'MT=MTM 動量線指標'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,10,'V=VR 容量比率指標'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,0,'RC=ROC 變動速率指標 '),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,100,'C=CCI K=KDJ'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,90,'KD 隨機指標'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,80,'D=DMI 趨向指標'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,70,'R=RSI 相對強弱'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,60,'BL=BOLL 布林指標'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,50,'M=MACD 平滑異同平均'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,40,'BA=BIAS 乖離率指標 '),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,30,'P=PSY 心理線指標 '),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,20,'MT=MTM 動量線指標'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,10,'V=VR 容量比率指標'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,0,'RC=ROC 變動速率指標 '),COLORGREEN;
通達信最神奇計算系統(tǒng)買賣點指標公式實例圖解:
通達信最神奇計算系統(tǒng)買賣點指標公式
通達信指標相關閱讀