无未来函数炒股指标公式
MACD公式大全
以下公式适合通信达和招商牛网等股票软件。
选出股票后能否买入依然还要综合参考大趋势和其它指标.金叉并非万能,有时刚刚进入金叉或准金叉状态,也可能是上一波反弹的结束,下一波下跌的开始.只有当金叉周期的前后周期均为上涨趋势,金叉的威力才最大.业绩的持续增长才是技术指标的前提和保证。
1、0轴上方第一次金叉选股公式:DIFF:=EMA(CLOSE,12)—EMA(CLOSE,26);DEA := EMA(DIFF,9);MACD := 2*(DIFF—DEA);select:cross(diff,dea)and dea〉-1.0 and dea<0。
5 and CLOSE〉ref(CLOSE,1)and CLOSE>=ma(c,60);或:DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9); XG:DIF>0 AND DEA>0 AND CROSS(DIF,DEA);2、0轴上方二次金叉的选股公式:JC:IF(SUM(IF(MACD〉0 AND CROSS(MACD。
DIF,MACD.DEA),1,0),0)—HHV(IF (IF(CROSS(MACD.DEA,0),1,0),SUM(IF(MACD〉0 AND CROSS(MACD。
DIF,MACD.DEA),1,0),0),0),0)=2 AND SUM(IF(MACD>0 AND CROSS(MACD.DIF,MACD.DEA),1,0),0)〉REF(SUM(IF(MACD>0 AND CROSS(MACD。
DIF,MACD.DEA),1,0),0),1),10,0);3.0轴下方一次金叉的选股公式:DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9),COLORFFFF00;MACD:=(DIFF—DEA)*2;低位金叉:CROSS(DIFF,DEA) AND DIFF〈-0.1;4、0轴下方二次金叉且第二次金叉高于第一次金叉:DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);AA:=BARSLAST(REF(CROSS(DIF,DEA),1));二次金叉:CROSS(DIF,DEA) AND DIF〉REF(DIF,AA+1)AND AA〈20 AND DIF<0;5、0轴下方二次金叉选股公式:DIFF:=EMA(CLOSE,12)- EMA(CLOSE,26);{选股设JC=10即可}DEA:=EMA(DIFF,9);MACD:=2*(DIFF—DEA),COLORSTICK;A:=IF(CROSS(0,DEA),1,0);A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0);SS:=IF(A,SUM(A1,0),0);SSB:=HHV(SS,0);SSS:=SUM(A1,0);JC:IF(SSS-SSB=2 AND SSS>REF(SSS,1),10,0);6、缩量横盘突破选股:WH01:=(HHV(C,10)—LLV(C,10))/LLV(C,10)*100〈=10;WH02:=SUM(VOL,10)/CAPITAL*100<45;WH03:=REF(WH01,1);WH04:=HHVBARS(HIGH,55)〉20 OR C=HHV(H,55);WH05:=WH02 AND WH03 AND WH04 AND C>REF(HHV(H,10),1);WH05 AND REF(NOT(WH05),1);7、均线、KDJ、MACD金叉的预警选股公式完全符合以下条件:1、5日线上穿10日线2、MACD金叉3、KDJ金叉(KDJ数值由9、3、3调整为9、9、9)4、成交量指标金叉通达信预警选股公式A1:=CROSS(MA(C,5),MA(C,10));A2:=CROSS(”MACD。
无未来函数炒股指标公式
炒股公式第三个QW1:=(HIGH+LOW+CLOSE*2)/4;QW3:=EMA(QW1,10);QW4:=STD(QW1,10);QW5:=(QW1-QW3)*100/QW4;QW6:=EMA(QW5,5);RK7:=EMA(QW6,10);涨:EMA(QW6,10)+100/2-5,LINETHICK1,COLORRED;跌:EMA(涨,4),LINETHICK1,COLORFFFF34;多线:IF(CROSS(涨,跌) AND 跌<-10,30,0),LINETHICK1,COLORFF00FF;空线:IF(CROSS(跌,80),70,100),COLOR0099FF,LINETHICK1;买1:EMA(跌,4),COLORWHITE;买2:EMA(买1,4),COLORGREEN;买M3:=EMA(买2,4);买M4:=EMA(买M3,4);-10,POINTDOT,COLOR888888,LINETHICK2;80,POINTDOT,COLOR888888,LINETHICK2;STICKLINE(涨<REF(涨,1),涨,MA(涨,3),2,0 ),COLOR00EE00;STICKLINE(涨<REF(涨,1),涨,MA(涨,3),1,0 ),COLOR00FF00;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),3,0) ,COLOR0099FF;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),2,0) ,COLOR00AAFF;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),1,0) ,COLOR00BBFF;DRAWICON(多线,30,1),COLORFF00FF;DRAWICON(CROSS(跌,80),70,2),COLORGREEN;DRAWTEXT(CROSS(涨,跌) AND 跌<20 AND 跌>-10,40,'买入'),COLORCCFF99; DRAWTEXT(多线>0,-20,'看涨'),COLOR0000FF;VAR2:=MA(CLOSE,194);VAR3:=VAR2+2*STD(CLOSE,170);顶:(CLOSE>VAR3)*13*10,COLORBLUE,LINETHICK2;VAR18:=HHV(HIGH,30);VAR19:=LLV(LOW,30);NL:=EMA((CLOSE-VAR19)/(VAR18-VAR19)*100,5)/8*10;DRAWTEXT(CROSS(5,NL),30,'★做底'),COLORWHITE;VAR44:=REF(CLOSE,1);VAR45:=SMA(MAX(CLOSE-VAR44,0),6,1)/SMA(ABS(CLOSE-VAR44),6,1)*100; STICKLINE(CROSS(84,VAR45),0,VAR2*15+3,3,1),COLORGREEN; DRAWTEXT(CROSS(84,VAR45),80,'防空警报'),COLORGREEN;VAR55:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);VAR56:=INDEXC;VAR57:=MA(VAR56,5);VAR58:=MA(VAR56,20);VAR5B:=VAR57>VAR56*1.03 AND VAR58>VAR56*1.13;VAR5D:=IF(FILTER(VAR55<6,5)=1,1,0);VAR5F:=VAR55<6 AND VAR5B;VAR61:=VAR5F AND VAR5D*80;VAR7C:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);VAR7D:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;VAR7E:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;VAR7F:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;VAR80:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;VAR81:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;VAR82:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;VAR83:=(VAR7D+VAR7E+VAR7F+VAR80+VAR81+VAR82)/6;VAR84:=EMA(VAR83,3);VAR85:=ABS(VAR80-VAR82);VAR86:=(VAR83+VAR85)/2;VAR87:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;VAR88:=VAR87+VAR86;VAR89:=IF(VAR7C>0 AND VAR88<0,200,0);VAR8A:=IF(VAR86<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);VAR8B:=IF(VAR88<0 AND VAR8A=-50,100,0);VAR8D:=REF(CLOSE,2)*0.865;VAR8E:=REF(CLOSE,13)*0.772;VAR8F:=MIN(VAR8D,VAR8E);VAR90:=100*VOL/CAPITAL;VAR92:=IF((CLOSE-VAR8F)/CLOSE<0.03 AND SUM(VAR90,5)/5<1.8,1,0);VAR96:=(VAR89>0 AND VAR8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR92>0) AND (VAR8A<0 OR VAR7C>0);VAR97:=VAR89>0 AND VAR8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR92>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;VAR98:=VAR96 OR VAR97;VARA4:=AMOUNT/VOL/100;VARA5:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;VARA7:=SUM(AMOUNT,13)/VARA4/100;VARAE:=DMA(VARA5,VOL/VARA7);VARB1:=MA(HHV(HIGH,488),18);VARB2:=MA(HHV(HIGH,220),18);VARB3:=MA(HHV(HIGH,98),18);VARB4:=MA(LLV(LOW,488),18);VARB5:=MA(LLV(LOW,220),18);VARB6:=MA(LLV(LOW,98),18);VARB7:=MA((VARB4*0.96+VARB5*0.96+VARB6*0.96+VARB1*0.558+VARB2*0.558+VARB3*0.558 )/6,18);VARB8:=MA((VARB4*1.25+VARB5*1.23+VARB6*1.2+VARB1*0.55+VARB2*0.55+VARB3*0.65)/6,1 8);VARB9:=MA((VARB4*1.3+VARB5*1.3+VARB6*1.3+VARB1*0.68+VARB2*0.68+VARB3*0.68)/6,18); VARBA:=MA((VARB7*3+VARB8*2+VARB9)/6*1.738,18);VARBC:=LOW;VARBD:=REF(LOW,1);VARBE:=SMA(ABS(VARBC-VARBD),3,1)/SMA(MAX(VARBC-VARBD,0),3,1)*100;VARBF:=MA(IF(CLOSE*1.35<=VARBA,VARBE*10,VARBE/10),3);VARC0:=LLV(LOW,30);VARC1:=HHV(VARBF,30);VARC2:=IF(LOW<=VARC0,(VARBF+VARC1*2)/2,0);WXBM:(MA(VARC2 AND CLOSE<COST(1),3) AND (CLOSE-VARAE)/VARAE*100<-11)*118,COLORRED,LINETHICK2;DRAWTEXT(VAR61 OR VAR98,70,'★大黑马'),COLORYELLOW;DRAWTEXT(WXBM,100,'BM'),COLORRED;STICKLINE(VAR61,0,120,3,0),COLORWHITE;STICKLINE(VAR98,0,90,3,0),COLORYELLOW;X:=C-REF(MA(C,20),11);LGL:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 AND C/REF(C,1)>0.905 AND C/REF(C,1)<1.05 AND VOL/CAPITAL*100<5,50,0);WR1:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100*X;WR2:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;WR3:=-100*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100*X;BIAS1:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;BIAS2:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;BIAS3:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;S1:=(WR1+WR2+WR3+BIAS1+BIAS2+BIAS3)/6*X;S2:=EMA(S1,3);S3:=ABS(BIAS1-BIAS3);SX:=(S1+S3)/2;XC1:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;CCC:=XC1+SX;ZJZ:=IF( LGL>0 AND CCC<0,200,0)*X;LXL:=IF(SX<0 AND C=LLV(C,5) AND C/REF(C,1)>0.905 AND C/REF(C,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);JBJ:=IF(CCC<0 AND LXL=-50,100,0)*X;MA3:= MA(C,3);C0:=REF(C,2)*0.865;C1:=REF(C,13)*0.772;BOT:=MIN(C0,C1);HSL:=100*VOL/CAPITAL*X;MA13:=MA(C,13)*X;CXC:=IF((C-BOT)/C<3/100 AND SUM(HSL,5)/5<1.8,1,0);VMC:=IF(CXC>0 AND (LXL<0 OR LGL>0),10,0);满仓:IF((VMC>0),120,0),COLORRED,LINETHICK3;DRAWTEXT(满仓>0 AND REF(满仓,1)=0,100,'满仓'),COLORRED;半仓:IF(((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR (CXC>0 AND REF(C,1)/REF(C,2)>0.902)) OR (((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR CXC>0) AND (LXL<0 OR LGL>0)) AND VMC<10 ,100,0),COLORMAGENTA,LINETHICK2;V93:=(((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR CXC>0) AND (LXL<0 OR LGL>0)) ;V90:=((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR (CXC>0 AND REF(C,1)/REF(C,2)>0.902));买11:IF((V93 OR V90),80,0),COLORYELLOW,LINETHICK2;VAR2Q:=(MA(CLOSE,80)-MA(CLOSE,13)/3);神奇线:= MA((CLOSE-VAR2Q)/VAR2Q,2);买12:IF(CROSS(神奇线,0) AND LOW/REF(HIGH,1)<1.012 AND ((C-REF(C,2))/C)>0.06,100,0),COLORMAGENTA,LINETHICK2;YY:=SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,18,1),12,1);YT:=SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,12,1);ST:=IF(CROSS(YT,YY),30,0);VAR5PT:=(HIGH+LOW+CLOSE)/3;VAR6PT:=(VAR5PT-MA(VAR5PT,14))/(0.015*AVEDEV(VAR5PT,14));VAR7PT:=(VAR5PT-MA(VAR5PT,85))/(0.015*AVEDEV(VAR5PT,85));SA:=IF(VAR7PT>=200 AND VAR6PT>=150,10,0);VAR3AA:=REF(CLOSE,1);VAR4AA:=SMA(MAX(CLOSE-VAR3AA,0),6,1)/SMA(ABS(CLOSE-VAR3AA),6,1)*100;SM:=IF(CROSS(80,VAR4AA),100,0);卖11:IF((SM AND (SA OR ST)),120,0),COLORCCCC33,LINETHICK2;DRAWTEXT( 卖11>0,110,''),COLORCCCC33;XX2:=(MA(CLOSE,80)-MA(CLOSE,13)/3);SQX:=MA((CLOSE-XX2)/XX2,10)*0.01;买3:IF(CROSS(SQX,0) AND LOW/REF(HIGH,1)<1.012,60,0), STICK,COLORWHITE,LINETHICK2;稳赚:IF(COUNT(SQX>REF(SQX,1),3)=3 AND COUNT(SQX<0,10)=10 AND REF(SQX,3)=LLV(SQX,10),60,0),COLOR9999FF;买4: IF(REF(SQX,2)=LLV(SQX,20) AND REF(SQX,2)<0.071 AND REF(SQX,2)<REF(SQX,1) AND NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1),60,0),COLORFF00FF,LINETHICK2;DRAWTEXT( 买3>0,40 ,' 买3'),COLORWHITE;DRAWTEXT( 稳赚>0,40 ,'稳赚'),COLOR9999FF;DRAWTEXT( 买4>0,40 , '买4'),COLORFF00FF;。
用山形图 主图 买卖提示 无未来通达信指标公式源码
需要调整软件背景色为:21,34,55需要勾选:主图指标不影响坐标高低值无未来函数,买卖点提示(机械式判断:只要目前价格高于预警价格即提示买入,低于预警价格即提示卖出.)收盘前价格波动区间得以确认,按提示操作即可.成功率高低依赖于自身对行情的判断,此指标依旧不是万能的山形图:依据收盘站线为参考,加以不断调试,美化配色,现分享出来{背景色}DRAWGBK(C>0,RGB(21,34,55),RGB(57,173,173),0,'1',0);W:=EMA(C,1);DRAWBAND(W,RGB(33,47,58),0,RGB(33,47,58));{均线系统}现价:CONST(W),DOTLINE,COLORCYAN;R:=EMA(C,5);警戒线:CONST(R),DOTLINE,COLORMAGENTA;X:=EMA(C,1);预警:EMA(X,5),COLORRED;持股:IF(预警>REF(预警,1),预警,DRAWNULL),COLORWHITE;&:EMA(W,1),COLORLICYAN;AX:=EMA(&,2);持币:IF(预警<REF(预警,1),预警,DRAWNULL),COLORCYAN;A1X:=(AX-REF(AX,1))/REF(AX,1)*100;DRAWTEXT_FIX(1,0.17,0.13,0,STKNAME),COLORYELLOW;DRAWTEXT_FIX(1,0.17,0.21,0,CODE),COLOR0080FF;STICKLINE(CROSS(A1X,0),L,L*0.995,1.2,0),COLORRED;STICKLINE(CROSS(0,A1X),H,H*1.005,1.2,0),COLORGREEN;DRAWTEXT_FIX(ISLASTBAR,0.01,0.01,0,'微信:RITUALART '),COLORRED; STICKLINE(&>=R,C,C,0.7,0),COLORWHITE;STICKLINE(&<R,C,C,0.7,0),COLORGREEN; {条件设置}总股本:=STRCAT(STRCAT('【总股本】',CON2STR(TOTALCAPITAL/1000000,2)),'亿');流通盘:=STRCAT(STRCAT('【流通盘】',CON2STR(CAPITAL/1000000,2)),'亿');流通市值:=STRCAT(STRCAT('【流通市值】',CON2STR((CAPITAL/1000000)*C,2)),'亿'); DRAWTEXT_FIX(ISLASTBAR,0.01,0.99,0,总股本),COLOR00FFFF;DRAWTEXT_FIX(ISLASTBAR,0.11,0.99,0,流通盘),COLORFFFF00;DRAWTEXT_FIX(ISLASTBAR,0.21,0.99,0,流通市值),COLORFF00FF;卖一价:=STRCAT(STRCAT('【卖一】',CON2STR(DYNAINFO(21),2)),'元');涨跌:=STRCAT(STRCAT('【涨跌额】',CON2STR(DYNAINFO(12),2)),'元');买一价:=STRCAT(STRCAT('【买一】',CON2STR(DYNAINFO(20),2)),'元'); DRAWTEXT_FIX(ISLASTBAR,0.31,0.99,0,卖一价),COLORGREEN;DRAWTEXT_FIX(ISLASTBAR,0.39,0.99,0,涨跌),COLORYELLOW;DRAWTEXT_FIX(ISLASTBAR,0.49,0.99,0,买一价),COLORRED;DRAWTEXT_FIX(ISLASTBAR,0.579,0.99,0,'【工作时间】14:45-15:00 '),COLORYELLOW; {涨停统计}涨停:=W/REF(W,1)>=1.095;ZTCS:=COUNT(涨停,BARSSINCE(涨停)+1);SSTS1:=STRCAT('上市',CON2STR(FINANCE(42),0));SSTS2:=STRCAT(SSTS1,'天'); NTZZT1:=STRCAT('距今',CON2STR(CONST(BARSLAST(涨停)),0));NTZZT2:=STRCAT(NTZZT1,'天有涨停');GZT1:=STRCAT('共涨停',CON2STR(ZTCS,0));GZT2:=STRCAT(GZT1,'次');ZTTJ1:=STRCAT(SSTS2,GZT2);ZTTJ2:=STRCAT(ZTTJ1,NTZZT2);ZTTJ:=STRCAT('【涨停统计】',ZTTJ2);DRAWTEXT_FIX(CURRBARSCOUNT=1,0.719,0.99,0,ZTTJ),COLORCYAN;。
二十四节气指标公式通达信
竭诚为您提供优质文档/双击可除二十四节气指标公式通达信篇一:20个极品通达信指标公式源码公式1(未来函数)代码n1:=5;n2:=10;n3:=20;n4:=30;p:=2;m:=20;n:=250;m1:=55 ;w:=21;p3:=500;n9:=90;hR:=hhV(hIgh,m1);hRY:=LLV(Low,m1);hRY11:=hR*hRY;hRY33:sQRT(hRY11),coLoRgReen,LIneThIcK2;IF(c>hRY33AnDhRY33>=ReF(hRY33,1),hRY33,DRAwnuLL),LI neThIcK2,coLoRReD;mA1:emA(cLose,n1);mA2:emA(cLose,n2);mA3:emA(cLose,n3),coLoR00FFFF;mA4:emA(cLose,n4),LIneThIcK2;TJ1:=cRoss(mA1,mA2)AnDc>oAnDc>ReF(c,1)AnDc/ReF(c,1) >=1.018oRcRoss(mA1,mA4)AnDc>oAnDc>ReF(c,1)AnDc/ReF(c,1)>=1 .018oRcRoss(mA2,mA3)AnDc>oAnDc>ReF(c,1)AnDc/ReF(c,1)>=1 .018oRcRoss(mA1,mA3)AnDc>oAnDc>ReF(c,1)AnDc/ReF(c,1)>=1 .018;TJ2:=(mAx(mA1,mAx(mA2,mA3))-mIn(mA1,mIn(mA2,mA3)))/ mIn(mA1,mIn(mA2,mA3))*100 xg:=TJ1AnDTJ2;RsV:=(cLose-LLV(Low,9))/(hhV(hIgh,9)-LLV(Low,9))*10 0;K:=smA(RsV,3,1);D:=smA(K,3,1);DIFF:=emA(cLose,12)-emA(cLose,26);DeA:=emA(DIFF,9);mAcD:=2*(DIFF-DeA);做多:=IF(K>DAnDmAcD>0AnDV>1,2,0),coLoRReD;做空:=IF(K1,-2,0),coLoR00FF00;强洗:=IF(mAcD>0AnDK1,1,0),coLoR0099FF;弱升:=IF(mAcDDAnDV>1,-1,0),coLoRFFFF00;sTIcKLIne(做多AnDc>=o,c,o,3,1),coLoRReD;sTIcKLIne(做多AnDc sTIcKLIne(做多AnDc sTIcKLIne(做多AnDc sTIcKLIne(做多AnDc>=o,c,o,3,1),coLoR0000FF;{sTIcKLIne(做多AnDc>=o,c,o,1.5,0),coLoR0000DD;sTIcKLIne(做多AnDc>=o,c,o,0.4,0),coLoR0000FF;} sTIcKLIne(做空AnDc>=o,L,h,0.1,0),coLoR0000FF;sTIcKLIne(做空AnDc>=o,c,o,3,1),coLoR00FF00;{sTIcKLIne(做空AnDc sTIcKLIne(做空AnDc sTIcKLIne(做空AnDc sTIcKLIne(强洗AnDc>=o,L,h,0.1,0),coLoR0000FF;sTIcKLIne(强洗AnDc>=o,c,o,3,1),coLoRFFFFFF;sTIcKLIne(强洗AnDc sTIcKLIne(强洗AnDc sTIcKLIne(强洗AnDc sTIcKLIne(弱升AnDc>=o,c,o,3,1),coLoR00FFFF;sTIcKLIne(弱升AnDc sTIcKLIne(弱升AnDcsTIcKLIne(FILTeR(TJ1,3),c,o,4,0),coLoR0000FF;DRAwIcon(FILTeR(xg,3),L*0.985,23);geT:=ZIg(3,3),coLoRYeLLow;pL5:=ZIg(3,5);en1:=ZIg(3,5)>ReF(ZIg(3,5),1)AnDReF(ZIg(3,5),1) ex1:=ZIg(3,5)=ReF(ZIg(3,5),2)ReF(ZIg(3,5),2)>=ReF(Z Ig(3,5),3);pL10:=ZIg(3,10);en2:=ZIg(3,10)>ReF(ZIg(3,10),1)AnDReF(ZIg(3,10),1) ex2:=ZIg(3,10)=ReF(ZIg(3,10),2)ReF(ZIg(3,10),2)>=Re F(ZIg(3,10),3);pL20:=ZIg(3,20);en3:=ZIg(3,20)>ReF(ZIg(3,20),1)AnDReF(ZIg(3,20),1) ex3:=ZIg(3,20)=ReF(ZIg(3,20),2)ReF(ZIg(3,20),2)>=Re F(ZIg(3,20),3);pL40:=ZIg(3,40);走强1:=bARsLAsT(pL5 走弱1:=bARsLAsT(pL5>ReF(pL5,1));走强2:=bARsLAsT(pL10 走弱2:=bARsLAsT(pL10>ReF(pL10,1));走强3:=bARsLAsT(pL20 走弱3:=bARsLAsT(pL20>ReF(pL20,1));ZTJZ5:=IF(pL10>ReF(pL10,1),counT(en1,走强2),0);ZTJD5:=IF(pL10>ReF(pL10,1),counT(ex1,走强2),0);DTJZ5:=IF(pL10 DTJD5:=IF(pL10ZTJZ10:=IF(pL20>ReF(pL20,1),counT(en2,走强3),0);ZTJD10:=IF(pL20>ReF(pL20,1),counT(ex2,走强3),0);DTJZ10:=IF(pL20 DTJD10:=IF(pL20DRAwTexT(en1AnDDTJZ5=1,L*0.98,(A)),coLoRFFFF00;DRAwTexT(ex1AnDDTJD5=2,h*1.02,(b)),coLoRFF00FF;AnDA nDAnDAnDAnDAnDDRAwTexT(en2AnDZTJZ5=1,L*0.98,(c)),coLoR0000FF;DRAwTexT(en2AnDDTJZ10=1,L*0.93,Ⅰ),coLoRFF00FF;DRAwTexT(ex2AnDDTJD10=2,h*1.05,Ⅱ),coLoRFFFF00;DRAwTexT(en3AnDZTJZ10=1,L*0.93,Ⅲ),coLoR0000FF;DRAwTexT(ex2AnDpL20>ReF(pL20,1)AnDZTJD10=1,h*1.03,①),LIneThIcK3,coLoR00FFFF;DRAwTexT(en2AnDpL20>ReF(pL20,1)AnDZTJZ10=2,L*0.95,②),LIneThIcK3,coLoR00FFFF;DRAwTexT(ex2AnDpL20>ReF(pL20,1)AnDZTJD10=2oR(ZTJD10=0oRZTJD10=2)AnDex2,h*1.03,③),LIneThIcK3,coLoR00FFFF;DRAwTexT(en2AnDpL20>ReF(pL20,1)AnDZTJZ10=3,L*0.95,④),LIneThIcK3,coLoR00FFFF;TJ11:=en2AnDZTJZ5=1;TJ22:=en1AnDpL10>ReF(pL10,1)AnDZTJZ5=2;TJ33:=en2AnDDTJZ10=1;TJ44:=en3AnDZTJZ10=1;TJ55:=en2AnDpL20>ReF(pL20,1)AnDZTJZ10=2;xg22:=TJ11oRTJ22oRTJ33oRTJ44oRTJ55;mm:=c>hRY33AnDhRY33>=ReF(hRY33,1);QQ:=hRY33>=ReF(hRY33,1);xg11:=cRoss(c,hRY33)AnDQQAnDmm;buY1:=LAsT(cLose>mA(cLose,55),0,5);buY2:=exIsT(cLose buY:=cLose>mA(cLose,55) w18:=FILTeR(exIsT(xg11oRbuY,1),5);sTIcKLIne(w18,c,(c+o)/2,4,0),coLoRFF00FF;DRAwTexT(w18,L*0.97,牛),coLoR00FFFF;x1:=ReF(c,1)/hhV(h,20)x2:=(mIn(c,o)-L)/(h-L)>0.67;x3:=(hIgh-mAx(cLose,open))/(hIgh-Low)x4:=Abs(c-o)/c Down:=o>c;x5:=counT(Down,7)>=5;xg8:=x1AnDx2AnDx3AnDx4AnDx5;DRAwTexT(xg8,L*0.98,螺),coLoR00FFFF;AA:=ReF(c,1)/ReF(o,1) bb:=c/o>1.03;cc:=c>ReF(o,1);TJ81:=AAAnDbbAnDcc;x81:=ReF(c,1)/hhV(h,20) Dn:=o>c;x82:=counT(Dn,7)>=5;x83:=c=hhV(c,3);xg81:=TJ81AnDx81AnDx82;xg82:=x81AnDx82AnDx83;xg88:=xg81oRxg82;DRAwTexT(xg88,L*0.96,反),coLoR00FFFF;x01:=ReF(c,1)/hhV(h,21) {Down1:=o>c;x02:=counT(Down1,9)>=6;}x03:=Abs(c-o)/c x04:=(h-L)/c>0.025;xg0:=x01AnDx03AnDx04;DRAwTexT(xg0,L*0.97,星),coLoR00FFFF;s1:=ReF(c,1)/LLV(L,w)>1.30;s2:=(h-mAx(c,o))/(h-L)>0.60;s3:=Abs(c-o)/c s4:=(h-o)/c>0.05AnDcsAL1:=s1AnDs2AnDs3;sAL2:=s1AnDAbs(c-o)/c>0.05AnDcsAL3:=s1AnDAbs(c-o)/c sAL4:=s1AnDs4;sAL5:=(h-mAx(c,o))/(h-L)>0.67AnDcsAL:=sAL1oRsAL2oRsAL3oRsAL4oRsAL5;Lc:=ReF(cLose,1);RsI:=smA(mAx(cLose-Lc,0),4.1,1)/smA(Abs(cLose-Lc),4 .1,1)*100;黄买:=FILTeR((ReF(cLose,2) 黄卖:=FILTeR((ReF(cLose,2)>cLoseAnDRsI>80),7);红买:=FILTeR(cRoss(RsI,11),7);红卖:=FILTeR(cRoss(89,RsI),7);绿买:=FILTeR(cRoss(RsI,20),7);绿卖:=FILTeR(cRoss(80,RsI),7);sL1:=红卖AnD绿卖;sL2:=红卖AnD绿卖AnD黄卖;bu:=红买AnD绿买;ss1:=cRoss(mA(c,5),c);ss2:=(ReF(c,1)-c)/ReF(c,1)>0.04;ss3:=o JJ1:=ss1AnDss2AnDss3;ssL:=JJ1AnDs1;sAL8:=FILTeR(sALoRssL,5);DRAwTexT(sAL8oRsL1oRsL2,h*1.02,卖),coLoR00FF00;sTIcKLIne(sAL8oRsL1oRsL2,c,o,1,0),coLoRFF0000;DRAwTexT(sAL8AnDsL1AnDsL2,h*1.02,必卖),coLoR00FF00;mA20:=mA(cLose,20);AA10:=mA(cLose,8);中期大底:=LLV(Low,30);支撑:=hhV(emA(((((open+Low)+hIgh)+cLose)/4),5),60);压力一:=hhV(Low,20);中线:=mA(cLose,3);天:=(mA(Low,15)*0.985);人:=(mA(Low,15)*0.96);地:=(((hIgh+Low)+cLose)/3);b1:=hhV(地,(4*15));b6:=LLV(地,(4*15));b7:=(b1-b6);b8:=(mA(((地-b6)/b7),2)*80);短期底部:=(LLV(hIgh,30)*0.93);mA80:=LLV(hIgh,30);压力二:=(smA(hIgh,21,2)*1.035);下档线:=(((cLose-LLV(Low,13))/(hhV(hIgh,13)-LLV(Low,13)))*100);RsV8:=smA(下档线,3,1);K8:=smA(RsV8,3,1);D8:=((3*RsV8)-(2*K8));J12:=(((cLose-LLV(Low,55))/(hhV(hIgh,55)-LLV(Low,55 )))*100);K24:=smA(smA(J12,3,1),3,1);D24:=((3*smA(J12,3,1))-(2*K24));压力位:=IF(cRoss(D24,D),hIgh,L);长期底部:=LLV(hIgh,30);x18:=emA((((((3*cLose)+hIgh)+Low)+open)/6),10);逃遁:=(smA(hIgh,21,2)*1.05);TJ18:=FILTeR(((((LLV(Low,0)AnD((mA(cLose,37)-ReF(mA (cLose,37),1))>0))AnD(Low0.13)),7);图公式2代码pJJ:=DmA((h+L+c*2)/4,0.9);JJ:=ReF(emA(pJJ,3),1);QJJ:=VoL/((h-L)*2-Abs(c-o));xVL:=IF(c>o,QJJ*(h-L),IF(c+IF(c>o,0-QJJ*(h-c+(o-L)),IF(c 攻击流量:=hsL*0.55+ReF(hsL,1)*0.33+ReF(hsL,2)*0.22;gJJ:=e mA(攻击流量,2);DIFF:=(emA(gJJ,12)-emA(gJJ,26)),coLoRgReen;篇二:通达信改良主力追踪指标公式通达信改良主力追踪指标公式V1:=(c*3+h+L)/5*10;V2:=emA(V1,13)-emA(V1,34);V3:=emA(V2,5);V4:=2*(V2-V3)*5.5;V5:=(hhV(InDexh,8)-InDexc)/(hhV(InDexh,8)-LLV(InDex L,8))*8;V6:=emA(3*V5-2*smA(V5,18,1),5);V7:=(InDexc-LLV(InDexL,8))/(hhV(InDexh,8)-LLV(InDex L,8))*10;V8:=(InDexc*2+InDexh+InDexL)/4;V9:=emA(V8,13)-emA(V8,34);VA:=emA(V9,3);Vb:=(V9-VA)/2;0;主力动向:emA(V4,2),coLoRReD;机构动向:emA(Vb,2),coLoRmAgenTA;(sLope(主力动向,2)>0AnDsLope(机构动向,2)>0,主力动向),coLoRReD,LIneThIcK4;(sLope(主力动向,2) (sLope(机构动向,2)>0AnDsLope(主力动向,2)>0,机构动向),coLoRmAgenTA,LIneThIcK4;(sLope(机构动向,2)ZLcm:=emA(wInneR(cLose)*70,3);shcm:=emA((wInneR(cLose*1.1)-wInneR(cLose*0.9))*80, 3);ZZLKp:=ZLcm/(ZLcm+shcm)*100;ZZLJJ:=emA(ZZLKp,89);ZJLRQD:=ZZLKp-ZZLJJ;AA:=emA(ZJLRQD,1);bb:=emA(AA,5);cc:=AA-bb;sTIcKLIne(ccsTIcKLIne(cc>ReF(cc,2),cc,0,5,1),coLoRReD;主力资金试盘:IF(cRoss(AA,bb),3,0),sTIcK,LIneThIcK4,coLoR0080FF;主力对倒出货:IF(cRoss(bb,AA),-3,0),sTIcK,LIneThIcK4,coLoR00FF 00;DRAwIcon(主力资金试盘>0,5,4);DRAwIcon(主力对倒出货VAR1:=ReF((Low+open+cLose+hIgh)/4,1);VAR2:=smA(Abs(Low-VAR1),13,1)/smA(mAx(Low-VAR1,0),1 0,1);VAR3:=emA(VAR2,10);VAR4:=LLV(Low,33);VAR5:=emA(IF(Low 惨跌:sTIcKLIne(VAR5>ReF(VAR5,1),0,VAR5,7,0),coLoRmAge nTA;主力拉升:sTIcKLIne(VAR5 篇三:百发百中炒股指标公式通达信百发百中炒股指标公式通达信彩虹战法均线1:mIn(mIn(mIn(mA(cLose,5),mA(cLose,10)),mA(cLose,20 )),mA(cLose,30));辅助线1:mIn(hhJ_智能辅助.hhJsJDb,hhJ_智能辅助.hhJsJDc);均线2:mAx(mAx(mAx(mA(cLose,5),mA(cLose,10)),mA(cLose,20 )),mA(cLose,30));辅助线2:mAx(hhJ_智能辅助.hhJsJDb,hhJ_智能辅助.hhJsJDc);最高:mAx(均线2,辅助线2);最低:mIn(均线1,辅助线1);cLose>openandLow andcLose>mAx(均线2,辅助线2)and最高/最低出水芙蓉的指标公(mA.mA1>oandmA.mA1oandmA.mA2oandmA.mA3oandmA.mA4=3;回档反弹zlzz:=hhJ_主力追踪.#选股指标;x1:=counT(zlzz>ReF(zlzz,1),10)>=8;x2:=counT(zlzz>ReF(zlzz,1),3)=3;x3:=lowhhJ_智能辅助.hhJsJDbandhhJ_智能辅助.hhJsJDb>hhJ_智能辅助.hhJsJDcandcLose/hhJ_智能辅助.hhJsJDb x1andx2andx3;均线粘合ma(c,5)/ma(c,10) andma(c,5)/ma(c,10)>0.99andma(c,10)/ma(c,20)andma(c,10)/ma(c,20)>0.99andma(c,20)/ma(c,30)andma(c,20)/ma(c,30)>0.99andcRoss(ma(cLose,5),ma(cLose,10));控盘度增加hY主力控盘.控盘程度>ReF(hY主力控盘.控盘程度,1);流动资金三日红Kp:=hhJ_流动资金.活跃度;A1:=ReF(Kp,1);A2:=ReF(Kp,2);A3:=ReF(Kp,3);counT( Kp>A1,1)andA1>A2andA2>A3;主力追踪三日向上AA:=wY_主力统计.主力统计;A1:=ReF(AA,1);A2:=ReF(AA,2);A3:=ReF(AA,3);count(AA>A1,1)AnDA1>A2AnDA2>A3;粉进黄出mA6:mA(c,6),coLoR0000FF;mA18:mA(c,18),coLoR0096FF;mA30:mA(c,30),coLoR00FF99;mA60:mA(c,60),coLoRFF00FF;m250:emA(c,250),coLoRReD,LIneThIcK3;AAF:LLV(Low,34),LIneThIcK1,coLoRFFFFcc;bbF:mA(AAF,4),LIneThIcK1,coLoRYeLLow;Lc:=ReF(cLose,1);RsI:=smA(mAx(cLose-Lc,0),4,1)/smA(Abs(cLose-Lc),4,1 )*100;DRAwIcon(cRoss(84,RsI),h*1.03,5);DRAwIcon(cRoss(RsI,11),L*0.99,4);VAR27:=ReF(cLose,1);VAR28:=smA(mAx(cLose-VAR27,0),5,1)/smA(Abs(cLose-VA R27),6,1)*100;DRAwIcon(IF(cRoss(76,VAR28),1,0),h*1. 03,5);DRAwTexT(FILTeR(emA(cLose,60)-emA(cLose,12)>0 emA(cLose,12)/Low>1.15,5),Low,☆),LIneThIcK7,coLoRFF00FF;VARA:=((AmounT)/(VoL))/(100);VARb:=((3)*(hIgh)+Low+open+(2)*(cLose))/(7);VARc:=((sum(AmounT,7))/(VARA))/(100);VARD:=DmA(VARb,(VoL)/(VARc));VARe:=((cLose-VARD)/(VARD))*(100);AnDVARF:=((cLose-LLV(Low,34))/(hhV(hIgh,34)-LLV(Low,34 )))*(100);VARJ:=mA(VARe,20)+sTD(VARe,20);bIAs18:=((cLose-mA(cLose,18))/(mA(cLose,18)))*(100);AA:=smA(VARF,3,1);ss:=(ReF(bIAs18,1)>=5)AnDcRoss(VARJ,VARe)AnD(AA>79);DRAwTexT((ReF(bIAs18,1)>=5)AnDcRoss(VARJ,VARe)AnD (AA>ss),h*1.02,☆),LIneThIcK7,coLoRgReen;VAR1:=ZIg(3,10)ReF(ZIg(3,10),2);{ZIg有未来}VAR2:=ZIg(3,10)>ReF(ZIg(3,10),1)AnDReF(ZIg(3,10),1) sTIcKLIne(VAR1,c,o,3,0),coLoRYeLLow,LIneThIc。
通达信指标公式源码 没有未来函数的超级好用指标
AAA:=EMA(CLOSE,1);庄影难逃:=EMA((AAA-REF(AAA,1))/REF(AAA,1),1)*100;BBB:=EMA(庄影难逃,5);CCC:=EMA(BBB,11);主力动向:=(EMA(BBB+CCC,1)-EMA(BBB-CCC,1))*50,COLORFF00FF,NODRAW; DDD:EMA(主力动向,11)*10,COLORFF00FF,NODRAW;主力:=DDD;AA:0;STICKLINE(主力<0,主力,0,4,0),COLOR009900;STICKLINE(主力<0,主力,0,3,0),COLOR00BB00;STICKLINE(主力<0,主力,0,2,0),COLOR00DD00;STICKLINE(主力<0,主力,0,1,0),COLOR00FF00;STICKLINE(主力>REF(主力,1) AND 主力<0,主力,0,4,0),COLORFF6600; STICKLINE(主力>REF(主力,1) AND 主力<0,主力,0,3,0),COLORFF9900; STICKLINE(主力>REF(主力,1) AND 主力<0,主力,0,2,0),COLORFFCC00; STICKLINE(主力>REF(主力,1) AND 主力<0,主力,0,1,0),COLORCYAN; STICKLINE(主力>REF(主力,1) AND 主力>0,主力,0,4,0),COLOR000099; STICKLINE(主力>REF(主力,1) AND 主力>0,主力,0,3,0),COLOR0000BB; STICKLINE(主力>REF(主力,1) AND 主力>0,主力,0,1.5,0),COLOR0000DD; STICKLINE(主力>REF(主力,1) AND 主力>0,主力,0,0.5,0),COLOR0000FF; VAR2:=EXPMEMA(EMA(WINNER(C)*100,2),1);STICKLINE(VAR2>50 AND COST(60)<C AND 主力>0,主力,0,4,0),COLOR000099;STICKLINE(VAR2>50 AND COST(60)<C AND 主力>0,主力,0,3,0),COLOR0000BB;STICKLINE(VAR2>50 AND COST(60)<C AND 主力>0,主力,0,2,0),COLOR0000DD;STICKLINE(VAR2>50 AND COST(60)<C AND 主力>0,主力,0,1,0),COLOR0000FF;STICKLINE(主力<REF(主力,1) AND 主力>0,主力,0,4,0),COLOR000099; STICKLINE(主力<REF(主力,1) AND 主力>0,主力,0,3,0),COLOR0000CC; STICKLINE(主力<REF(主力,1) AND 主力>0,主力,0,2,0),COLOR0000FF; STICKLINE(主力<REF(主力,1) AND 主力>0,主力,0,1,0),COLORCC99FF;。
史上最全无未来函数指标公式
史上最全无未来函数指标公式什么是无未来函数指标公式,简而言之就是指标所使用的函数中不调用未来的参数,这样指标就不会发生摆动和漂移,这样才是投资者想要的指标!今天瑞力选股收集这些无未来指标供大家参考,希望对投资理财带来重要帮助,欢迎大家验证并且提出自己的观点。
更多信息欢迎大家点击瑞力选股:《无未来函数指标公式与未来函数整理》更多选股公式欢迎大家阅读《专业选股公式指标大全》。
主力进出(选股)VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);VAR3:=EMA(VAR2,10);VAR4:=LLV(LOW,33);VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),5);VAR5>REF(VAR5,1) AND VAR5>20;加入变黄:买线:=EMA(CLOSE,2);卖线:=EMA(SLOPE(CLOSE,21) * 20 + CLOSE,42);BU:=CROSS(买线,卖线);STICKLINE(BU,OPEN,CLOSE,2,0),COLOR00FFFF;1 长线黑马BBI1:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLO SE,24))/4;BBI2:(MA(CLOSE,6)+MA(CLOSE,18)+MA(CLOSE,54)+MA(CL OSE,162))/4;DRAWICON(CROSS(BBI1,BBI2),BBI2,1);DRAWTEXT(CROSS(BBI1,BBI2),BBI2-0.3,'←长线黑马'),COLORYELLOW,LINETHICK9;醉眼看市MA5:MA(CLOSE,5);MA10:MA(CLOSE,10);MA30:MA(CLOSE,30);MA60:MA(CLOSE,60);红轨道:=MA(MA(CLOSE,3),1),LINETHICK1,COLORYELLOW;绿轨道:=MA(MA(CLOSE,3),3);上升:IF(红轨道>=绿轨道,绿轨道,DRAWNULL),COLORRED,LINETHICK2;AA1:=3*SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1)-2*SMA(SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1),3,1);加仓:=IF(CROSS(AA1,REF(AA1+0.01,1)) AND LLV(AA1,2)=LLV(AA1,8) AND BETWEEN(AA1,20,60),1,0);波段底:=(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));DRAWICON(加仓,L*0.97,7);DRAWICON(CROSS(波段底,3),L*0.97,1);A:=(3*C+L+O+H)/6;X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A, 4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF (A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*RE F(A,17)+2*REF(A,18)+REF(A,20))/210;MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);CB:=EMA(X,13);卖:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0);DRAWTEXT(FILTER(卖=1,1),HIGH*1.02,'卖'),COLORWHITE;买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);DRAWTEXT(FILTER(买=1,5),LOW-0.03,'买'),COLORRED;RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;BDGD:=HHV(J,2)=HHV(J,8) AND J>80;注意:=IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),1,0);DRAWTEXT(注意 AND 卖!=1,HIGH*1.02,'减'),COLORFFFF50;加仓A:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;DRAWTEXT(FILTER((CROSS(加仓A,0) OR CROSS(CLOSE,CB)) AND 买!=1,3),LOW-0.03,'加'),COLOR0080FF;MA18:=MA(C,18);跟:=IF(MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18),1,0);DRAWTEXT(MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18),LOW*0.96,'跟'),COLOR7F52AF;买价:=((C-REF(MA5,1))/5+MA5)*1.004;买条件:=CROSS(C,买价) AND 买价>REF(买价,1);醉白K买进:IF(买条件,L,H),COLORWHITE,POINTDOT;STICKLINE(买条件,H,L,0,1),COLORWHITE,LINETHICK2;STICKLINE(买条件,O,C,4,1),COLORWHITE,LINETHICK2;加码价:=((C-REF(MA10,1))/20+MA10)*1.004;加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);醉黄K加码:IF(加码条件,L,H),COLORYELLOW,POINTDOT;STICKLINE(加码条件,H,L,0,1),COLORYELLOW,LINETHICK2;STICKLINE(加码条件,O,C,4,1),COLORYELLOW,LINETHICK2;大牛买卖买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);STICKLINE(买线>=卖线,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0), COLOR781836;DRAWKLINE(H,O,L,C);指导线:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA( CLOSE,24))/4,2);买:IF(CROSS(指导线,界) OR CROSS(买线,卖线),C,DRAWNULL),COLORMAGENTA,NODRAW;持仓:IF(买线>=卖线,C,DRAWNULL),COLORRED,NODRAW;卖:IF(CROSS(界,指导线) OR CROSS(卖线,买线),C,DRAWNULL),COLORLIGRAY,NODRAW;空仓:IF(买线<卖线,C,DRAWNULL),COLORGREEN,NODRAW;支撑:MA(REF(LLV(C,30),1),2),COLORABFF46; AA1:=AMOUNT/V;BB1:=L<AA1*0.9;JJ:=(CLOSE+HIGH+LOW)/3;压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;A:=EMA(JJ,10);B:=REF(A,1);VAR1:=STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6,1),COLOR RED;VAR2:=STICKLINE(CLOSE>=OPEN,OPEN,LOW,0.5,0),COLOR RED;STICKLINE(CLOSE>=OPEN,HIGH,CLOSE,0.5,0),COLORRED;VAR3:=STICKLINE(CLOSE<OPEN,CLOSE,OPEN,6,0),COLORG REEN;VAR4:=STICKLINE(CLOSE<OPEN,HIGH,OPEN,0.5,0),COLORG REEN;STICKLINE(CLOSE<OPEN,LOW,CLOSE,0.5,0),COLORGREEN;STICKLINE(A>B,A,B,5,0),COLORYELLOW;STICKLINE(A<B,A,B,5,0),COLORBLUE;K:=(C+H+L)/3;D:=MA(K,4);操作:D,COLORWHITE,LINETHICK2;VAR37:=EMA(EMA(EMA(CLOSE,2),2),2);VAR47:=(MA(VAR37,47))*(0.99);DRAWTEXT((MA(CLOSE,13) > MA(CLOSE,18)) AND CROSS(CLOSE,MA(CLOSE,4)) AND (MA(CLOSE,4) < MA (CLOSE,13)),(LOW)*(0.95),'进'),COLOR00FF00;B36:=MA(CLOSE,3) - MA(CLOSE,6);B612:=MA(CLOSE,6) - MA(CLOSE,12);J:=((B36)/(CLOSE))*(10);J1:=((B612)/(CLOSE))*(10);DRAWTEXT((J < (-0.2)) AND (J1 < (-0.2)) AND CROSS(J,J1),(LOW)*(0.95),'大牛'),COLORRED;KS:=((CLOSE - MA(CLOSE,13))/(MA(CLOSE,13)))*((-200));RKS:=REF(KS,1);FT:=((RKS)/(KS) >= 1.23) AND (RKS >= 8) AND((CLOSE)/(REF(CLOSE,1)) >= 1.03);反弹:STICKLINE(FT,HIGH,LOW,0,1),LINETHICK2,COLOR00FF00;STICKLINE(FT,OPEN,CLOSE,8,0),COLORYELLOW;VAR10:=MA(CLOSE,80) - (MA(CLOSE,10))/(3);VAR11:=REF(CLOSE,1);VAR12:=((SMA(MAX(CLOSE - VAR11,0),18,1))/(SMA(ABS(CLOSE - VAR11),18,1)))*(100);DRAWICON(CROSS(79,VAR12),(HIGH)*(1.035),2),COLOR008 000;AK1:=EMA(((CLOSE - VAR1)/(VAR2 - VAR1))*(100),5);AK:=EMA(((CLOSE - VAR1)/(VAR2 - VAR1))*(50),13);DD:=EMA((0.667)*(REF(AK1,1)) + (0.333)*(AK1),2);VAR5:=EMA(((CLOSE - VAR3)/(VAR4 - VAR3))*(100),3);VAR6:=(AK + VAR5)/(2);VAR7:=EMA((0.667)*(REF(VAR5,1)) + (0.333)*(AK1),2);VAR8:=EMA(VAR6,5);BB:=EMA((0.667)*(REF(VAR8,1)) + (0.333)*(VAR8),2);AB:=CROSS(AK1,AK);CD:=(BB1)*(0.6);DRAWTEXT((AB = 1),(LOW)*(0.98),'■'),LINETHICK2,COLOR66FFCC;DRAWTEXT((AB = 1),(LOW)*(0.94),'拐点 '),COLOR33CC99;VAR111:=(((CLOSE - MA(CLOSE,6))/(MA(CLOSE,6)))*(200) + ((CLOSE - MA(CLOSE,24))/(MA(CLOSE,24)))*(200) + ((CLOSE - MA(CLOSE,32))/(MA(CLOSE,32)))*(200))/(3);DRAWICON((VAR111 > 20) AND FILTER((VAR111 < REF(VAR111,1)),5),(HIGH)*(1.02),2),COLORFF00FF;DRAWTEXT(REF(C,1)>D AND C<D AND D>REF(D,1),H*1.02, '卖');DRAWTEXT(REF(C,1)<D AND C>D AND D<REF(D,1),L*0.98, '买'),COLORWHITE;波段买卖底部:10;卖出线: 99;趋势1:=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),COLOR0000FF,LINETHICK2;买入警戒:IF(趋势1<=10,20,0),COLOR00FFFF;卖出警戒: IF(趋势1>=90,80,100),COLOR00FF00;RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);VARA:=REF(LOW,1);VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100;VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3);K:=SMA(RSV,3,1),COLOR00FFFF,LINETHICK2;D:=SMA(K,3,1),COLOR00FFFF,LINETHICK2;J:=3*K-2*D,LINETHICK2,COLORFFFFFF;VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;高抛: 80;VAR2:=LLV(LOW,34);VAR3:=HHV(HIGH,34);SK: EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13),LINETHICK2,COLORFFFFFF;SD: EMA(SK,3),LINETHICK2,COLOR00FF00;DRAWBAND(SK,RGB(250,0,10),SD,RGB(20,200,0));STICKLINE(CROSS(J,3),20,1,2,0),COLOR000FFF,LINETHICK3;DRAWTEXT(CROSS(J,3),55,'跟庄');VAR1N:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR2N:=EMA(VAR1N,30);VAR3N:=EMA(VAR2N,30);VAR4N:=3*VAR2N-2*VAR3N;势:EMA(VAR4N,5),COLORBLUE,LINETHICK3;VAR5:=LLV(LOW,10);VAR6:=HHV(HIGH,25);决策线:EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4),COLORRED,LINETHICK2;DRAWTEXT(CROSS(80,决策线),105,'闪'),COLOR00FF00;DRAWICON(CROSS(80,决策线),110,2);STICKLINE(势>80,势,80,1,0),COLORGREEN;STICKLINE(势<10,势,10,1,0),COLOR00FFFF;DRAWTEXT(CROSS(10,势),35,'进'),COLOR000FFF;DRAWICON(CROSS(10,势),0,1);2 黑牛均线买线:=EMA(CLOSE,2);卖线:=EMA(SLOPE(CLOSE,21) * 20 + CLOSE,42);BU:=CROSS(买线,卖线);SEL:=CROSS(卖线,买线);DRAWTEXT(BU,(LOW * 0.97),'▲'),COLOR0000FF;DRAWTEXT(BU,(LOW * 0.95),'▲'),COLOR0000FF;DRAWTEXT(BU,(LOW * 0.93),'▲'),COLOR0000FF;DRAWTEXT(SEL,(HIGH * 1.03),'▼'),COLORFF6600;DRAWTEXT(SEL,(HIGH * 1.045),'▼'),COLORFF6600;DRAWTEXT(SEL,(HIGH * 1.065),'▼'),COLORFF6600;STICKLINE(买线 >= 卖线,LOW,HIGH,0.0,1),COLOR0000FF;STICKLINE(买线 >= 卖线,CLOSE,OPEN,2,1),COLOR0000FF;STICKLINE(买线 < 卖线,LOW,HIGH,0.0,1),COLOR009900;STICKLINE(买线 < 卖线,CLOSE,OPEN,2,1),COLOR009900;STICKLINE(BU,OPEN,CLOSE,2,0),COLOR00FFFF;STICKLINE(SEL,OPEN,CLOSE,2,0),COLORFF3300;主力:EMA(CLOSE,10),COLOR0000FF;散户:EMA(CLOSE,5),COLORFFFFFF;绿降:(46.18 * EMA(CLOSE,10) - 31.82 * EMA(CLOSE,4)) / 14.36,COLOR33FF00,LINETHICK1;操盘:MA(CLOSE,9),COLORFF00FF,LINETHICK2;界点:MA(CLOSE,20),COLORFF9900;LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWTEXT(CROSS(FF,MA15),(LOW * 0.96),'底'),COLOR0099FF;DRAWTEXT(CROSS(FF,MA15),(LOW * 0.915),'背'),COLOR0099FF;DRAWTEXT(CROSS(FF,MA15),(LOW * 0.88),'离'),COLOR0099FF;TR:=MAX(MAX((HIGH - LOW),ABS(REF(CLOSE,1) - HIGH)),ABS(REF(CLOSE,1) - LOW));ATR:=MA(TR,14);AA:=(HHV(HIGH,20) - (2 * ATR));BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE);BBB:=BARSLAST(BB);SSSB:=BARSLAST(SSS);B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1)));B1B:=BARSLAST(B1);B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3));B2B:=BARSLAST(B2);B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2));DRAWTEXT((B1 = 1),(LOW * 0.96),'跟'),COLOR00FFFF;DRAWTEXT((B1 = 1),(LOW * 0.92),'进'),COLOR00FFFF;DRAWTEXT((B2 = 1),(LOW * 0.96),'加'),COLOR88FFFF;DRAWTEXT((B2 = 1),(LOW * 0.925),'码'),COLOR88FFFF;3 主图买卖A1:=DATE <= 13181231;工作线:(EMA(C,14)) * A1,POINTDOT,LINETHICK4,COLORYELLOW;AA05:MA(C,5),LINETHICK3,COLOR0099CC;五日乖离率:=(C-AA05)/AA05*100;BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);加速度5:EMA((速度5-REF(速度5,1)),3),NODRAW;IF(BB05>30 AND AA05>REF(AA05,1), AA05,DRAWNULL),LINETHICK2,COLORRED;AA10:MA(C,10), LINETHICK0;AA20:=MA(C,20);BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;IF(BB05<0 AND AA05<REF(AA05,1), AA05,DRAWNULL),LINETHICK2,COLORFFFF00;AA30:MA(C,30), LINETHICK0;三拾日乖离率:(C-AA30)/AA30*100,NODRAW;VAR1:=(AA20-AA30)>REF((AA20-AA30),1) AND AA20>REF(AA20,1) AND AA30>REF(AA30,1);VAR2:=(AA30-AA20)<REF((AA30-AA20),1) AND AA20<REF(AA20,1) AND AA30<REF(AA30,1);BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;强势狙击:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA10>REF(AA10,1)AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>AA30 OR O>AA30) AND AA05<REF(AA05,1) AND 三拾日乖离率<REF(三拾日乖离率,1) AND AA10<REF(AA10,1),10);DRAWTEXT(加仓,LOW*0.98,'←-----加仓'),COLORYELLOW;JC:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) AND AA10>REF(AA10,1) ;减仓:=FILTER(JC,10);MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;买入:=FILTER(MR,10);DRAWTEXT(减仓,HIGH*1.02,'←减仓'),COLORCYAN;DRAWTEXT(买入,LOW*0.98,'←买入'),COLORYELLOW;TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));VAR5:=CROSS(CCI,-100);VAR6:=CCI>=200;DRAWTEXT(VAR6,HIGH*1.02,'←----小心'),COLORYELLOW;SJ:=VAR5;STICKLINE(SJ,H,L,0.6,0),COLORYELLOW;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT(CROSS(84,RSI) , HIGH,'←-----逃'),COLORGREEN;VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),'←---大胆搏 '),COLORYELLOW;A:=(3*C+L+O+H)/6;X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A, 4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF (A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*RE F(A,17)+2*REF(A,18)+REF(A,20))/210;生命线:EMA(X,13),LINETHICK2,COLORMAGENTA;买线:=EMA(CLOSE,2);卖线:=EMA(SLOPE(CLOSE,21) * 20 + CLOSE,42);BU:=CROSS(买线,卖线);STICKLINE(BU,OPEN,CLOSE,2,0),COLOR00FFFF;主力成本:EMA(X,13),COLORFF00FF,LINETHICK0;趋势主图M1:=5;M2:=10;M3:=20;M4:=60;M5:=120;M6:=250;MA1:MA(CLOSE,M1);MA2:MA(CLOSE,M2);MA3:MA(CLOSE,M3);MA4:MA(CLOSE,M4);MA5:MA(CLOSE,M5);N1:=7;VAR1:=REF(C,1);VAR2:=SMA(MAX(C-VAR1,0),N1,1)/SMA(ABS(C-VAR1),N1,1)*1000;VAR3:=DRAWLINE(VAR2>=HHV(VAR2,N1),VAR2,VAR2<=LL V(VAR2,N1),VAR2,1);VAR4:=VAR2=VAR3;VAR5:=VAR2<REF(VAR2,1);RSV:=(C-LLV(L,25))/(HHV(HIGH,25)-LLV(L,25))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;VAR6:=(2*C+H+L)/3;{可将3该为4,信号少点}VAR7:=EMA(EMA(EMA(VAR6,4),4),4);{可将3该为4,信号少点} VAR8:=(VAR7-REF(VAR7,1))/REF(VAR7,1)*100;VAR9:=MA(VAR8,3)+0.03;VAR10:=MA(VAR8,1);KB:=EMA(C,3)-EMA(C,18);DB:=EMA(KB,3);AA:=BARSCOUNT(C);AH:=HHV(H,120);AL:=LLV(L,120);A0:=(AH-AL)/30;VAR2S:=(2*CLOSE+HIGH+LOW)/4;VAR3S:=IF(YEAR>=2099 AND MONTH>2,0,1);VAR4S:=LLV(LOW,5); VAR5S:=HHV(HIGH,4);散户:=EMA((VAR2S-VAR4S)/(VAR5S-VAR4S)*100,4)*VAR3S;庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3S;STICKLINE(KB<DB AND DB<REF(DB,1),C,OPEN,3.2,0),COLOR004400;STICKLINE(KB<DB AND DB<REF(DB,1),C,OPEN,2.7,0),COLOR006600;STICKLINE(KB<DB AND DB<REF(DB,1),C,OPEN,2.1,0),COLOR008800;STICKLINE(KB<DB AND DB<REF(DB,1),C,OPEN,1.5,0),COLOR00AA00;STICKLINE(KB<DB AND DB<REF(DB,1),C,OPEN,0.9,0),COLOR00CC00;STICKLINE(KB<DB AND DB<REF(DB,1),C,OPEN,0.3,0),COLOR00EE00;STICKLINE(KB>DB AND DB>REF(DB,1),C,OPEN,3.2,0),COLOR000055;STICKLINE(KB>DB AND DB>REF(DB,1),C,OPEN,2.7,0),COLOR000077;STICKLINE(KB>DB AND DB>REF(DB,1),C,OPEN,2.1,0),COLOR000099;STICKLINE(KB>DB AND DB>REF(DB,1),C,OPEN,1.5,0),COLOR0000BB;STICKLINE(KB>DB AND DB>REF(DB,1),C,OPEN,0.9,0),COLOR0000DD;STICKLINE(KB>DB AND DB>REF(DB,1),C,OPEN,0.3,0),COLOR0000FF;STICKLINE(CROSS(VAR9,VAR10) AND J>65,H,OPEN,3.15,0),COLORAA1100;STICKLINE(CROSS(VAR9,VAR10) ANDJ>65,H,OPEN,2.45,0),COLORAA3300;STICKLINE(CROSS(VAR9,VAR10) AND J>65,H,OPEN,1.75,0),COLORAA5500;STICKLINE(CROSS(VAR9,VAR10) AND J>65,H,OPEN,1.05,0),COLORAA7700;STICKLINE(CROSS(VAR9,VAR10) AND J>65,H,OPEN,0.35,0),COLORAA9900;STICKLINE(VAR4 AND VAR5,L,OPEN,3.15,0),COLOR1111FF;STICKLINE(VAR4 AND VAR5,L,OPEN,2.45,0),COLOR3333FF;STICKLINE(VAR4 AND VAR5,L,OPEN,1.75,0),COLOR5555FF;STICKLINE(VAR4 AND VAR5,L,OPEN,1.05,0),COLOR7777FF;STICKLINE(VAR4 AND VAR5,L,OPEN,0.35,0),COLOR9999FF;STICKLINE(CROSS(散户,庄家) AND 散户<30,L,OPEN,3.15,0),COLOR770077;STICKLINE(CROSS(散户,庄家) AND 散户<30,L,OPEN,2.45,0),COLOR990099;STICKLINE(CROSS(散户,庄家) AND 散户<30,L,OPEN,1.75,0),COLORBB00BB;STICKLINE(CROSS(散户,庄家) AND 散户<30,L,OPEN,1.05,0),COLORDD00DD;STICKLINE(CROSS(散户,庄家) AND 散户<30,L,OPEN,0.35,0),COLORFF00FF;STICKLINE(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),L,OPEN,3.15,0),COLOR337777;STICKLINE(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),L,OPEN,2.45,0),COLOR339999;STICKLINE(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),L,OPEN,1.75,0),COLOR33BBBB;STICKLINE(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),L,OPEN,1.05,0),COLOR33DDDD;STICKLINE(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),L,OPEN,0.35,0),COLOR33FFFF;STICKLINE((AA+0)/34=FLOOR((AA+0)/34),L,OPEN,3.15,1),C OLORFFFFFF;DRAWTEXT((AA+0)/34=FLOOR((AA+0)/34),L*1,'时间窗'),COLORFFFFFF;DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L*1,'吸'),COLORFF00FF;DRAWICON(CROSS(VAR9,VAR10) AND J>65,H*1,15),COLORGREEN;DRAWTEXT(CROSS(VAR9,VAR10) AND J>65,H*1,' 卖'),COLORYELLOW;DRAWICON(VAR4 AND VAR5,L*1,9);DRAWTEXT(VAR4 AND VAR5,L*1,' 买')COLORFFFFFF;DRAWTEXT(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),L*1,'地量买点'),COLOR33FFFF;资金流向指标源码TDX资金流向指标轴:0,COLOR4B4B4B;PJJ:=DMA((H + L + C * 2) / 4,0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=VOL / ((H - L) * 2 - ABS(C - O));XVL:=IF(C > O,QJJ * (H - L),IF(C < O,QJJ * (H - O + (C - L)),VOL / 2)) + IF(C > O,0 - QJJ * (H - C + (O - L)),IF(C < O,0 - QJJ * (H - L),0 - VOL / 2));ZLL:=VOL / CAPITAL;HSL1:=IF(ZLL > 10,10,ZLL);HSL:=XVL / 20 / 1.15;攻击流量:=HSL * 0.55 + REF(HSL,1) * 0.33 + REF(HSL,2) * 0.22;GJJ:=EMA(攻击流量,8);LLJX:=EMA(攻击流量,3);流量:LLJX,COLORC875B7,NODRAW;STICKLINE(流量 > 0,流量,0,2.3,0)COLOR0000FF;STICKLINE(流量 < 0,流量,0,2.3,0),COLORFF4242;流量基线:GJJ,COLOR00BBBB;STICKLINE(HSL * 0.4 >= 0,HSL * 0.4 * 1.5,0,0,1)COLORYELLOW;STICKLINE(HSL * 0.4 < 0,HSL * 0.4 * 1.5,0,0,1)COLORGREEN;ZJLL:=REF(LLJX,1);QZJJ:=(((LLJX - ZJLL) / ZJLL) * 100);流量幅%:IF(((LLJX > 0) AND (ZJLL < 0)),ABS(QZJJ),IF((((LLJX < 0) AND (ZJLL < 0)) AND (LLJX < ZJLL)),(0 - QZJJ),QZJJ))COLORWHITE,NODRAW;力度:HSL / 1000,COLOR9B37FF,NODRAW;周流量:SUM(LLJX,5),COLORFFBFDF,NODRAW;BB:=REF(周流量,1);ZQZJJ:=(周流量-BB)/BB*100;周幅%:IF(周流量>0 AND BB<0,ABS(ZQZJJ),IF(周流量<0 AND BB<0 AND 周流量<BB,-ZQZJJ,ZQZJJ))COLORWHITE,NODRAW;通达信..资金流向的选股方法短线是银选股公式源码(完全版)D!DFDDP多方叠叠炮Var1:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN;Var2:=Var1 AND REF(BARSLAST(Var1),1)<9 AND CLOSE/REF(CLOSE,10)>1.1;Var2;D!DFH东方红大阳升Var1:=VOL/CAPITAL*100;Var2:=Var1>4 AND CLOSE>REF(CLOSE,1);Var3:=COUNT(Var2,13)>=3;Var4:=CLOSE/REF(CLOSE,1)>1.049 AND Var1>5;Var5:=REF(SUMBARS(VOL,CAPITAL),13)>89;Var6:=HIGH/CLOSE<1.021;Var7:=COUNT(CLOSE/REF(CLOSE,1)>1.04,10)<5;Var8:=IF(COUNT(Var1>4,5)>=3,0,1);Var9:=Var3 AND Var4 AND Var5 AND Var6;Var9 AND (REF(BARSLAST(Var9),1)>20 OR BARSSINCE(Var9)=0);D!DFP多方炮Var1:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN;Var1;D!DIFSCLXDIF上穿零线Var1:=EMA(CLOSE,12)-EMA(CLOSE,26);COUNT(Var1>=0,60)=1 AND Var1>=0;D!DIFXCLXDIF下穿零线Var1:=EMA(CLOSE,12)-EMA(CLOSE,26);COUNT(Var1<=0,60)=1 AND Var1<=0;D!FLGT放量过头Var1:=HHV(HIGH,60);Var2:=CLOSE>Var1;Var3:=VOL>MA(VOL,5)*2.5 OR COUNT(VOL>MA(VOL,10),6)>4;Var2 AND Var3;D!HMCSF黑马草上飞Var1:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100;Var2:=COUNT(MA(CLOSE,60)>REF(MA(CLOSE,60),1),100)>9 5;Var3:=COUNT(Var1<20,100)>95;Var4:=COUNT(CLOSE>MA(CLOSE,60),100)>80;Var5:=CLOSE/REF(CLOSE,1)>1.04;Var6:=VOL/CAPITAL*100>2.8;Var7:=Var2 AND Var3 AND Var4 AND Var5 AND Var6;Var7 AND (REF(BARSLAST(Var7),1)>20 OR BARSSINCE(Var7)=0);D!KFP空方炮REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<OPEN;D!LBCJVar1:=MA(CLOSE,60);Var2:=COUNT(CLOSE<Var1,33)>31;Var3:=CROSS(CLOSE,Var1);Var4:=CLOSE/REF(CLOSE,1)>1.045;Var2 AND Var3 AND Var4;D!LYT老鸭头Var1:=MA(CLOSE,5);Var2:=MA(CLOSE,10);Var3:=MA(CLOSE,60);Var4:=BARSLAST(CROSS(Var1,Var3));Var5:=BARSLAST(CROSS(Var2,Var3));Var6:=BARSLAST(HIGH=HHV(HIGH,Var5));Var7:=BARSLAST(CROSS(Var2,Var1));Var8:=BARSLAST(CROSS(Var1,Var2));Var9:=Var4>Var5 AND Var5>Var6 AND Var6>Var7 AND Var7>Var8 AND Var8<5;VarA:=COUNT(CROSS(Var2,Var1),Var5)=1;Var9 AND VarA;D!LZMD量芝麻点Var1:=MA(VOL,40);Var2:=VOL/CAPITAL*100;Var3:=COUNT(VOL/Var1<1.3,14)>11;Var4:=CROSS(Var2,2);Var5:=CLOSE/REF(CLOSE,1)>1.025 AND CLOSE>OPEN;Var6:=Var3 AND Var4 AND Var5;Var6;D!QLQS青龙取水Var1:=MIN(MA(CLOSE,5),MA(CLOSE,10))>MA(CLOSE,60) AND CROSS(MA(CLOSE,5),MA(CLOSE,10));Var2:=MIN(MA(CLOSE,5),MA(CLOSE,10))/MA(CLOSE,60)<1.0 5;Var3:=COUNT(VOL<MA(VOL,10),10)>6;Var1 AND Var2 AND Var3;D!SSCJD三死叉见顶Var1:=5;Var2:=HHV(HIGH,20)/HIGH<=1.15;Var3:=MA(CLOSE,5);Var4:=MA(CLOSE,10);Var5:=MA(VOL,5);Var6:=MA(VOL,10);Var7:=EMA(CLOSE,12)-EMA(CLOSE,26);Var8:=EMA(Var7,9);Var9:=BARSLAST(CROSS(Var4,Var3));VarA:=BARSLAST(CROSS(Var6,Var5));VarB:=BARSLAST(CROSS(Var8,Var7));VarC:=IF(Var9<=Var1 AND VarA<=Var1 AND VarB<=Var1,1,0);VarC;D!TSJDXJ天上井地下井Var1:=MA(CLOSE,5);Var2:=MA(CLOSE,10);Var3:=MA(CLOSE,20);Var4:=MA(CLOSE,30);Var5:=COUNT(CROSS(Var3,Var1),21)=1 AND COUNT(CROSS(Var4,Var1),21)>0 AND COUNT(CROSS(Var3,Var2),21)>0 AND COUNT(CROSS(Var4,Var2),21)>0;Var6:=MA(VOL,5);Var7:=MA(VOL,10);Var8:=MA(VOL,20);Var9:=MA(VOL,30);VarA:=COUNT(CROSS(Var8,Var6),21)=1 AND COUNT(CROSS(Var9,Var6),21)>0 AND COUNT(CROSS(Var8,Var7),21)>0 AND COUNT(CROSS(Var9,Var7),21)>0;VarB:=COUNT(Var5,13)>0 AND COUNT(VarA,13)>0;VarB AND (REF(BARSLAST(VarB),1)>20 OR BARSSINCE(VarB)=0);D!VOLTUO量托n1=5,n2=10,n3=20Var1:=MA(VOL,N1);Var2:=MA(VOL,N2);Var3:=MA(VOL,N3);Var4:=COUNT(CROSS(Var1,Var2),21)=1 AND CROSS(Var2,Var3) AND COUNT(CROSS(Var1,Var3),21)=1 AND BARSLAST(CROSS(Var1,Var2))>BARSLAST(CROSS(Var1,Var3)) ANDBARSLAST(CROSS(Var1,Var3))>BARSLAST(CROSS(Var2,Var3)) AND Var1>REF(Var1,1);Var4;D!VOLYA量压n1=5,n2=10,n3=20Var1:=MA(VOL,N1);Var2:=MA(VOL,N2);Var3:=MA(VOL,N3);Var4:=COUNT(CROSS(Var2,Var1),21)=1 AND CROSS(Var3,Var2) AND COUNT(CROSS(Var3,Var1),21)=1 AND BARSLAST(CROSS(Var2,Var1))>BARSLAST(CROSS(Var3,Var1)) ANDBARSLAST(CROSS(Var3,Var1))>BARSLAST(CROSS(Var3,Var2)) AND Var1<REF(Var1,1);Var4;D!YYSCSJT一阳上穿三角托n1=20,n2=40,n3=60Var1:=MA(CLOSE,N1);Var2:=MA(CLOSE,N2);Var3:=MA(CLOSE,N3);Var4:=COUNT(CROSS(Var1,Var2),21)=1 AND CROSS(Var2,Var3) AND COUNT(CROSS(Var1,Var3),21)=1 AND BARSLAST(CROSS(Var1,Var2))>BARSLAST(CROSS(Var1,Var3)) ANDBARSLAST(CROSS(Var1,Var3))>BARSLAST(CROSS(Var2,Var3)) AND Var1>REF(Var1,1);Var5:=CLOSE>MAX(Var1,MAX(Var2,Var3)) AND OPEN<MIN(Var1,MIN(Var2,Var3));Var6:=COUNT(Var5,21)=1;Var4 AND Var6;DXSYJT短线是银之价托m1=20,m2=40,m3=60,NDAY=1Var1:=MA(CLOSE,M1);Var2:=MA(CLOSE,M2);Var3:=MA(CLOSE,M3);Var4:=BARSLAST(CROSS(Var1,Var2));Var5:=BARSLAST(CROSS(Var1,Var3));Var6:=BARSLAST(CROSS(Var2,Var3));Var7:=IF(Var4>Var5 AND Var5>Var6 AND Var6<=NDAY,1,0);Var8:=IF(Var1>Var2 AND Var2>Var3 AND CLOSE>Var1,1,0);Var7 AND Var8;DXSYLT短线是银之量托m1=20,m2=40,m3=60,NDAY=1Var1:=MA(VOL,M1);Var2:=MA(VOL,M2);Var3:=MA(VOL,M3);Var4:=BARSLAST(CROSS(Var1,Var2));Var5:=BARSLAST(CROSS(Var1,Var3));Var6:=BARSLAST(CROSS(Var2,Var3));Var7:=IF(Var4>Var5 AND Var5>Var6 AND Var6<=NDAY,1,0); Var8:=IF(Var1>Var2 AND Var2>Var3 AND VOL>Var1,1,0); Var7 AND Var8;HIGHVOL短线是银之绝对量顶天n=125IF(HHV(VOL,N)=VOL,1,0);交叉5日线上穿10日线且本次交叉距上次交叉50天以上Var1:=MA(CLOSE,5);Var2:=MA(CLOSE,10);Var3:=BARSLAST(CROSS(Var1,Var2));Var4:=REF(Var3,1);IF(Var4>=50 AND Var3=0,1,0);条件选股公式——短线是银之三金叉见底nday := 5;down := close/llv(low,60)<=1.2;pma1 := ma(close,5);pma2 := ma(close,10);vma1 := ma(vol,5);vma2 := ma(vol,10);diff := ema(close,12) - ema(close,26);dea := ema(diff,9);ppday := barslast(cross(pma1,pma2));vvday := barslast(cross(vma1,vma2));macdday := barslast(cross(diff,dea));sjcjd:= if((ppday<=nday and vvday<=nday and macdday<=nday),1,0);sjcjd唐能通<短线是银>中的选股方法:10合1指标[大智慧]{参数;N:5,30,8;ZF:1,10,5;m:1.100.3;n10:1.100.9;p1:1.100.3;p2:1.100.3} MA5 := MA(close,5);MA10 := MA(close,10);MA60 := MA(close,60);pday1 := barslast(cross(ma60,ma5));{5日均线下穿60日均线} pday2 := barslast(cross(ma60,ma10));{10日均线下穿60日均线,至此形成鸭颈部}pday3 := barslast(low=llv(low,pday2));{形成头部,要反弹}pday4 := barslast(cross(ma5,ma10));{反弹后,5日均线和10日均线金叉}pday5 := barslast(cross(ma10,ma5));{反弹不久,5日均线和10日均线形成死叉,形成嘴部}a1:= pday1>pday2 and pday2>pday3 and pday3>pday4 and pday4>pday5 and pday5<5;a2:= count(cross(ma10,ma5),pday2)=1;唐鸭头:A1 AND A2,COLORffff00;DRAWTEXT(唐鸭头,0.8 , '唐鸭头'),COLORred;Var1:=MA(CLOSE,5);Var2:=MA(CLOSE,10);Var3:=MA(CLOSE,60);Var4:=BARSLAST(CROSS(Var1,Var3));Var5:=BARSLAST(CROSS(Var2,Var3));Var6:=BARSLAST(HIGH=HHV(HIGH,Var5));Var7:=BARSLAST(CROSS(Var2,Var1));Var8:=BARSLAST(CROSS(Var1,Var2));Var9:=Var4>Var5 AND Var5>Var6 AND Var6>Var7 AND Var7>Var8 AND Var8<5;VarA:=COUNT(CROSS(Var2,Var1),Var5)=1;老鸭头:Var9 AND VarA and Var3>ref(Var3,1),COLORFF00FF;DRAWTEXT(老鸭头 ,0.8 , '老鸭头'),COLORred;nA1:=MIN(MA(C,5),MA(C,10))>MA(C,60) AND CROSS(MA(C,5),MA(C,10));nA2:=MIN(MA(C,5),MA(C,10))/MA(C,60)<1.05;nA3:=COUNT(V<MA(V,10),10)>6;青龙取水:nA1 AND nA2 AND nA3,COLOR00FF00,LINETHICK2;DRAWTEXT(青龙取水 ,0.8 , '青龙取水'),COLORred;线:=ma(c,180)>ref(ma(c,180),2) and count(cross(ma(c,5),ma(c,180)),6)>=1 and c/ma(c,180)>1.04,COLORblue;穿180线:ma(c,180)>ref(ma(c,180),2) and count(cross(ma(c,5),ma(c,180)),6)>=1 and c/ma(c,180)>1.04,COLORblue;DRAWTEXT(穿180线,0.8 , '180'),COLORblue;VAR32:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VAR33:=SMA(SMA(VAR32,3,1),3,1)/28.57;VAR34:=EMA(VAR33,5);VAR35:=3*VAR33-2*VAR34;绝买:CROSS(VAR35,VAR33) AND VAR33<2.1 andc>o,COLORred;DRAWTEXT(绝买,0.9,'绝买'),COLORred;ss1:=(LOW+HIGH+CLOSE*2)/4;ss2:= MA(ss1,4);ss3:=HHV(ss2,10);ss4:=ma(ss3,3);ss5:=1.25*ss4-0.25*ss3;xkkj:=if(ss5>ss3,ss3,ss5);ff1:=LLV(ss2,10);ff2:=ma(ff1,3);ff3:=1.25*ff2-0.25*ff1;dkkj:=if(ff3<ff1,ff1,ff3);ma13:=ma(c,13);zdhm:=cross(c,dkkj) and cross(c,ma13) and cross(c,xkkj);zhm:=cross(c,ma13) and cross(c,xkkj);的卢:zdhm or zhm,COLORgreen;DRAWTEXT(的卢,0.5,'的卢'),COLORred;MA111:=MA(CLOSE,20);MA112:=MA(CLOSE,40);MA113:=MA(CLOSE,60);A11:=OPEN<MA111 OR OPEN<MA112 OR OPEN<MA113,COLORred;A12:=C>MAX(MA111,MAX(MA112,MA113)),COLORred;A13:=V/MA(V,30)>1.2,COLORred;A14:=C/REF(C,1)>1.049,COLORred;芙蓉:A11 AND A12 AND A13 AND A14,COLORwhite;DRAWTEXT(芙蓉,0.3,'出水芙蓉'),COLORwhite;J:=(C*2+H+L)/4;K:=(EMA(J,13) - EMA(J,21))*180;D:=EMA(K,2);kk:=(K-D);dd:=-1*(K-D);ss:=CROSS(kk,dd);VARbb:=EMA(EMA(CLOSE,5),5);ll:=(VARbb-REF(VARbb,1))/REF(VARbb,1)*1000;mm:=CROSS(ll,0);黄买蓝出:ss and mm,COLORyellow;DRAWTEXT(黄买蓝出,0.5,'黄买蓝出'),COLORred;RSV100:=(CLOSE-LLV(LOW,N10))/(HHV(HIGH,N10)-LLV(LOW,N10))*100;K10:=SMA(RSV100,P1,1);D10:=SMA(K10,P2,1);J10:=3*K10-2*D10;kdj买点:j10<0,COLOR0066ff;DRAWTEXT(kdj买点,0.2,'kdj买点'),COLOR0066ff;Var201:=CLOSE-REF(CLOSE,1);Var202:=IF(CLOSE-REF(CLOSE,1)>=0,Var201,0);Var203:=REF(CLOSE,1)-CLOSE;Var204:=IF(CLOSE-REF(CLOSE,1)<=0,Var203,0);Var205:=SUM(Var202,8)/SUM(Var204,8);Var206:=1-1/(1+Var205);短线: EMA(Var206,3),COLORyellow;Var207:=LLV(LOW,50);Var208:=HHV(HIGH,50);Var209:=EMA(CLOSE,2);中线: EMA((Var209-Var207)/(Var208-Var207),8),COLOR00FF00;绝密波段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;段: VAR4;VAR6:=CROSS(VAR3,VAR4) AND VAR3<20;DRAWTEXT(FILTER(VAR6,10)=1,40,'抄底'),LINETHICK3 ;STICKLINE(FILTER(VAR6,10)=1,0,30,10,0),COLORGREEN ;VAR7:=CROSS(VAR4,VAR3) AND VAR3>80;STICKLINE(FILTER(VAR7,5)=1,80,100,10,0),COLORYELLOW ;DRAWTEXT(FILTER(VAR7,5)=1,70,'逃顶'),LINETHICK3 ,COLORYELLOW;VAR8:=CROSS(VAR2,VAR3) AND VAR3>80 AND VAR3>VAR4;STICKLINE(VAR8,85,100,10,0) ;90 ;波段底部:10;卖出线: 99;趋势1:=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),COLOR0000FF,LINETHICK2;买入警戒:IF(趋势1<=10,20,0),COLOR00FFFF;卖出警戒: IF(趋势1>=90,80,100),COLOR00FF00;RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);VARA:=REF(LOW,1);。
蓝黄带指标 非常适合新手短中线通达信指标公式源码
主图:黄色持股,蓝色卖出。
这个看了下是根据当日收盘价能否站上10日线来确定的颜色,一般蓝色过后第一个黄色为买点庄家抬轿:白色为无庄控盘,绿色出货,红色有庄控盘,洋红高度控盘,出现黄色三角有庄控盘是买点,反之则是卖点操盘提醒:红色进场,绿色离场,白色箭头出现并且是低位红色为进场主图为了方便看大趋势我加入了经传的智能辅助线,金叉到死叉足够中线盈利了,这个智能辅助线一般股价在线上为强势做多股票这套指标很适合新手朋友用,既有买卖信号也有持股信号,当然指标只是参考作用,具体操作自己判断高位低位,大的趋势走势个人根据这套指标做了一个选股公式,三图和选股源码找文档自行下载,无未来函数选股思路:主图蓝色之后的第一个黄色+庄家抬轿出现黄色三角+操盘提醒出现白色三角+操盘提醒颜色为红色选股的股票如果出现在高位请谨慎买入股{主图}JJ:=(CLOSE+HIGH+LOW)/3;A:=EMA(JJ,5);B:=REF(A,1);持股:STICKLINE(A>B,A,B,4,0),COLOR00FFFF;弃股:STICKLINE(A<=B,A,B,4,0),COLORA00000;DRAWTEXT_FIX(1,0.50,5,0,'~☆~小站看盘专用~☆~'),COLORRED; HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;HHJSJDB:(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3) +16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)+13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10) +9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)+7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+ 3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+REF(HHJSJDA,20))/210,COLORYELLOW;HHJSJDC:MA(HHJSJDB,5),COLORRED;{庄家抬轿}DRAWGBK(C>0, RGB(0,10,10),RGB(88,0,0),0,'11',0);VAR1:=EMA(EMA(CLOSE,9),9);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,控盘,0,1,0),COLORWHITE;A10:=CROSS(控盘,0);无庄控盘:IF(控盘<0,控盘,0),COLORWHITE,NODRAW;开始控盘:IF(A10,5,0),LINETHICK1,COLORYELLOW;STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLORRED;有庄控盘:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW;VAR2:=100*WINNER(CLOSE*0.95);STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,1,0),COLORFF00FF; 高度控盘:IF(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),COLORFF00FF,NODRAW;STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLOR00FF00;主力出货:IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0),COLOR00FF00,NODRAW; DRAWTEXT_FIX(1,0.50,5,0,'~☆~小站看盘专用~☆~'),COLORRED;{操盘提醒}DRAWGBK(C>0, RGB(0,10,10),RGB(88,0,0),0,'11',0);Z:=MA(C,120);VAR3:=(MA(C,5)-Z)/Z;VAR4:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);波段进场:IF(CLOSE>Z AND REF(VAR4,1)<30 AND VAR4>REF(VAR4,1) ANDREF(VAR4,1)<REF(VAR4,2),80,50);反弹进场:IF(REF(VAR4,1)<5 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2) AND VAR3<-0.3,80,50);超跌进场:IF(CROSS(VAR4,5) AND VAR3<-0.4,80,50),COLORMAGENTA; STICKLINE(C>=MA(C,10),VAR4,REF(VAR4,1),3,0),COLORRED; STICKLINE(C<MA(C,10),VAR4,REF(VAR4,1),3,0),COLORGREEN; DRAWTEXT_FIX(1,0.50,5,0,'~☆~小站看盘专用~☆~'),COLORRED;{选股}JJ:=(CLOSE+HIGH+LOW)/3;A:=EMA(JJ,5);B:=REF(A,1);持股:=A>B AND REF(A,1)<=REF(B,1);VAR1:=EMA(EMA(CLOSE,9),9);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;A10:=CROSS(控盘,0);Z:=MA(C,120);VAR3:=(MA(C,5)-Z)/Z;VAR4:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3); 波段进场:=CLOSE>Z AND REF(VAR4,1)<30 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2);红色:=C>=MA(C,10);红色进场:=波段进场AND 红色;XXG:持股AND CROSS(控盘,0) AND 红色进场;。
无未来函数公式指标
无未来函数公式指标dyMACD量柱: EMA(EMA(CLOSE,5)-EMA(CLOSE,34),5), COLORSTICK,COLORRED;SHORT:=5;LONG:=34;MID:=5;DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG)COLORFF00FF LINETHICK3;DEA:EMA(DIF,MID)COLORWHITE LINETHICK2;阴阳成交量万手:VOL/10000,LINETHICK0;AA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);预测:AA/10000;BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主动买:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE<OPEN,BB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)); 主买:主动买/10000,COLORRED;主动卖:=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-BB*(HIGH-LOW),0-VOL /2));主卖:-主动卖/10000,COLORGREEN;差额:(主动买+主动卖)/10000;STICKLINE(CLOSE=REF(CLOSE,1),0,VOL,3.5,0),COLORWHITE;STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,3.5,0),COLORRED;STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,3.5,0),COLORGREEN;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.5 , 0 ) , COLOR00FFFF ;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.2 , 0 ) , COLOR007777 ;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 2.7 , 0 ) , COLOR009999 ;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 2.1 , 0 ) , COLOR00BBBB ;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 1.5 , 0 ) , COLOR00DDEE ;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 0.9 , 0 ) , COLOR66FFFF ;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 0.2 , 0 ) , COLORFFFFFF ;STICKLINE(主动买>=0,VOL,-主动卖,3.2,0),COLOR000033;STICKLINE(主动买>=0,VOL,-主动卖,2.7,0),COLOR000066;STICKLINE(主动买>=0,VOL,-主动卖,2.1,0),COLOR000099;STICKLINE(主动买>=0,VOL,-主动卖,1.5,0),COLOR0000CC;STICKLINE(主动买>=0,VOL,-主动卖,0.9,0),COLOR0000FF;STICKLINE(主动买>=0,VOL,-主动卖,0.2,0),COLORCC66FF;STICKLINE(主动卖<=0,0,-主动卖,3.2,0),COLOR990000;STICKLINE(主动卖<=0,0,-主动卖,2.7,0),COLORCC0000;STICKLINE(主动卖<=0,0,-主动卖,2.1,0),COLORFF4400;STICKLINE(主动卖<=0,0,-主动卖,1.5,0),COLORFF8800;STICKLINE(主动卖<=0,0,-主动卖,0.9,0),COLORFFCC00;STICKLINE(主动卖<=0,0,-主动卖,0.2,0),COLORCYAN;持币:IF(SAR(10,2,20)>=H,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORBLUE;持股:IF(SAR(10,2,20)<=L,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORRED;五日: MA(V,5)COLORGREEN LINETHICK2;十日: MA(V,10)COLORYELLOW LINETHICK2;趋势顶底A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED;B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2;长期线:A+100,COLOR9900FF LINETHICK3;短期线:B+100,COLOR888888,COLORRED;中期线:D+100,COLORYELLOW,LINETHICK2;80,COLOR996699;20,COLORGREEN;10,COLORCC6633,LINETHICK2;90,COLOR9966FF,LINETHICK2;见顶:=((REF(中期线,1)>85 AND REF(短期线,1)>85 AND REF(长期线,1)>65) AND CROSS(长期线,短期线)) ,COLORGREEN;顶部区域:(中期线<REF(中期线,1) AND REF(中期线,1)>80) AND (REF(短期线,1)>95 OR REF(短期线,2)>95 ) AND 长期线>60 AND 短期线<83.5AND 短期线<中期线AND 短期线<长期线+4,COLORGREEN;顶部:=FILTER(顶部区域,4);STICKLINE( {见顶OR} 顶部,99,103,20,1 ),COLORRED,LINETHICK2;底部区域:(长期线<12 AND 中期线<8 AND (短期线<7.2 OR REF(短期线,1)<5) AND (中期线>REF(中期线,1) OR 短期线>REF(短期线,1)))OR (长期线<8 AND 中期线<7 AND 短期线<15 AND 短期线>REF(短期线,1)) OR (长期线<10 AND 中期线<7 AND 短期线<1) ,COLORGREEN;STICKLINE( 底部区域,-4,0,22,0 ),COLORGREEN;低位金叉:50*(长期线<15 AND REF(长期线,1)<15 AND 中期线<18 AND 短期线>REF(短期线,1) AND CROSS(短期线,长期线) AND 短期线>中期线AND (REF(短期线,1)<5 OR REF(短期线,2)<5 ) AND (中期线>=长期线OR REF( 短期线,1)<1 )),COLORRED;STICKLINE( 低位金叉,0,5,11,0 ),COLORRED;逃顶王V AR2:=LLV(LOW,10);V AR3:=HHV(HIGH,25);阶段卖出: 3.2,COLORC6C600;3.5,COLOR0088FF;清仓卖出: 3.5,COLORFF75FF;动力线:= EMA((CLOSE-V AR2)/(V AR3-V AR2)*4,4);STICKLINE(动力线>REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLORRED;STICKLINE(动力线<=REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLOR00FF00;底部:0.2,COLOR70DB93;关注:0.5,COLORYELLOW;DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,1);DRAWICON( FILTER(CROSS(清仓卖出,动力线),20),动力线+0.02,2);DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,1);DRAWICON( FILTER(CROSS(阶段卖出,动力线),20),动力线+0.02,2);强弱分界线:1.75,POINTDOT,LINETHICK2,COLOR70DB93;数值:动力线,COLORA8A8A8;波段王N:=20;N1:=7;N2:=69;T1:=IF((DATE<=1341231),1,0);M3:=EMA(CLOSE,3);M8:EMA(CLOSE,8),COLOR008000;M13:EMA(M8,13),COLOR0000FF;M62:EMA(M8,55),COLORF0F000;V AR1:=EMA(M13,62);M81:EMA(M62,89),COLOR00FFFF;M144:EMA(V AR1,144),LINETHICK2,COLOR0000FF;M250:EMA(V AR1,250),POINTDOT,LINETHICK2,COLORF00FF0;V AR2:=(CLOSE+HIGH+LOW)/(3);V AR3:=(EMA(V AR2,10))*(T1);V AR4:=(REF(VAR3,1))*(T1);STICKLINE((V AR3>V AR4),V AR3,V AR4,4,0),COLOR00FFFF;STICKLINE((V AR3<V AR4),V AR3,V AR4,4,0),COLORFF0000;V AR5:=((REF(HIGH,1)+REF(LOW,1))/(2))*(T1);V AR6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)))*(T1);DRAWTEXT(CROSS(VAR3,V AR4),(V AR3)*(0.98),'★'),COLOR00FFFF;DRAWTEXT(CROSS(VAR5,V AR6),(HIGH)*(1.04),'↓卖'),COLOR008000;V AR7:=REF(CLOSE,1);V AR8:=((SMA(MAX(CLOSE-V AR7,0),N1,1))/(SMA(ABS(CLOSE-V AR7),N1,1)))*(100);V AR9:=CROSS(N2,V AR8);V ARA:=(FILTER(V AR9,4))*(T1);DRAWTEXT(V ARA,(HIGH)*(1.04),'↓卖'),COLORFFFFFF;V ARB:=((2)*(CLOSE)+HIGH+LOW)/(4);V ARC:=LLV(LOW,34);V ARD:=HHV(HIGH,34);V ARE:=(EMA(((V ARB-VAR1)/(V AR5-V AR1))*(100),7))*(T1);V ARF:=(EMA((0.667)*(REF(V ARE,1))+(0.333)*(VARE),5))*(T1);DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),8))/(8)>0.6) AND (VOL>=(1.5)*(MA(VOL,5))) AND COUNT((V ARE>=V ARF),3) AND (REF(LOW,1)=LLV(LOW,120)),1,0),LOW,'●买进'),COLORFF00FF; DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),13))/(13)>0.6) AND COUNT((V ARE>VARF),6) AND (REF(LOW,5)=LLV(LOW,120)) AND REF((CLOSE>=OPEN),4) AND REF((CLOSE>OPEN),3) ANDREF((CLOSE>OPEN),2) AND REF((OPEN>CLOSE),1) AND (OPEN>REF(CLOSE,1)),1,0),LOW,'●买进'),COLOR00FFFF;V AR10:=(MA(CLOSE,80)-(MA(CLOSE,10))/(3))*(T1);DRAWTEXT(IF((CLOSE<V AR10) AND ((VOL)/(240)>(MA(VOL,5))/(240)) AND(CLOSE>(REF(CLOSE,1))*(1.08)) AND (CLOSE<(MA(CLOSE,13))*(1.3)),1,0),LOW,'●抄底'),COLOR0000FF;看色操作V AR11:=MA(C,9),COLORRED;上升通道:IF(V AR11>REF(V AR11,1),V AR11,DRAWNULL),LINETHICK4,COLORRED;下降通道:IF(V AR11<REF(V AR11,1),V AR11,DRAWNULL),LINETHICK4,COLORGREEN;A0:=(L+H+C*2)/4;AA:=EMA(A0,14)COLORYELLOW,LINETHICK1;BB:=EMA(A0,25)COLORYELLOW,LINETHICK2;A1X:=(AA-REF(AA,1))/REF(AA,1)*100;A2X:=(BB-REF(BB,1))/REF(BB,1)*100;G:=BARSLAST(CROSS(A1X,0));必卖止损:REF(A0,G),COLORCYAN,LINETHICK1;A5:=EMA(CLOSE,12)-EMA(CLOSE,26);A6:=EMA(A5,9);A7:=(A5<-0.1 AND A5>A6);见底:IF(A7,LLV(L,21),DRAWNULL)COLORRED,CIRCLEDOT;见顶:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.3,REF(A0,BARSLAST(CROSS(A1X,0)))*1.3,DRAWNU LL),COLORGREEN,CIRCLEDOT;MA5:=MA(C,5);MA13:=MA(C,13);高:=REF(HHV(H,N),M);低:=REF(LLV(L,N),M);H19:=高-(高-低)*0.191;H38:=高-(高-低)*0.382;H中:=高-(高-低)*0.5;H61:=高-(高-低)*0.618;H80:=高-(高-低)*0.809;顶点:REFDATE(高,DATE),COLORRED;%19.8:REFDATE(H19,DA TE),COLORYELLOW;%38.2:REFDATE(H38,DA TE),COLORMAGENTA;%50:REFDATE(H中,DATE),COLORBLUE;%61.8:REFDATE(H61,DA TE),COLORMAGENTA;%80.9:REFDATE(H80,DA TE),COLORYELLOW;低点:REFDATE(低,DATE),COLORWHITE;DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORRED;DRAWTEXT(ISLASTBAR,%19.8,'%19.8'),COLORYELLOW;DRAWTEXT(ISLASTBAR,%38.2,'%38.2'),COLORMAGENTA;DRAWTEXT(ISLASTBAR,%50,'%50'),COLORBLUE;DRAWTEXT(ISLASTBAR,%61.8,'%61.8'),COLORMAGENTA;DRAWTEXT(ISLASTBAR,%80.9,'%80.9'),COLORYELLOW;DRAWTEXT(ISLASTBAR,低点,'低点'),COLORWHITE;DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19));DEA:=EMA(DIFF,9);MACD:=0.90*(DIFF-DEA);TJ:=(DIFF>=DEA);TJ1:=(DIFF>=0);STICKLINE(TJ,H,L,0.4,0),COLORYELLOW;STICKLINE(TJ,O,C,4,1),COLOR0088FF;STICKLINE(TJ,O,C,3.4,1),COLOR00AAFF;STICKLINE(TJ,O,C,2.8,1),COLOR00CCFF;STICKLINE(TJ,O,C,2,1),COLOR00DDFF;STICKLINE(TJ,O,C,1.2,1),COLOR55FFFF;STICKLINE(TJ,O,C,0.4,1),COLOR99FFFF;STICKLINE(TJ1 AND TJ,H,L,0.4,0),COLORF00FF0;STICKLINE(TJ1 AND TJ,O,C,4,1),COLORFF33FF;STICKLINE(TJ1 AND TJ,O,C,3.4,1),COLORFF55FF;STICKLINE(TJ1 AND TJ,O,C,2.8,1),COLORFF77FF;STICKLINE(TJ1 AND TJ,O,C,2,1),COLORFF99FF;STICKLINE(TJ1 AND TJ,O,C,1.2,1),COLORFFBBFF;STICKLINE(TJ1 AND TJ,O,C,0.4,1),COLORFFDDFF;STICKLINE(DIFF<DEA,H,L,0.4,0),COLORF0F000;STICKLINE(DIFF<DEA,O,C,4,1),COLORFF3300;STICKLINE(DIFF<DEA,O,C,3.4,1),COLORFF6600;STICKLINE(DIFF<DEA,O,C,2.8,1),COLORFF9900;STICKLINE(DIFF<DEA,O,C,2,1),COLORFFBB00;STICKLINE(DIFF<DEA,O,C,1.2,1),COLORFFDD00;STICKLINE(DIFF<DEA,O,C,0.4,1),COLORFFFF00;V AR1:=(CLOSE*2+HIGH+LOW)/4;SK:= EMA(V AR1,13)-EMA(V AR1,73);SD:= EMA(SK,2);SJ:=(CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03)OR(CROSS(SK,SD) AND SK<=-0.14 )OR(CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)); STICKLINE(SJ,H,L,0.5,0),COLORRED;STICKLINE(SJ,O,C,5.5,0),LINETHICK3,COLOR000055;STICKLINE(SJ,O,C,4.5,0),LINETHICK3,COLOR000077;STICKLINE(SJ,O,C,3.5,0),LINETHICK3,COLOR000099;STICKLINE(SJ,O,C,2.5,0),LINETHICK3,COLOR0000BB;STICKLINE(SJ,O,C,1.5,0),LINETHICK3,COLOR0000DD;STICKLINE(SJ,O,C,0.5,0),LINETHICK3,COLOR0000FF;EMA13:=EMA(C,13),COLORWHITE;EMA21:=EMA(C,21),COLORYELLOW;EMA34:=EMA(C,34),COLORFF00FF;EMA60:=MA(C,60),COLORFFCC66;V AR2:=(2*CLOSE+HIGH+LOW)/4;V AR3:=IF(YEAR>=2099 AND MONTH>2,0,1);V AR4:=LLV(LOW,5); V AR5:=HHV(HIGH,4);散户:=EMA((V AR2-V AR4)/(V AR5-V AR4)*100,4)*V AR3;庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT(CROSS(84,RSI) , HIGH,'←-----逃'),COLORGREEN;V AR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);V AR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (V AR3AA>0),91,0); DRAWTEXT(FILTER((V AR4AA>90),45),(LOW)*(0.93),'←---大胆搏'),COLORYELLOW;V AR51:=3;V AR52:=(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)); DRAWTEXT(CROSS(VAR52,V AR51), LOW,'←启动')COLORMAGENTA;。
经传神奇指标-精打细算(无未来函数)原码
经传神奇指标-精打细算(无未来函数)原码主要用法:在火焰山集中的买入信号。
波浪峰变绿注意减仓,其他用法自己慢慢领悟体会。
精打细算V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;主力撤: IF(V4<=0,V4,0),colorblue;主力进: IF(V4>=0,V4,0),colorff00ff;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8 ))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8)) *10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EMA(V8,13)-EMA(V8,34);VA:=EMA(V9,3);VB:=(V9-VA)/2;大盘资金进场:IF(VB>=0,VB,0),Colorred;大盘资金撤走:IF(VB<=0,VB,0),colorgreen;V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(S MA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势:=EMA(V3,3)-10;趋势线: EMA(V11,3);V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;准备现金: STICKLINE(趋势线<=13,0,20,5,0),colorcc9900;aa:=(趋势线<=13) and filter((趋势线<=13),15);drawtext (aa,30,'准备现金'),colorcc9900;买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,4,0),color0099ff;bb:= (趋势线<=13 AND V12>13) and filter((趋势线<=13 AND V12>13),10) ;drawtext (bb,60,'买入股票'),color0099ff;卖临界: STICKLINE(趋势线>90 and 趋势线>ref(趋势线,1),100,95,15,1),COLORFFFF00;顶:filter(趋势线>90 and 趋势线DRAWTEXT( 顶,60,'逃顶'),coloryellow;cc:=(趋势线>=90 AND V12) and filter((趋势线>=90 ANDV12),10);stickline(大盘资金进场and 趋势线<13,0,30,4,0),colorred;stickline(大盘资金撤走and 趋势线>90,0,30,4,0),colorgreen;stickline(主力进and 趋势线<13,0,40,4,0),colorff00ff;stickline(主力撤and 趋势线>90,0,40,4,0),colorblue;V13:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;V14:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;V15:=MAX(EMA(V13,2)-EMA(V14,5),0)*200;V16:=EMA(V15,5);波浪峰:V16,stick,colorff00ff;STICKLINE(V16Var1:=EMA(HHV(HIGH,500),21);Var2:=EMA(HHV(HIGH,250),21);Var3:=EMA(HHV(HIGH,90),21);Var4:=EMA(LLV(LOW,500),21);Var5:=EMA(LLV(LOW,250),21);Var6:=EMA(LLV(LOW,90),21);Var7:=EMA((Var4*0.96+Var5*0.96+Var6*0.96+Var1*0.558+Var2*0.558+ Var3*0.558)/6,21);Var8:=EMA((Var4*1.25+Var5*1.23+Var6*1.2+Var1*0.55+Var2*0.55+Var 3*0.65)/6,21);Var9:=EMA((Var4*1.3+Var5*1.3+Var6*1.3+Var1*0.68+Var2*0.68+Var3* 0.68)/6,21);Var10:=IF(MA(CLOSE,58),1,0);VarA:=EMA((Var7*3+Var8*2+Var9)/6*1.738,21);VarB:=REF(LOW,1);VarC:=SMA(ABS(LOW-VarB),3,1)/SMA(MAX(LOW-VarB,0),3,1)*100;VarD:=EMA(IF(CLOSE*1.35<=VarA,VarC*10,VarC/10),3);VarE:=LLV(LOW,30);VarF:=HHV(VarD,30);EMA(IF(LOW<=VarE,(VarD+VarF*2)/2,0),3)/618*Var10,COLORRED;火焰: STICKLINE(火焰山>0,0,火焰山,4,1);今量:火焰山;STICKLINE(火焰山>0,0,今量*1.2,8,0), COLOR0000ffSTICKLINE(火焰山>0,0,今量*0.8,8,0), COLOR0066ff;STICKLINE(火焰山>0,0,今量*0.6,8,0),COLOR0099ff;STICKLINE(火焰山>0,0,今量*0.4,8,0), COLOR00ccff;STICKLINE(火焰山>0,0,今量*0.2,8,0), COLOR00ffff;VAR28:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR29:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR30:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR31:=REF(CLOSE,1);VAR32:=SMA(MAX(CLOSE-VAR31,0),5,1)/SMA(ABS(CLOSE-VAR31), 5,1)*100;VAR33:=(HIGH+LOW+CLOSE)/3;VAR34:=(VAR33-MA(VAR33,14))/(0.015*AVEDEV(VAR33,14));va1:=REF(CLOSE,1);va2:=SMA(MAX(CLOSE-va1,0),7,1)/SMA(ABS(CLOSE-va1),7,1)*100,CO LORYELLOW;地:IF(va2<20,40,20),COLORRED;天:IF(va2>80,60,80),COLORFFFF50;var2↑:STICKLINE(FILTER(REF(va2,1)<20 ANDva2>REF(va2,1),5),20,-20,4,0),COLORRED;var2↓:STICKLINE(FILTER(REF(va2,1)>80 AND va2 DRAWTEXT(FILTER(REF(va2,1)<20 AND va2>REF(va2,1),5),-10 ,'买入' ),COLORFFFFFF;DRAWTEXT(FILTER(REF(va2,1)>80 AND va280,COLORGREEN;20,COLORRED;选股、买股、持股、卖条件:明个股强势且股技巧,在做波段操作中非常重要,只有掌握好这四种技巧才能赚取更大利润。
大智慧“未来函数”大全及说明
大智慧“未来函数”大全及说明未来函数有:ZIG之字转向,BACKSET(X,N),若X非0,则将当前位置到N周期前的数值设为1。
PEAK 前M个ZIG转向波峰值PEAKBARS 前M个ZIG转向波峰到当前距离。
TROUGH前M个ZIG转向波谷值。
TROUGHBARS 前M个ZIG转向波谷到当前距离。
#YEAR 跨周期引用#Year 使用跨周期数据,例如在日线中引用本周周线或本月月线或本年年线数据#MONTH 跨周期引用#Month#WEEK 跨周期引用#WeekFFT 含FFT傅立叶变换函数 FFT(X,N):傅立叶变换怀疑是未来函数的有:CAPITAL 含Capital流通盘流通盘在增发、分红、债转股后可能变了。
DYNAINFO 含DynaInfo动态数据 DynaInfo(k):动态信息FINANCE 含Finance财务数据 Finance(k):财务信息WINNER 含Winner类函数WINNER(x)、LWINNER(x)、PWINNER(X)等获利盘比例类的和COST也有未来函数的性质,有时可使信号产生漂移。
COST 含Cost类函数 COST(N)、COSTB(N)动态行情DYNAINFO() 、财务数据FINANCE()(除FINANCE(51) FINANCE(52)几个外)、指标函数COST() WINNER() 以及[DATACOUNT]等等有点像未来函数但并不是未来函数的有:forcast(()forcast是从slope计算斜率引申来的,slope不是未来,forcast也就不是未来slope只用过去样本(参数)计算回归线的斜率,不是未来任意一点只取其前面的参数样本回归计算,所以不会受后面新增K 线影响要看出为何不是未来,以fft是未来为例说明FFt每次都取全部K线数据找到最佳配曲线(模型),而赋予全部曲线的值,每增加一根新K线,就按全部K线数据重新找到最佳配曲线(模型), 再重新赋予全部曲线的值,所以每增加一根K线前面的FFT值会全部都改变,只是改变幅度或大或小。
通达信公式函数使用方法及解释说明大全
通达信公式函数使用方法及解释说明大全未来函数略解一、“未来函数”的公式所谓“未来函数”,是指可能引用未来数据的函数,即引用或利用当时还没有发生的数据对之前发出的判断进行修正的函数。
具体地说,就是本周期结束后显示的指标值,包括线段和买卖提示信号,可能在以后发生新的数据后改变位置或消失。
通俗地说,含有未来数据指标的基本特征是买卖信号不确定,常常是某日发出了买入或卖出信号,第二天如果继续下跌或上涨,则该信号消失,并在明天新的位置标示出来。
二、含有未来函数公式的种类(一)以之字转向为代表的ZIG类函数。
这是我们最常见到和经常提到的,未来函数一般我们就指的是此类函数。
1、ZIG(K,N)之字转向。
当价格变化量超过N%时转向。
K表示0:开盘价;1:最高价;2:最低价;3:收盘价例如:ZIG(3,5)表示收盘价的5%的ZIG转向。
2、PEAK(K,N,M)向前数前M个ZIG转向波峰值。
3、PEAKBARS(K,N,M)前M个ZIG转向波峰到当前距离。
4、TROUGH(K,N,M)前M个ZIG转向波谷值。
5、TROUGHBARS(K,N,M)前M个ZIG转向波谷到当前距离。
6、FLATZIG、FLATZIGA、PEAKA、PEAKBARSA、TROUGHA、ZIGA等等都属于此类未来函数。
(二)准未来函数。
这部分函数存在引用未来数据的问题,但不如上述函数明显,有些目前争议较大。
1、FFT(X,N)、傅立叶变换。
对序列X进行傅立叶变换或变换处理后反变换。
2、BACKSET(X,N)、向前赋值。
若X非0,则将当前位置到N周期前的数值设为1。
3、WINNER、LWINNER等获利盘比例类的和COST也有未来函数的性质,有时可使信号产生漂移。
(三)、使用跨周期数据的函数。
这是一种最为隐蔽的方法,它的危害性更大。
例如在日线中引用本周周线或本月月线数据时,就会造成本周或本月股价上涨时则信号成功;如果股价下跌,则信号自动消失。
关于股票指标公式未来函数的使用
未来函数很多人使用指标公式,不知有“未来函数”,更有人一提到“未来函数”就谈虎色变,大骂“未来函数”之害,这都是不正确的。
要弄懂“未来函数”的本质,必须知其然并知其所以然,下面从五个方面进行探讨。
一、什么是“未来函数”所谓“未来函数”,是指可能引用未来数据的函数,即引用或利用当时还没有发生的数据对之前发出的判断进行修正的函数。
具体地说,就是本周期结束后显示的指标值,包括线段和买卖提示信号,可能在以后发生新的数据后改变位置或消失。
通俗地讲,含有不确定性判断的指标公式,就是含“未来函数”的指标公式。
含有未来数据指标的基本特征是买卖信号不确定,常常是某日发出了买入或卖出信号(线段的转折点与此同理),第二天如果继续下跌或上涨,则该信号消失,并在明天新的位置标示出来。
二、含有未来函数公式的种类(一)以之字转向为代表的ZIG类函数。
我们最常见到和经常提到的多指此类。
1、ZIG(K,N)之字转向。
当价格变化量超过N%时转向。
K表示0:开盘价;1:最高价;2:最低价;3:收盘价例如:ZIG(3,5)表示收盘价的5%的ZIG转向。
2、PEAK(K,N,M)向前数前M个ZIG转向波峰值。
(以下用法略。
点击软件中相应的函数时,下面有提示或用法)3、PEAKBARS(K,N,M)前M个ZIG转向波峰到当前距离。
4、TROUGH(K,N,M)前M个ZIG转向波谷值。
5、TROUGHBARS(K,N,M)前M个ZIG转向波谷到当前距离。
6、FLATZIG、FLATZIGA、PEAKA、PEAKBARSA、TROUGHA、ZIGA等等都属于此类未来函数。
(二)准未来函数。
这部分函数存在引用未来数据的问题,但不如上述函数明显,有些目前争议较大。
1、FFT(X,N)、傅立叶变换。
对序列X进行傅立叶变换或变换处理后反变换。
2、BACKSET(X,N)、向前赋值。
若X非0,则将当前位置到N周期前的数值设为1。
3、WINNER、LWINNER等获利盘比例类的和COST 也有未来函数的性质,有时可使信号产生漂移。
关于股票指标公式未来函数的使用
未来函数很多人使用指标公式,不知有“未来函数”,更有人一提到“未来函数”就谈虎色变,大骂“未来函数”之害,这都是不正确的。
要弄懂“未来函数”的本质,必须知其然并知其所以然,下面从五个方面进行探讨。
一、什么是“未来函数”所谓“未来函数”,是指可能引用未来数据的函数,即引用或利用当时还没有发生的数据对之前发出的判断进行修正的函数。
具体地说,就是本周期结束后显示的指标值,包括线段和买卖提示信号,可能在以后发生新的数据后改变位置或消失。
通俗地讲,含有不确定性判断的指标公式,就是含“未来函数”的指标公式。
含有未来数据指标的基本特征是买卖信号不确定,常常是某日发出了买入或卖出信号(线段的转折点与此同理),第二天如果继续下跌或上涨,则该信号消失,并在明天新的位置标示出来。
二、含有未来函数公式的种类(一)以之字转向为代表的ZIG类函数。
我们最常见到和经常提到的多指此类。
1、ZIG(K,N)之字转向。
当价格变化量超过N%时转向。
K表示0:开盘价;1:最高价;2:最低价;3:收盘价例如:ZIG(3,5)表示收盘价的5%的ZIG转向。
2、PEAK(K,N,M)向前数前M个ZIG转向波峰值。
(以下用法略。
点击软件中相应的函数时,下面有提示或用法)3、PEAKBARS(K,N,M)前M个ZIG转向波峰到当前距离。
4、TROUGH(K,N,M)前M个ZIG转向波谷值。
5、TROUGHBARS(K,N,M)前M个ZIG转向波谷到当前距离。
6、FLATZIG、FLATZIGA、PEAKA、PEAKBARSA、TROUGHA、ZIGA等等都属于此类未来函数。
(二)准未来函数。
这部分函数存在引用未来数据的问题,但不如上述函数明显,有些目前争议较大。
1、FFT(X,N)、傅立叶变换。
对序列X进行傅立叶变换或变换处理后反变换。
2、BACKSET(X,N)、向前赋值。
若X非0,则将当前位置到N周期前的数值设为1。
3、WINNER、LWINNER等获利盘比例类的和COST 也有未来函数的性质,有时可使信号产生漂移。
最准确的指标期货指标公式文华财经指标无未来函数金波段指标
BF:=MA(CLOSE,20);上:BF+2*STD(CLOSE,20),NODRAW;下:BF-2*STD(CLOSE,20),NODRAW;FILLRGN(上>BF,BF,上,RGB(85,20,30));FILLRGN(上<BF,BF,上,RGB(0,60,5));PP:=CROSS(C,MA(C,4));STICKLINE(PP AND MA(C,20)>=REF(MA(C,20),1) AND C>O,H,L,1,0),COLORFF00FF,LINETHICK2;DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;AA:=MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) ANDMACD>0;CT:=MACD>REF(MACD,1) AND REF(MACD,1)>REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4) AND MACD>0;PPO:=MA(C,4)>MA(C,24) AND PP AND MA(C,24)>=REF(MA(C,24),1) ;VIP:=AA AND PPO OR CT AND PPO;DRAWICON(VIP=1,LOW*0.95,9),COLORRED;DRAWKLINE1(H,O,L,C);MA5:MA(CLOSE,5),COLORWHITE;MA10:MA(CLOSE,10),COLORRED,LINETHICK2;MA20:MA(CLOSE,20),COLORBLUE;MA62:=MA(CLOSE,62),POINTDOT,COLORBLUE;MA133:=MA(CLOSE,133),POINTDOT,COLORGREEN;{涨幅}日:((C-REF(C,1))/REF(C,1))*100,COLORRED,NODRAW;周:((C-REF(C,5))/REF(C,5))*100,COLORRED,NODRAW;月:((C-REF(C,20))/REF(C,20))*100,COLORRED,NODRAW;季:((C-REF(C,60))/REF(C,60))*100,COLORYELLOW,NODRAW;STICKLINE(日>=9.95,O,C,2,0),COLORRED,LINETHICK2;IF(MA10>=MA5,MA10,NULL),COLORGREEN,LINETHICK2;IF(MA5<=MA10,MA10,NULL),COLORGREEN,LINETHICK2;买线YGB:=EMA(C,2);卖线YGB:=EMA(SLOPE(C,21)*20+C,42);指导线:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);界:=MA(CLOSE,27);B买:IF(CROSS(指导线,界) OR CROSS(买线YGB,卖线YGB),C,NULL),COLORMAGENTA,NODRAW; 持仓:IF(买线YGB>=卖线YGB,C,NULL),COLORRED,NODRAW;S卖:IF(CROSS(界,指导线) OR CROSS(卖线YGB,买线YGB),C,NULL),COLORGRAY,NODRAW;空仓:IF(买线YGB<卖线YGB,C,NULL),COLORGREEN,NODRAW;N1:=7;LC:=REF(CLOSE,1);X:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORYELLOW,LINETHICK1;。
极准的波段指标(绝无未来函数)
极准的波段指标(绝无未来函数)
波段顶底源码:
顶部:100,COLORBLUE,LINETHICK3;
天线: 80,COLORLIBLUE;
生命线:50.00,COLORRED;
地线:10,COLORLIBLUE;
底部:-10,COLORYELLOW,LINETHICK2;
趋势: 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),COLORWHITE;
卖出:IF(CROSS(天线,趋势),40,-10),COLORGREEN;
进入强势: IF(CROSS(趋势,生命线),40,-10),COLORRED;
买入: IF(CROSS(趋势,地线),40,-10),COLORYELLOW;
说明:
1、波段顶底指标适用于“一次撞顶”“一次撞底”的研判;
2、超买区:90至100,超卖区:0至-10;
3、波段顶底的趋势线在超买区内撞及天线后,一直在超买区内运动时,投资者可以观望,
而一旦趋势线下穿天线,并发出卖出信号,应减仓操作。
4、波段顶底的趋势线在超卖区内撞及地线并形成一次底后,一直在超卖区内运动时,投资者可以观望,一旦趋势线向上突破地线,并发出买入信号,可适量建仓。
5、波段顶底的趋势线一旦上穿生命线,个股进入强势区,可加仓操作。
6、波段顶底的趋势线一旦下穿生命线,个股进入弱势区,应清仓操作。
波段顶底应与趋势顶底指标配合使用,效果更佳。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
炒股公式第三个QW1:=(HIGH+LOW+CLOSE*2)/4;QW3:=EMA(QW1,10);QW4:=STD(QW1,10);QW5:=(QW1-QW3)*100/QW4;QW6:=EMA(QW5,5);RK7:=EMA(QW6,10);涨:EMA(QW6,10)+100/2-5,LINETHICK1,COLORRED;跌:EMA(涨,4),LINETHICK1,COLORFFFF34;多线:IF(CROSS(涨,跌) AND 跌<-10,30,0),LINETHICK1,COLORFF00FF;空线:IF(CROSS(跌,80),70,100),COLOR0099FF,LINETHICK1;买1:EMA(跌,4),COLORWHITE;买2:EMA(买1,4),COLORGREEN;买M3:=EMA(买2,4);买M4:=EMA(买M3,4);-10,POINTDOT,COLOR888888,LINETHICK2;80,POINTDOT,COLOR888888,LINETHICK2;STICKLINE(涨<REF(涨,1),涨,MA(涨,3),2,0 ),COLOR00EE00;STICKLINE(涨<REF(涨,1),涨,MA(涨,3),1,0 ),COLOR00FF00;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),3,0) ,COLOR0099FF;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),2,0) ,COLOR00AAFF;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),1,0) ,COLOR00BBFF;DRAWICON(多线,30,1),COLORFF00FF;DRAWICON(CROSS(跌,80),70,2),COLORGREEN;DRAWTEXT(CROSS(涨,跌) AND 跌<20 AND 跌>-10,40,'买入'),COLORCCFF99; DRAWTEXT(多线>0,-20,'看涨'),COLOR0000FF;VAR2:=MA(CLOSE,194);VAR3:=VAR2+2*STD(CLOSE,170);顶:(CLOSE>VAR3)*13*10,COLORBLUE,LINETHICK2;VAR18:=HHV(HIGH,30);VAR19:=LLV(LOW,30);NL:=EMA((CLOSE-VAR19)/(VAR18-VAR19)*100,5)/8*10;DRAWTEXT(CROSS(5,NL),30,'★做底'),COLORWHITE;VAR44:=REF(CLOSE,1);VAR45:=SMA(MAX(CLOSE-VAR44,0),6,1)/SMA(ABS(CLOSE-VAR44),6,1)*100; STICKLINE(CROSS(84,VAR45),0,VAR2*15+3,3,1),COLORGREEN; DRAWTEXT(CROSS(84,VAR45),80,'防空警报'),COLORGREEN;VAR55:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);VAR56:=INDEXC;VAR57:=MA(VAR56,5);VAR58:=MA(VAR56,20);VAR5B:=VAR57>VAR56*1.03 AND VAR58>VAR56*1.13;VAR5D:=IF(FILTER(VAR55<6,5)=1,1,0);VAR5F:=VAR55<6 AND VAR5B;VAR61:=VAR5F AND VAR5D*80;VAR7C:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);VAR7D:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;VAR7E:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;VAR7F:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;VAR80:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;VAR81:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;VAR82:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;VAR83:=(VAR7D+VAR7E+VAR7F+VAR80+VAR81+VAR82)/6;VAR84:=EMA(VAR83,3);VAR85:=ABS(VAR80-VAR82);VAR86:=(VAR83+VAR85)/2;VAR87:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;VAR88:=VAR87+VAR86;VAR89:=IF(VAR7C>0 AND VAR88<0,200,0);VAR8A:=IF(VAR86<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);VAR8B:=IF(VAR88<0 AND VAR8A=-50,100,0);VAR8D:=REF(CLOSE,2)*0.865;VAR8E:=REF(CLOSE,13)*0.772;VAR8F:=MIN(VAR8D,VAR8E);VAR90:=100*VOL/CAPITAL;VAR92:=IF((CLOSE-VAR8F)/CLOSE<0.03 AND SUM(VAR90,5)/5<1.8,1,0);VAR96:=(VAR89>0 AND VAR8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR92>0) AND (VAR8A<0 OR VAR7C>0);VAR97:=VAR89>0 AND VAR8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR92>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;VAR98:=VAR96 OR VAR97;VARA4:=AMOUNT/VOL/100;VARA5:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;VARA7:=SUM(AMOUNT,13)/VARA4/100;VARAE:=DMA(VARA5,VOL/VARA7);VARB1:=MA(HHV(HIGH,488),18);VARB2:=MA(HHV(HIGH,220),18);VARB3:=MA(HHV(HIGH,98),18);VARB4:=MA(LLV(LOW,488),18);VARB5:=MA(LLV(LOW,220),18);VARB6:=MA(LLV(LOW,98),18);VARB7:=MA((VARB4*0.96+VARB5*0.96+VARB6*0.96+VARB1*0.558+VARB2*0.558+VARB3*0.558 )/6,18);VARB8:=MA((VARB4*1.25+VARB5*1.23+VARB6*1.2+VARB1*0.55+VARB2*0.55+VARB3*0.65)/6,1 8);VARB9:=MA((VARB4*1.3+VARB5*1.3+VARB6*1.3+VARB1*0.68+VARB2*0.68+VARB3*0.68)/6,18); VARBA:=MA((VARB7*3+VARB8*2+VARB9)/6*1.738,18);VARBC:=LOW;VARBD:=REF(LOW,1);VARBE:=SMA(ABS(VARBC-VARBD),3,1)/SMA(MAX(VARBC-VARBD,0),3,1)*100;VARBF:=MA(IF(CLOSE*1.35<=VARBA,VARBE*10,VARBE/10),3);VARC0:=LLV(LOW,30);VARC1:=HHV(VARBF,30);VARC2:=IF(LOW<=VARC0,(VARBF+VARC1*2)/2,0);WXBM:(MA(VARC2 AND CLOSE<COST(1),3) AND (CLOSE-VARAE)/VARAE*100<-11)*118,COLORRED,LINETHICK2;DRAWTEXT(VAR61 OR VAR98,70,'★大黑马'),COLORYELLOW;DRAWTEXT(WXBM,100,'BM'),COLORRED;STICKLINE(VAR61,0,120,3,0),COLORWHITE;STICKLINE(VAR98,0,90,3,0),COLORYELLOW;X:=C-REF(MA(C,20),11);LGL:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 AND C/REF(C,1)>0.905 AND C/REF(C,1)<1.05 AND VOL/CAPITAL*100<5,50,0);WR1:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100*X;WR2:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;WR3:=-100*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100*X;BIAS1:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;BIAS2:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;BIAS3:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;S1:=(WR1+WR2+WR3+BIAS1+BIAS2+BIAS3)/6*X;S2:=EMA(S1,3);S3:=ABS(BIAS1-BIAS3);SX:=(S1+S3)/2;XC1:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;CCC:=XC1+SX;ZJZ:=IF( LGL>0 AND CCC<0,200,0)*X;LXL:=IF(SX<0 AND C=LLV(C,5) AND C/REF(C,1)>0.905 AND C/REF(C,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);JBJ:=IF(CCC<0 AND LXL=-50,100,0)*X;MA3:= MA(C,3);C0:=REF(C,2)*0.865;C1:=REF(C,13)*0.772;BOT:=MIN(C0,C1);HSL:=100*VOL/CAPITAL*X;MA13:=MA(C,13)*X;CXC:=IF((C-BOT)/C<3/100 AND SUM(HSL,5)/5<1.8,1,0);VMC:=IF(CXC>0 AND (LXL<0 OR LGL>0),10,0);满仓:IF((VMC>0),120,0),COLORRED,LINETHICK3;DRAWTEXT(满仓>0 AND REF(满仓,1)=0,100,'满仓'),COLORRED;半仓:IF(((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR (CXC>0 AND REF(C,1)/REF(C,2)>0.902)) OR (((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR CXC>0) AND (LXL<0 OR LGL>0)) AND VMC<10 ,100,0),COLORMAGENTA,LINETHICK2;V93:=(((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR CXC>0) AND (LXL<0 OR LGL>0)) ;V90:=((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR (CXC>0 AND REF(C,1)/REF(C,2)>0.902));买11:IF((V93 OR V90),80,0),COLORYELLOW,LINETHICK2;VAR2Q:=(MA(CLOSE,80)-MA(CLOSE,13)/3);神奇线:= MA((CLOSE-VAR2Q)/VAR2Q,2);买12:IF(CROSS(神奇线,0) AND LOW/REF(HIGH,1)<1.012 AND ((C-REF(C,2))/C)>0.06,100,0),COLORMAGENTA,LINETHICK2;YY:=SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,18,1),12,1);YT:=SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,12,1);ST:=IF(CROSS(YT,YY),30,0);VAR5PT:=(HIGH+LOW+CLOSE)/3;VAR6PT:=(VAR5PT-MA(VAR5PT,14))/(0.015*AVEDEV(VAR5PT,14));VAR7PT:=(VAR5PT-MA(VAR5PT,85))/(0.015*AVEDEV(VAR5PT,85));SA:=IF(VAR7PT>=200 AND VAR6PT>=150,10,0);VAR3AA:=REF(CLOSE,1);VAR4AA:=SMA(MAX(CLOSE-VAR3AA,0),6,1)/SMA(ABS(CLOSE-VAR3AA),6,1)*100;SM:=IF(CROSS(80,VAR4AA),100,0);卖11:IF((SM AND (SA OR ST)),120,0),COLORCCCC33,LINETHICK2;DRAWTEXT( 卖11>0,110,''),COLORCCCC33;XX2:=(MA(CLOSE,80)-MA(CLOSE,13)/3);SQX:=MA((CLOSE-XX2)/XX2,10)*0.01;买3:IF(CROSS(SQX,0) AND LOW/REF(HIGH,1)<1.012,60,0), STICK,COLORWHITE,LINETHICK2;稳赚:IF(COUNT(SQX>REF(SQX,1),3)=3 AND COUNT(SQX<0,10)=10 AND REF(SQX,3)=LLV(SQX,10),60,0),COLOR9999FF;买4: IF(REF(SQX,2)=LLV(SQX,20) AND REF(SQX,2)<0.071 AND REF(SQX,2)<REF(SQX,1) AND NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1),60,0),COLORFF00FF,LINETHICK2;DRAWTEXT( 买3>0,40 ,' 买3'),COLORWHITE;DRAWTEXT( 稳赚>0,40 ,'稳赚'),COLOR9999FF;DRAWTEXT( 买4>0,40 , '买4'),COLORFF00FF;。