什么是通达信超级全波段指标公式?附:通达信百年经典主图指标公式
2016-4-20 10:02:44 股票入门 http://rumen.southmoney.com
什么是通达信超级全波段指标公式?附:通达信百年经典主图指标公式 南方财富网小编为您提供
【通达信超级全波段指标公式】
VAR1:=(CLOSE+HIGH+LOW+OPEN)/4;
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">VAR2:=SUMBARS(VOL,CAPITAL);
VAR3:=HHV(VAR1,VAR2);
VAR4:=LLV(VAR1,VAR2);
VAR5:=(2*VAR1-VAR4-REF(VAR4,1))/(VAR3-VAR4);
VAR6:=(VAR1-VAR4)/(VAR3-VAR4);
VAR7:=IF(VAR1<=VAR4,VAR5*60,VAR6*60);
VAR8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);
VAR9:=EMA(VAR8,7);
VARA:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;
VARB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;
VARC:=HHV(HIGH,9)-LLV(LOW,9);
VARD:=HHV(HIGH,9)-CLOSE;
VARE:=CLOSE-LLV(LOW,9);
VARF:=VARD/VARC*100-70;
VAR10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR11:=(2*CLOSE+HIGH+LOW)/4;
VAR12:=SMA(VARE/VARC*100,3,1);
VAR13:=LLV(LOW,34);
VAR14:=SMA(VAR12,3,1)-SMA(VARF,9,1);
VAR15:=IF(VAR14>100,VAR14-100,0);
VAR16:=HHV(HIGH,34);
VAR17:=EMA((VAR11-VAR13)/(VAR16-VAR13)*100,8);
VAR18:=EMA(VAR17,5);
STICKLINE(VAR17-VAR18>0,VAR17,VAR18,8,1),COLORRED ;
STICKLINE(VAR17-VAR18<0,VAR17,VAR18,8,1),COLORGREEN ;
Q1:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
AA:3*Q3-2*Q4 ,COLORYELLOW;
Q5:=AA>1*REF(AA, 1);
Q6:=LLVBARS(LOW, 50);
Q7:=SUM(VOL, Q6);
Q8:=HHVBARS(HIGH, 50);
Q9:=SUM(VOL, Q8);
Q10:=(CLOSE-REF(OPEN, Q8))/REF(OPEN, Q8)*100;
Q11:=HHV(AA,5);
A1:EMA(Q3, 3) , COLORFFDDCC;
A2:EMA(A1, 3) , COLORFFBBCC;
A3:EMA(A2, 3) , COLORFF99CC;
A4:EMA(A3, 3) , COLORFF55CC;
A5:EMA(A4, 3) , COLORFF33CC;
A6:EMA(A5, 3) , COLORFF11CC;
A:EMA(A4, 3), COLORFF00CC;
DRAWTEXT(CROSS(AA, 20) AND Q10<-13,10,'☆大底'), COLOR00FF00;
DRAWTEXT(CROSS(AA, A5) AND REF(AA,1)<34,REF(AA,1),'☆发财了'), COLORRED ;
DRAWTEXT(CROSS(A1, AA) AND REF(AA,1)>80, REF(AA,3), '☆闪人'), COLORCFB53B ;
DRAWTEXT(CROSS(AA, A1) AND Q5 AND A1<20 AND Q1>9 OR A1>1*REF(A1, 1)
AND Q1>4 AND A1<60, 30, '拉'), COLORFFFFCC;
附:【通达信百年经典主图指标公式】
间隔:=3;角度:=4;
M1:=IF((CLOSE > 100),1,0.01);
M2:=(1 / 间隔);
PYEAR:=(角度 * 0.25);
BB:=LLV(YEAR,0);
PMONTH:=SUM(MONTH,0);
CC:=LLV(PMONTH,0);
PDAY:=SUM(DAY,0);
P1990:=LLV(PDAY,0);
T1990:=((((YEAR - 1990) * 365.24219) + ((MONTH - 1) * 30.43685)) + DAY);
A:=((((BB - 1990) * 365.24219) + ((CC - 1) * 30.436)) + P1990);
V1:=CEILING((T1990 - A));
V2:=((V1 * M1) * PYEAR);
V3:=(V2 - ((CEILING(((V2 - CLOSE) / (365.24219 * M1))) * 365.24219) * M1));
V333:=(V2 - ((FLOOR(((V2 - CLOSE) / (365.24219 * M1))) * 365.24219) * M1));
V444:=(V2 - (((CEILING(((V2 - CLOSE) / ((365.24219 * M1) * M2))) * 365.24219) * M1) * M2));
V4:=(V2 - (((FLOOR(((V2 - CLOSE) / ((365.24219 * M1) * M2))) * 365.24219) * M1) * M2));
{PLOYLINE((ABS((V444 - REF(V444,1))) < (10 * M1)),V444),,COLORFF;
PLOYLINE((ABS((V4 - REF(V4,1))) < (10 * M1)),V4),,COLORFF;}
V5:=REVERSE(V2);
V6:=(V5 + ((CEILING(((CLOSE - V5) / (365.24219 * M1))) * 365.24219) * M1));
V555:=(V5 + ((FLOOR(((CLOSE - V5) / (365.24219 * M1))) * 365.24219) * M1));
V666:=(V5 + (((CEILING(((CLOSE - V5) / ((365.24219 * M1) * M2))) * 365.24219) * M1) * M2));
V22:=(V5 + (((FLOOR(((CLOSE - V5) / ((365.24219 * M1) * M2))) * 365.24219) * M1) * M2));
{PLOYLINE((ABS((V666 - REF(V666,1))) < (10 * M1)),V666),,COLORFF00;
PLOYLINE((ABS((V22 - REF(V22,1))) < (10 * M1)),V22),,COLORFF00;}
V33:=(V2 - ((CEILING(((V2 - MA(CLOSE,30)) / (365.24219 * M1))) * 365.24219) * M1));
V3333:=(V2 - ((FLOOR(((V2 - MA(CLOSE,30)) / (365.24219 * M1))) * 365.24219) * M1));
V4444:=(V2 - (((CEILING(((V2 - MA(CLOSE,30)) / ((365.24219 * M1) * M2))) * 365.24219) * M1) * M2));
V44:=(V2 - (((FLOOR(((V2 - MA(CLOSE,30)) / ((365.24219 * M1) * M2))) * 365.24219) * M1) * M2));
{PLOYLINE((ABS((V4444 - REF(V4444,1))) < (10 * M1)),V4444),,COLORFF0000;
PLOYLINE((ABS((V44 - REF(V44,1))) < (10 * M1)),V44),,COLORFF0000;}
V55:=REVERSE(V2);
V66:=(V55 + ((CEILING(((MA(CLOSE,30) - V55) / (365.24219 * M1))) * 365.24219) * M1));
V5555:=(V55 + ((FLOOR(((MA(CLOSE,30) - V55) / (365.24219 * M1))) * 365.24219) * M1));
V6666:=(V55 + (((CEILING(((MA(CLOSE,30) - V55) / ((365.24219 * M1) * M2))) * 365.24219) * M1) * M2));
VAR1:=(V55 + (((FLOOR(((MA(CLOSE,30) - V55) / ((365.24219 * M1) * M2))) * 365.24219) * M1) * M2));
{PLOYLINE((ABS((V6666 - REF(V6666,1))) < (10 * M1)),V6666),,COLORFF00DD;
PLOYLINE((ABS((VAR1 - REF(VAR1,1))) < (10 * M1)),VAR1),,COLORFF00DD;}
M5:=MA(C,5);
E5:=EMA(C,5);
M10:=MA(C,10);
E10:=EMA(C,10);
M20:=MA(C,20);
E20:=EMA(C,20);
M50:=MA(C,50);
E50:=EMA(C,50);
M60:=MA(C,60);
E60:=EMA(C,60);
M120:=MA(C,120);
E120:=EMA(C,120);
M250:=MA(C,250);
E250:=EMA(C,250);
STICKLINE((E250>=M250),E250,M250,2,0),COLORRED;
STICKLINE((E120>=M120),E120,M120,6,0),COLORWHITE;
STICKLINE((E60>=M60),E60,M60,6,0),COLORBLUE;
STICKLINE((E50>=M50),E50,M50,6,0),COLORYELLOW;
STICKLINE((E20>=M20),E20,M20,6,0),COLORMAGENTA;
STICKLINE((E20>=M20),E20,M20,6,0),COLORMAGENTA;
STICKLINE((E20<=M20),M20,E20,6,0),COLORGREEN;
STICKLINE((E10>=M10),M10,E10,6,0),COLOR88FFDD;
STICKLINE((E10<=M10),M10,E10,6,0),COLORFFCD02;STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.1,0),COLOR0000FF;
STICKLINE(CLOSE>OPEN,OPEN,LOW,0.1,0),COLOR0000FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0),LINETHICK2,COLOR5050FF;{红柱}
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.5,0),COLOR5050FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.3,0),COLOR5F5FFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR5F5FFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.75,0),COLOR6C6CFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.5,0),COLOR6C6CFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.2,0),COLOR7E7EFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0),COLOR7E7EFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.65,0),COLOR9D9DFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0),COLOR9D9DFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.1,0),COLORAFAFFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0),COLORAFAFFF;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,0.6,0),COLORC1C1FF;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,0.25,0),COLORC1C1FF;
STICKLINE(C=O,C,O,8,0),COLOR009900;STICKLINE(CLOSE=OPEN,OPEN,LOW,0.1,0),COLORFF8A85;STICKLINE(CLOSE<OPEN,CLOSE,HIGH,0.1,0),COLORFF8A85;
STICKLINE(CLOSE<OPEN,OPEN,LOW,0.1,0),COLORFF8A85;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,4,0),LINETHICK2,COLOR008200;{绿柱}
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,3.5,0),COLOR138B13;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,3,0),COLOR279227;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,2.5,0),COLOR419D41;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,2,0),COLOR62AB62;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,1.5,0),COLOR80B980;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,1,0),COLOR90BE90;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,0.5,0),COLOR9FC49E;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,0.25,0),COLORB1CCB1;
AS:=BACKSET(ISLASTBAR,HHVBARS(HIGH,45)+1);
B:=AS>REF(AS,1);
D:=BACKSET(ISLASTBAR,LLVBARS(LOW,45)+1);
E:=D>REF(D,1);
HH:=REF(HIGH,BARSLAST(B));
LL:=REF(LOW,BARSLAST(E));
高点:HH,LINETHICK2;
低点:LL,LINETHICK2;
C点:PLOYLINE(1,HH*0.8709),COLORFF0000,LINETHICK2;
{B点:PLOYLINE(1,HH*0.75),LINETHICK2,COLORFFFFFF;
PLOYLINE(1,HH*0.7252),COLORFFFFFF;
PLOYLINE(1,HH*0.667),CROSSDOT,COLORFFDDEE;
PLOYLINE(1,HH*0.625),COLORFFDDEE;}
{M点:PLOYLINE(1,HH*0.5),LINETHICK2,COLORFFFFEE;}
DRAWTEXT(ISLASTBAR,HH*0.8709,'有名底'),COLORFFFF11;
{DRAWTEXT(ISLASTBAR,HH*0.7252,'无名底'),COLORFFFF22;
DRAWTEXT(ISLASTBAR,HH*0.625,'超跌底'),COLORFFFF33;
DRAWTEXT(ISLASTBAR,HH*0.5,'狂跌底'),COLORFFFF44; };
更多通达信指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。