通達信乘風(fēng)V神成交量指標公式
通達信指標公式源碼概況:
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 成交量
- 畫線方法: 副圖
- 日期:2018-12-17 來源:互聯(lián)網(wǎng)
通達信指標公式源碼介紹:
通達信乘風(fēng)V神成交量指標公式:含有未來函數(shù)
換手:IF(CAPITAL>0,V/CAPITAL*100,V),LINETHICK0;
HS:=換手;
HLP:=SMA(WINNER(C)*100,3,1),COLOR2588FF,LINETHICK0;
NN:=250;
HH:=HHV(V,NN);
LL:=LLV(V,NN);
最高:=HH;
最低:=LL;
RCC:=最高*0.9-(最高-最低)*0.5;
RHL:=RCC;
HLMAX:=MAX(最高,最低);
HLMIN:=MIN(最高,最低);
HLMN1:=(HLMAX+HLMIN)/2;
HLMN2:=HLMAX-HLMIN;
HLMN3:=(100-0)/2*1.3;
HLMN4:=(100-0)/1*1.3;
限制顯示K線面積:=1;
DRAWBAND(((100-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,RGB(55,55,55),((80-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,DRAWNULL);
DRAWBAND(((HLP-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,RGB(150,100,150),((80-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,DRAWNULL);
DRAWBAND(((25-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,RGB(55,55,55),((0-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,DRAWNULL);
((100-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR333333;
((80-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR333333;
((50-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR888888;
((25-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR333333;
{最佳買入時機}
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);
最佳買入:=(AV + NEWVOL);
STICKLINE(CROSS(最佳買入,0),((85-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,((100- HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,2.8,0),COLORRED;
趨勢線:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2,COLORRED;
準備:IF(趨勢線<=5,((65-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,((100-HLMN3)*HLMN2 /HLMN4+HLMN1)+RHL),COLORFFFFFF;
VARA2:=LLV(MA(LOW,3),3);
VARA3:=HHV(MA(HIGH,3),3);
KK:=EMA((CLOSE-VARA2)/(VARA3-VARA2)*100,4)*0.7+20,COLORFF00FF,LINETHICK2;
DD:=EMA(0.667*REF(KK,1)+0.333*KK,2)*0.7+20,COLORFFFF00;
KK2:=EMA(ABS(VARA2-CLOSE)/ABS(VARA2-VARA3)*100,4)*0.7+20;
DD2:=EMA(0.667*REF(KK2,1)+0.333*KK2,2)*0.7+20;
提示:IF((KK2-KK)*2.5>35,((75-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,((100- HLMN3)*HLMN2/HLMN4+HLMN1)+RHL),LINETHICK2,COLORFF00FF;
HS:=換手;
HLP:=SMA(WINNER(C)*100,3,1),COLOR2588FF,LINETHICK0;
NN:=250;
HH:=HHV(V,NN);
LL:=LLV(V,NN);
最高:=HH;
最低:=LL;
RCC:=最高*0.9-(最高-最低)*0.5;
RHL:=RCC;
HLMAX:=MAX(最高,最低);
HLMIN:=MIN(最高,最低);
HLMN1:=(HLMAX+HLMIN)/2;
HLMN2:=HLMAX-HLMIN;
HLMN3:=(100-0)/2*1.3;
HLMN4:=(100-0)/1*1.3;
限制顯示K線面積:=1;
DRAWBAND(((100-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,RGB(55,55,55),((80-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,DRAWNULL);
DRAWBAND(((HLP-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,RGB(150,100,150),((80-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,DRAWNULL);
DRAWBAND(((25-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,RGB(55,55,55),((0-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,DRAWNULL);
((100-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR333333;
((80-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR333333;
((50-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR888888;
((25-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR333333;
{最佳買入時機}
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);
最佳買入:=(AV + NEWVOL);
STICKLINE(CROSS(最佳買入,0),((85-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,((100- HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,2.8,0),COLORRED;
趨勢線:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2,COLORRED;
準備:IF(趨勢線<=5,((65-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,((100-HLMN3)*HLMN2 /HLMN4+HLMN1)+RHL),COLORFFFFFF;
VARA2:=LLV(MA(LOW,3),3);
VARA3:=HHV(MA(HIGH,3),3);
KK:=EMA((CLOSE-VARA2)/(VARA3-VARA2)*100,4)*0.7+20,COLORFF00FF,LINETHICK2;
DD:=EMA(0.667*REF(KK,1)+0.333*KK,2)*0.7+20,COLORFFFF00;
KK2:=EMA(ABS(VARA2-CLOSE)/ABS(VARA2-VARA3)*100,4)*0.7+20;
DD2:=EMA(0.667*REF(KK2,1)+0.333*KK2,2)*0.7+20;
提示:IF((KK2-KK)*2.5>35,((75-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,((100- HLMN3)*HLMN2/HLMN4+HLMN1)+RHL),LINETHICK2,COLORFF00FF;
XXJJ:=LLV("KDJ.J",2)=LLV("KDJ.J",8);
時機: IF(CROSS("KDJ.J",1) AND REF(XXJJ,1),((90-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,((100-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL),LINETHICK2,COLORYELLOW;
地量買點:=CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0);
STICKLINE(地量買點,((0-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,((20-HLMN3)*HLMN2 /HLMN4+HLMN1)+RHL,3,0),COLORFF0080;
SJ:=240;
預(yù)測額:IF(ISLASTBAR,(V/SJ*240),V),COLOR00FFFF,LINETHICK0;
STICKLINE(ISLASTBAR,0,預(yù)測額,2,1),COLOREEEEFF;
地量:=IF(CAPITAL=0,AMOUNT=LLV(AMOUNT,34),換手<MA(換手,SUMBARS(V,CAPITAL))/3) ,LINETHICK0;
極地量:IF(換手<MA(換手,SUMBARS(VOL,CAPITAL))/4,1,0),LINETHICK0;
連續(xù)地量:=COUNT(地量,3)>=3 AND COUNT(極地量,3)>=1;
一字漲板:=C>=REF(C,1)*1.01 AND C=O AND H=L;
一字跌板:=C*1.1>=REF(C,1) AND C=O AND H=L;
無一字板:=NOT(一字漲板 OR 一字跌板);
STICKLINE(地量 AND 無一字板 AND (C-MA(C,5))/MA(C,5)*100<0,V,0,2.8,0),COLORFF0080;
STICKLINE(地量 AND 無一字板 AND (C-MA(C,5))/MA(C,5)*100<0,V,0,2.5,0),COLOR00FFFF;
STICKLINE(C>O,V,0,2,1),COLORRED;
STICKLINE(C<=O,V,0,2,1),COLORFFF333;
AA:=VOL>=REF(V,1)*1.91 AND C>REF(C,1);
AA1:=VOL<REF(LLV(VOL,21),1) AND 無一字板;
AA2:=VOL<REF(LLV(VOL,55),1) AND 無一字板;
AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05 AND 無一字板;
STICKLINE(AA,0,V,2,0),COLORRED;
STICKLINE(AA1,0,V/2,2,0),COLORGREEN;
STICKLINE(AA2,0,V/2,2,0),COLORFF00FF;
STICKLINE(AA3,0,V,1,0),COLORWHITE;
地線:HHV(V,60)/6,COLOR00FF00,LINETHICK2;
((HLP-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR0000FF,LINETHICK1,POINTDOT;
(("KDJ.K"-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLORFFF111;
(("KDJ.D"-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR00FF00;
(("KDJ.J"-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLORFF1111;
MV35:MA(V,35),COLORFFFFFF;
MV10:MA(V,10),COLOR00FFFF;
MV5:MA(V,5),COLORFF00FF;
通達信乘風(fēng)V神成交量指標公式實例圖解:
通達信乘風(fēng)V神成交量指標公式
通達信指標相關(guān)閱讀