最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信缩放自如副图指标

    正文概述    2024-05-04 04:35:37  

    以下是通达信缩放自如副图指标源码和使用说明


    通达信缩放自如副图指标源码:

       CS:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;

       A:=(EMA(CS,3)-50)*2;

       B:=EMA(A,2);

       E:=3*A-2*B;

       辅:B;

       CASFD:=(CLOSE-LLV(LOW,29))/(HHV(HIGH,29)-LLV(LOW,29))*100;

       TTRR:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;

       CSC:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

       EDFAE:=(SMA(CASFD,3,1)-50)*2;

       :SMA(EDFAE,3,1),COLORFFFF33,NODRAW;

       FFYY:=SMA(TTRR,6,1);

       HHJJ:=SMA(FFYY,3,1);

       TTMM:=SMA(HHJJ,2,1);

       UEHD:=HHJJ =TTMM;

       YBEN:=HHJJ TTMM;

       DDCC:=EMA(CLOSE,12)-EMA(CLOSE,26);

       DDFF:=EMA(DDCC,9);

       SSDD:=0.1*(DDFF-DDCC);

       CA:=(SMA(CSC,3,1)-50)*2;

       CB:=SMA(CA,3,1);

       KDJ:(CA-CB)*1,COLORSTICK,LINETHICK2;

       MACD:2*(DDCC-DDFF),COLORSTICK,LINETHICK2,NODRAW;

       STICKLINE(KDJ =0ANDSSDD =0,76,62,4,0),COLOR0000A8;

       STICKLINE(KDJ =0ANDSSDD =0,65,75,4,0),COLOR008800;

       STICKLINE(C =MA(C,20),-80,-79,6,0),COLOR0000A8;

       STICKLINE(C MA(C,20),-80,-77,6,0),COLOR008800;

       STICKLINE(C =MA(C,5),-61,-60,6,0),COLOR0000A8;

       STICKLINE(C MA(C,5),-63,-60,6,0),COLOR008800;

       STICKLINE(SSDD 0,80,79,6,0),COLOR0000A8;

       STICKLINE(SSDD 0,80,77,6,0),COLOR008800;

       STICKLINE(SSDD 0,60,59,6,0),COLOR0000A8;

       STICKLINE(SSDD 0,60,63,6,0),COLOR008800;

       STICKLINE((CROSS(DDCC,DDFF)ANDDDCC =0),77,62,6,0),COLOR98FB98;

       STICKLINE((CROSS(DDCC,DDFF)ANDDDCC 0),77,62,6,0),COLOR0099FF;

       JCCOUNT:=COUNT(CROSS(DDCC,DDFF),BARSLAST(DDFF =0));

       二次:=(CROSS(DDCC,DDFF)ANDDDFF =0ANDCOUNT(JCCOUNT=2,21)=1);

       STICKLINE(二次金叉,73,67,6,0),COLORRED;

       DRAWTEXT(CROSS(95,E),63,'回'),COLORFF6EC7;

       DRAWTEXT(CROSS(E,-95),-40,'反'),COLORFFAACC;

       A1:=BARSLAST(REF(CROSS(E,B),1));

       底:=REF(CLOSE,A1+1) CLOSEANDE REF(E,A1+1)ANDCROSS(E,B);

       A2:=BARSLAST(REF(CROSS(B,E),1));

       顶:=REF(CLOSE,A2+1) CLOSEANDREF(B,A2+1) BANDCROSS(B,E);

       DRAWTEXT(底 0,-65,'底'),COLORFF8855;

       DRAWTEXT(顶 0,68,'顶'),COLORFF00FF;

       财17:=(CROSS(A,0)ANDCROSS(B,-20))

       OR(CROSS(A,0)ANDCROSS(B,0))

       OR(CROSS(A,0)ANDCROSS(B,15))

       OR(CROSS(A,0)ANDCROSS(B,25))

       OR(CROSS(A,0)ANDCROSS(B,-10));

       HLM1:=MA(HHV(H,485),17);HLM2:=MA(HHV(H,222),17);

       HLM3:=MA(HHV(H,96),17);

       HLM4:=MA(LLV(L,485),17);

       HLM5:=MA(LLV(L,222),17);

       HLM6:=MA(LLV(L,96),17);

       HLM7:=MA((HLM1*0.558+HLM2*0.558+HLM3*0.558+HLM4*0.96+HLM5*0.96+HLM6*0.96)/6,17);

       HLM8:=MA((HLM1*0.55+HLM2*0.55+HLM3*0.65+HLM4*1.25+HLM5*1.23+HLM6*1.2)/6,17);

       HLM9:=MA((HLM1*0.68+HLM2*0.68+HLM3*0.68+HLM4*1.3+HLM5*1.3+HLM6*1.3)/6,17);

       HLM10:=MA((HLM7*3+HLM8*2+HLM9)/6*1.738,17);

       HLM11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;

       HLM12:=MA(IF(C*1.35 =HLM10,HLM11*10,HLM11/10),3);

       HLMH:=HHV(HLM12,30);

       DFDF:=MA(IF(L =LLV(L,13),(HLMH+HLM11*2)/2,0),3)/200;

       DXDX:=(100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(ABS((C-REF(C,1))),6),6));

       LAI:=LLV(DXDX,2)=LLV(DXDX,7)ANDCOUNT(DXDX 0,2)ANDCROSS(DXDX,MA(DXDX,2));

       TIMI:=IF(C,1,0);

       倍量:=(VOL =1.90*REF(VOL,1))*TIMIANDC REF(C,1)ANDKDJ

       倍量1:=(VOL =1.90*REF(VOL,1))*TIMIANDC REF(C,1)ANDKDJ

       DRAWTEXT(倍量,-5,'放'),COLORB0C4DE;

       DRAWTEXT(倍量1,25,'放'),COLORB0C4DE;

       倍缩:=(VOL*1.98 =REF(VOL,1))*TIMIANDKDJ

       倍缩1:=(VOL*1.98 =REF(VOL,1))*TIMIANDKDJ

       DRAWTEXT(倍缩,-5,'缩'),COLORFF8899;

       DRAWTEXT(倍缩1,25,'缩'),COLORFF8899;

       百日低量:=(VOL=LLV(VOL,100))*TIMI;

       DRAWTEXT(百日低量,35,'百'),COLORYELLOW;

       饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100 100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100),NODRAW,COLOR2DFFFF;

       STICKLINE(LAI,44,30,4,0),COLORGRAY;

       STICKLINE(LAI,58,44,6,0),COLORRED;

       STICKLINE(CROSS(A,-65),-75,-65,4,0),COLORRED;

       STICKLINE(CROSS(A,-65),-58,-47,4,0),COLORRED;

       STICKLINE(CROSS(CS,1),-75,-65,4,0),COLORRED;

       STICKLINE(CROSS(DFDF,7.0),-75,-65,4,0),COLORRED;

       STICKLINE(财17,-75,-65,6,0),COLORFF0088;

       STICKLINE(财17,-40,-58,6,0),COLORFF0088;

       杀入:=(H+L+O+2*C)/5;

       高抛价:杀入*2-L,COLORRED,NODRAW;

       价:杀入*2-H,COLORGREEN,NODRAW;

       持有:=(L+H+C)/3;

       价:MA(持有,5),COLOR0099FF,NODRAW;

       价:LLV(持有,13),COLORFF9900,NODRAW;

       CS:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;

       A:=(EMA(CS,3)-50)*2;

       B:=EMA(A,2);

       E:=3*A-2*B;

       辅:B;

       CASFD:=(CLOSE-LLV(LOW,29))/(HHV(HIGH,29)-LLV(LOW,29))*100;

       TTRR:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;

       CSC:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

       EDFAE:=(SMA(CASFD,3,1)-50)*2;

       趋势:SMA(EDFAE,3,1),COLORFFFF33,NODRAW;

       FFYY:=SMA(TTRR,6,1);

       HHJJ:=SMA(FFYY,3,1);

       TTMM:=SMA(HHJJ,2,1);

       UEHD:=HHJJ =TTMM;

       YBEN:=HHJJ TTMM;

       DDCC:=EMA(CLOSE,12)-EMA(CLOSE,26);

       DDFF:=EMA(DDCC,9);

       SSDD:=0.1*(DDFF-DDCC);

       CA:=(SMA(CSC,3,1)-50)*2;

       CB:=SMA(CA,3,1);

       KDJ:(CA-CB)*1,COLORSTICK,LINETHICK2;

       MACD:2*(DDCC-DDFF),COLORSTICK,LINETHICK2,NODRAW;

       STICKLINE(KDJ =0ANDSSDD =0,76,62,4,0),COLOR0000A8;

       STICKLINE(KDJ =0ANDSSDD =0,65,75,4,0),COLOR008800;

       STICKLINE(C =MA(C,20),-80,-79,6,0),COLOR0000A8;

       STICKLINE(C MA(C,20),-80,-77,6,0),COLOR008800;

       STICKLINE(C =MA(C,5),-61,-60,6,0),COLOR0000A8;

       STICKLINE(C MA(C,5),-63,-60,6,0),COLOR008800;

       STICKLINE(SSDD 0,80,79,6,0),COLOR0000A8;

       STICKLINE(SSDD 0,80,77,6,0),COLOR008800;

       STICKLINE(SSDD 0,60,59,6,0),COLOR0000A8;

       STICKLINE(SSDD 0,60,63,6,0),COLOR008800;

       STICKLINE((CROSS(DDCC,DDFF)ANDDDCC =0),77,62,6,0),COLOR98FB98;

       STICKLINE((CROSS(DDCC,DDFF)ANDDDCC 0),77,62,6,0),COLOR0099FF;

       JCCOUNT:=COUNT(CROSS(DDCC,DDFF),BARSLAST(DDFF =0));

       二次金叉:=(CROSS(DDCC,DDFF)ANDDDFF =0ANDCOUNT(JCCOUNT=2,21)=1);

       STICKLINE(二次金叉,73,67,6,0),COLORRED;

       DRAWTEXT(CROSS(95,E),63,'回'),COLORFF6EC7;

       DRAWTEXT(CROSS(E,-95),-40,'反'),COLORFFAACC;

       A1:=BARSLAST(REF(CROSS(E,B),1));

       底:=REF(CLOSE,A1+1) CLOSEANDE REF(E,A1+1)ANDCROSS(E,B);

       A2:=BARSLAST(REF(CROSS(B,E),1));

       顶:=REF(CLOSE,A2+1) CLOSEANDREF(B,A2+1) BANDCROSS(B,E);

       DRAWTEXT(底 0,-65,'底'),COLORFF8855;

       DRAWTEXT(顶 0,68,'顶'),COLORFF00FF;

       财17:=(CROSS(A,0)ANDCROSS(B,-20))

       OR(CROSS(A,0)ANDCROSS(B,0))

       OR(CROSS(A,0)ANDCROSS(B,15))

       OR(CROSS(A,0)ANDCROSS(B,25))

       OR(CROSS(A,0)ANDCROSS(B,-10));

       HLM1:=MA(HHV(H,485),17);HLM2:=MA(HHV(H,222),17);

       HLM3:=MA(HHV(H,96),17);

       HLM4:=MA(LLV(L,485),17);

       HLM5:=MA(LLV(L,222),17);

       HLM6:=MA(LLV(L,96),17);

       HLM7:=MA((HLM1*0.558+HLM2*0.558+HLM3*0.558+HLM4*0.96+HLM5*0.96+HLM6*0.96)/6,17);

       HLM8:=MA((HLM1*0.55+HLM2*0.55+HLM3*0.65+HLM4*1.25+HLM5*1.23+HLM6*1.2)/6,17);

       HLM9:=MA((HLM1*0.68+HLM2*0.68+HLM3*0.68+HLM4*1.3+HLM5*1.3+HLM6*1.3)/6,17);

       HLM10:=MA((HLM7*3+HLM8*2+HLM9)/6*1.738,17);

       HLM11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;

       HLM12:=MA(IF(C*1.35 =HLM10,HLM11*10,HLM11/10),3);

       HLMH:=HHV(HLM12,30);

       DFDF:=MA(IF(L =LLV(L,13),(HLMH+HLM11*2)/2,0),3)/200;

       DXDX:=(100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(ABS((C-REF(C,1))),6),6));

       LAI:=LLV(DXDX,2)=LLV(DXDX,7)ANDCOUNT(DXDX 0,2)ANDCROSS(DXDX,MA(DXDX,2));

       TIMI:=IF(C,1,0);

       倍量:=(VOL =1.90*REF(VOL,1))*TIMIANDC REF(C,1)ANDKDJ

       倍量1:=(VOL =1.90*REF(VOL,1))*TIMIANDC REF(C,1)ANDKDJ

       DRAWTEXT(倍量,-5,'放'),COLORB0C4DE;

       DRAWTEXT(倍量1,25,'放'),COLORB0C4DE;

       倍缩:=(VOL*1.98 =REF(VOL,1))*TIMIANDKDJ

       倍缩1:=(VOL*1.98 =REF(VOL,1))*TIMIANDKDJ

       DRAWTEXT(倍缩,-5,'缩'),COLORFF8899;

       DRAWTEXT(倍缩1,25,'缩'),COLORFF8899;

       百日低量:=(VOL=LLV(VOL,100))*TIMI;

       DRAWTEXT(百日低量,35,'百'),COLORYELLOW;

       量能饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100 100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100),NODRAW,COLOR2DFFFF;

       STICKLINE(LAI,44,30,4,0),COLORGRAY;

       STICKLINE(LAI,58,44,6,0),COLORRED;

       STICKLINE(CROSS(A,-65),-75,-65,4,0),COLORRED;

       STICKLINE(CROSS(A,-65),-58,-47,4,0),COLORRED;

       STICKLINE(CROSS(CS,1),-75,-65,4,0),COLORRED;

       STICKLINE(CROSS(DFDF,7.0),-75,-65,4,0),COLORRED;

       STICKLINE(财17,-75,-65,6,0),COLORFF0088;

       STICKLINE(财17,-40,-58,6,0),COLORFF0088;

       杀入:=(H+L+O+2*C)/5;

       高抛价:杀入*2-L,COLORRED,NODRAW;

       抄底价:杀入*2-H,COLORGREEN,NODRAW;

       持有:=(L+H+C)/3;

       短线价:MA(持有,5),COLOR0099FF,NODRAW;

       中线价:LLV(持有,13),COLORFF9900,NODRAW;

       AA:=LLV(LOW,34);BB:=HHV(HIGH,30);DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);谷:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);波:VAR3,COLORWHITE;段:VAR4,COLORYELLOW;VAR6:=CROSS(VAR3,VAR4)ANDVAR3 DRAWTEXT(FILTER(VAR6,10)=1,40,'买'),LINETHICK1,COLOR00AAFF;STICKLINE(FILTER(VAR6,10)=1,0,90,1,0),COLORRED;VAR7:=CROSS(VAR4,VAR3)ANDVAR3 STICKLINE(FILTER(VAR7,5)=1,0,90,1,0),COLORGREEN;DRAWTEXT(FILTER(VAR7,5)=1,70,'卖'),LINETHICK1,COLORFFCC66;趋势: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),LINETHICK0,COLORWHITE;VAR8:=CROSS(VAR2,VAR3)ANDVAR3 80ANDVAR3 VAR4;VAR9:=CROSS(趋势,VAR2)AND趋势 20AND趋势 分批卖出:STICKLINE(VAR8,50,90,1,0),COLOR008360,LINETHICK3;分批买入:STICKLINE(VAR9,40,0,1,0),COLOR000080,LINETHICK3;90,COLORGREEN;0,COLORYELLOW;VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);VAR03:=CROSS(VAR02,VAR01);VAR04:=REF(VAR02,2) REF(VAR02,1)ANDVAR02 REF(VAR02,1);VAR05:=COUNT(VAR03,7) 0ANDVAR04;VAR06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR07:=SMA(ABS(LOW-VAR06),13,1)/SMA(MAX(LOW-VAR06,0),10,1);VAR08:=EMA(VAR07,10);VAR09:=EMA(C,5);VAR10:=LLV(LOW,33);VAR11:=EMA(IF(LOW =VAR10,VAR09,0),3)*40;VAR12:=IF(VAR11 100,VAR11*0.312,VAR11);进场:VAR02,COLORRED;BAR1:=REF(LOW,1);BAR2:=SMA(ABS(LOW-BAR1),13,1)/SMA(MAX(LOW-BAR1,0),13,1)*4;BAR3:=EMA(BAR2,13);BAR4:=LLV(LOW,34);BAR5:=EMA(IF(LOW =BAR4,BAR3,0),3);BAR6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);BAR7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);BAR8:=BAR6 REF(BAR7,1)ANDVOL REF(VOL,1)ANDCLOSE REF(CLOSE,1);:STICKLINE(BAR5 REF(BAR5,1),0,BAR5,0.5,0),COLORGREEN,LINETHICK1;STICKLINE(BAR8ANDCOUNT(BAR8,30)=1,0,18,0.5,0),COLORBLUE,LINETHICK3;STICKLINE(BAR8ANDCOUNT(BAR8,30)=1,18,36,0.5,0),COLORFF7700,LINETHICK3;STICKLINE(BAR8ANDCOUNT(BAR8,30)=1,36,60,1,0),COLORYELLOW;DRAWTEXT(BAR8ANDCOUNT(BAR8,30)=1,90,'进场★'),COLORYELLOW;RE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;R12:=(HIGH+LOW+CLOSE)/3;R13:=(R12-MA(R12,14))/(0.015*AVEDEV(R12,14));R14:=(R12-MA(R12,70))/(0.015*AVEDEV(R12,70));R15:=IF(R13 =150ANDR13 200ANDR14 =150ANDR14 200,10,0);R16:=IF(R13 =-150ANDR13 -200ANDR14 =-150ANDR14 -200,-10,R15);R17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;R18:=100-ABS(R17);R19:=IF(R18 90,R18,100);R1A:=IF(RE 0,RE,0);R1B:=IF(R14 =200ANDR13 =150,15,IF(R14 =-200ANDR13 =-150,-15,R16))+60;R1C:=R1A 48ANDR1B 60ANDR19 DRAWTEXT(R1CANDCOUNT(R1C,25)=1,80,'分批出货'),LINETHICK1,COLORFFCC66;STICKLINE(R1CANDCOUNT(R1C,25)=1,90,60,0.5,0),COLORFFCC66;




    通达信缩放自如副图指标截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信缩放自如副图指标 加入收藏