【股票指标公式下载】-【通达信】BS操盘线(操作、生命线、买线、卖线)
【指标公式源码下载】通达信经典买卖主图指标公式【工作线、生命线、不惑线、姊妹线、七天线】
通达信经典买卖主图指标公式【工作线、生命线、不惑线、姊妹线、七天线】工作线:(EMA(C,14)),POINTDOT,LINETHICK3,COLOR22ACDE;生命线:(MA(C,25)),LINETHICK1,COLORMAGENTA;不惑线:(MA(C,40)),COLORCYAN,LINETHICK1;姊妹线:(EMA(C,56)),POINTDOT,COLOR33CCDD,LINETHICK1;A3:=EMA((((SLOPE(C,21)) * 20) + C),68);A4:=EMA(C,10);A5:=REF(C,2);A6:=((SMA((MAX((C - A5),0)),6,1)) / (SMA(ABS((C - A5)),6,1))) * 100;A7:=IF(((A6 < (REF(A6,1))) AND (A6 > 79)),A6,0);A8:=LLV(L,21);A9:=HHV(H,21);A10:=EMA((((CLOSE - A8) / (A9 - A8)) * 100),5);A11:=EMA((((CLOSE - A8) / (A9 - A8)) * 50),13);A12:=EMA(((0.667 * (REF(A10,1))) + (0.333 * A10)),2);A13:=LLV(L,55);A14:=HHV(H,34);A15:=EMA((((C - A13) / (A14 - A13)) * 100),3);A16:=(A11 + A15) / 2;A17:=EMA(((0.667 * (REF(A15,1))) + (0.333 * A10)),2);A18:=EMA(A16,5);A19:=EMA(((0.667 * (REF(A18,1))) + (0.333 * A18)),2);A20:=CROSS(A10,A11);A21:=(CROSS(A10,A19)) AND (A19 < 30);A22:=A21 * 0.6;A23:=((C + L) + H) / 3;A24:=EMA(A23,6);A25:=EMA(A24,5);A26:=CROSS(A24,A25);DRAWICON(A26,(L/1.015),1),LINETHICK2,COLORMAGENTA;DRAWTEXT(CROSS(A4,A3),L,'线上阴线买停板'),LINETHICK4,COLOR22ACDE; STICKLINE(((C >= 工作线) AND (C >= O)),H,L,0,1),COLORRED;STICKLINE(((C >= 工作线) AND (C >= O)),O,C,2,1),COLORRED;STICKLINE(((C >= 工作线) AND (C <= O)),H,L,0,0),COLORRED;STICKLINE(((C >= 工作线) AND (C <= O)),O,C,2,0),COLORRED;STICKLINE(((C < 工作线) AND (C >= O)),H,L,0,1),COLORGREEN;STICKLINE(((C < 工作线) AND (C >= O)),O,C,2,1),COLORGREEN;STICKLINE(((C < 工作线) AND (C <= O)),H,L,0,0),COLORGREEN;STICKLINE(((C < 工作线) AND (C <= O)),O,C,2,0),COLORGREEN;七天线:MA(C,7),COLORGRAY,LINETHICK2; 涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);STICKLINE(涨停,O,C,1,0),COLORYELLOW;ZDF:=(C-REF(C,1))/REF(C,1)*100;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;DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'←吸'),COLORRED;VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;VAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);DRAWICON(CROSS(VAR2,VAR3),HIGH*1.035,2);DRAWTEXT(CROSS(VAR2,VAR3),HIGH*1.02,'卖出'), COLORGREEN;VAR4:=REF(CLOSE,1);VAR5:=SMA(MAX(CLOSE-VAR4,0),7,1)/SMA(ABS(CLOSE-VAR4),7,1)*100;VAR6:=CROSS(79,VAR5);VAR7:=FILTER(VAR6,4);DRAWICON(VAR7,HIGH*1.035,2);DRAWTEXT(VAR7,HIGH*1.02,'卖出'), COLORGREEN;。
【股票指标公式下载】-【通达信】决胜操盘线(不惑线、生命线)
【通达信】决胜操盘线(不惑线、生命线)-指标公式源码七天线:MA(C,7),COLORGRAY;工作线:(EMA(C,14)),POINTDOT,LINETHICK4,COLORYELLOW;生命线:(MA(C,25)),LINETHICK2,COLORMAGENTA;{不惑线:(MA(C,40)),COLORCYAN; }姊妹线:(EMA(C,56)),POINTDOT,COLORWHITE;A3:=EMA((((SLOPE(C,21)) * 20) + C),68);A4:=EMA(C,10);A5:=REF(C,2);A6:=((SMA((MAX((C - A5),0)),6,1)) / (SMA(ABS((C - A5)),6,1))) * 100; A7:=IF(((A6 < (REF(A6,1))) AND (A6 > 79)),A6,0);A8:=LLV(L,21);A9:=HHV(H,21);A10:=EMA((((CLOSE - A8) / (A9 - A8)) * 100),5);A11:=EMA((((CLOSE - A8) / (A9 - A8)) * 50),13);A12:=EMA(((0.667 * (REF(A10,1))) + (0.333 * A10)),2);A13:=LLV(L,55);A14:=HHV(H,34);A15:=EMA((((C - A13) / (A14 - A13)) * 100),3);A16:=(A11 + A15) / 2;A17:=EMA(((0.667 * (REF(A15,1))) + (0.333 * A10)),2);A18:=EMA(A16,5);A19:=EMA(((0.667 * (REF(A18,1))) + (0.333 * A18)),2);A20:=CROSS(A10,A11);A21:=(CROSS(A10,A19)) AND (A19 < 30);A22:=A21 * 0.6;A23:=((C + L) + H) / 3;A24:=EMA(A23,6);A25:=EMA(A24,5);A26:=CROSS(A24,A25);DRAWICON(A26,(LOW / 1.015),1),LINETHICK2,COLORMAGENTA;STICKLINE(((C >= 工作线) AND (C >= O)),H,L,0,1),COLORRED; STICKLINE(((C >= 工作线) AND (C >= O)),O,C,2,1),COLORRED;STICKLINE(((C >= 工作线) AND (C <= O)),H,L,0,0),COLORRED; STICKLINE(((C >= 工作线) AND (C <= O)),O,C,2,0),COLORRED; STICKLINE(((C < 工作线) AND (C >= O)),H,L,0,1),COLORGREEN; STICKLINE(((C < 工作线) AND (C >= O)),O,C,2,1),COLORGREEN; STICKLINE(((C < 工作线) AND (C <= O)),H,L,0,0),COLORGREEN; STICKLINE(((C < 工作线) AND (C <= O)),O,C,2,0),COLORGREEN;【通达信】决胜操盘线(不惑线、生命线)-指标公式效果图(文档来源:若水财经社区)。
【指标公式源码下载】通达信经典买卖主图指标公式【工作线、生命线、不惑线、姊妹线、七天线】
通达信经典买卖主图指标公式【工作线、生命线、不惑线、姊妹线、七天线】工作线:(EMA(C,14)),POINTDOT,LINETHICK3,COLOR22ACDE;生命线:(MA(C,25)),LINETHICK1,COLORMAGENTA;不惑线:(MA(C,40)),COLORCYAN,LINETHICK1;姊妹线:(EMA(C,56)),POINTDOT,COLOR33CCDD,LINETHICK1;A3:=EMA((((SLOPE(C,21)) * 20) + C),68);A4:=EMA(C,10);A5:=REF(C,2);A6:=((SMA((MAX((C - A5),0)),6,1)) / (SMA(ABS((C - A5)),6,1))) * 100;A7:=IF(((A6 < (REF(A6,1))) AND (A6 > 79)),A6,0);A8:=LLV(L,21);A9:=HHV(H,21);A10:=EMA((((CLOSE - A8) / (A9 - A8)) * 100),5);A11:=EMA((((CLOSE - A8) / (A9 - A8)) * 50),13);A12:=EMA(((0.667 * (REF(A10,1))) + (0.333 * A10)),2);A13:=LLV(L,55);A14:=HHV(H,34);A15:=EMA((((C - A13) / (A14 - A13)) * 100),3);A16:=(A11 + A15) / 2;A17:=EMA(((0.667 * (REF(A15,1))) + (0.333 * A10)),2);A18:=EMA(A16,5);A19:=EMA(((0.667 * (REF(A18,1))) + (0.333 * A18)),2);A20:=CROSS(A10,A11);A21:=(CROSS(A10,A19)) AND (A19 < 30);A22:=A21 * 0.6;A23:=((C + L) + H) / 3;A24:=EMA(A23,6);A25:=EMA(A24,5);A26:=CROSS(A24,A25);DRAWICON(A26,(L/1.015),1),LINETHICK2,COLORMAGENTA;DRAWTEXT(CROSS(A4,A3),L,'线上阴线买停板'),LINETHICK4,COLOR22ACDE; STICKLINE(((C >= 工作线) AND (C >= O)),H,L,0,1),COLORRED;STICKLINE(((C >= 工作线) AND (C >= O)),O,C,2,1),COLORRED;STICKLINE(((C >= 工作线) AND (C <= O)),H,L,0,0),COLORRED;STICKLINE(((C >= 工作线) AND (C <= O)),O,C,2,0),COLORRED;STICKLINE(((C < 工作线) AND (C >= O)),H,L,0,1),COLORGREEN;STICKLINE(((C < 工作线) AND (C >= O)),O,C,2,1),COLORGREEN;STICKLINE(((C < 工作线) AND (C <= O)),H,L,0,0),COLORGREEN;STICKLINE(((C < 工作线) AND (C <= O)),O,C,2,0),COLORGREEN;七天线:MA(C,7),COLORGRAY,LINETHICK2; 涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);STICKLINE(涨停,O,C,1,0),COLORYELLOW;ZDF:=(C-REF(C,1))/REF(C,1)*100;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;DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'←吸'),COLORRED;VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;VAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);DRAWICON(CROSS(VAR2,VAR3),HIGH*1.035,2);DRAWTEXT(CROSS(VAR2,VAR3),HIGH*1.02,'卖出'), COLORGREEN;VAR4:=REF(CLOSE,1);VAR5:=SMA(MAX(CLOSE-VAR4,0),7,1)/SMA(ABS(CLOSE-VAR4),7,1)*100;VAR6:=CROSS(79,VAR5);VAR7:=FILTER(VAR6,4);DRAWICON(VAR7,HIGH*1.035,2);DRAWTEXT(VAR7,HIGH*1.02,'卖出'), COLORGREEN;。
【股票指标公式下载】-【通达信】操盘主图(今日提示买卖价、今日收盘价、出货)
【通达信】操盘主图(今日提示买卖价、今日收盘价、出货)-指标公式源码VA1:=IF(YEAR>=2011 AND MONTH>=01,0,1);明日提示买卖价:EMA(C,4)*VA1, LINETHICK3;今日收盘价:=C*VA1;DD:=REF(明日提示买卖价,1)-今日收盘价;上升:IF(明日提示买卖价>REF(明日提示买卖价,1),明日提示买卖价,DRAWNULL),COLORRED, LINETHICK6;下降:IF(明日提示买卖价<REF(明日提示买卖价,1),明日提示买卖价,DRAWNULL),COLORGREEN, LINETHICK3;DRAWTEXT(DD<0,(H+L)/2,'∧');DRAWTEXT(DD>0,(H+L)/2,'∨');DRAWTEXT(H=HHV(H,5)*VA1,H,'看涨' );DRAWTEXT(ISLASTBAR AND DD*VA1>0,(H+L)/2,' 1、个股已经走弱出货'),COLOR00AAFF;DRAWTEXT(ISLASTBAR AND DD*VA1<0,(H+L)/2,' 2、个股已经走强持仓'),COLORRED;DRAWTEXT(ISLASTBAR AND H*VA1>REF(H,1),H*0.995,' 3、个股已经创新高'),COLORGREEN;DRAWTEXT(ISLASTBAR AND L<REF(L,1)*VA1,L,' 4、个股已经创新低'),COLORRED;【通达信】操盘主图(今日提示买卖价、今日收盘价、出货)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】操盘线(拉升)
【通达信】操盘线(拉升)-指标公式源码N:=4;操盘线:SAR(N,15,5),CIRCLEDOT,LINETHICK0;{白色版};IF((操盘线>=HIGH),操盘线,DRAWNULL),CIRCLEDOT,COLORGREEN;{彩色}IF((操盘线<=LOW),操盘线,DRAWNULL),CIRCLEDOT,COLORRED;{彩色};线15:EMA(C,15),COLORBLUE,LINETHICK2;IF(线15>=REF( 线15,1),线15,DRAWNULL),COLORMAGENTA,LINETHICK3;IF(线15<REF (线15,1), 线15,DRAWNULL),COLORWHITE,LINETHICK3;AA05:MA(C,5),COLOR0099CC;率:=(C-AA05)/AA05*100;BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;STICKLINE(BB05>30 AND AA05>REF(AA05,1),AA05,REF(AA05,1),5,1),COLORRED;STICKLINE(BB05<30 AND AA05<REF(AA05,1),AA05,REF(AA05,1),5,1),COLORWHITE;顶:DMA(AMOUNT/(95*VOL),VOL/CAPITAL)COLORRED;中:DMA(AMOUNT/(125*VOL),VOL/CAPITAL)COLORLIGREEN;底:DMA(AMOUNT/(180*VOL),VOL/CAPITAL)COLORLIRED;VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VAR12:=(HIGH+LOW+CLOSE)/3;VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0); VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 ANDVAR14>-200,-10,VAR15);VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR18:=100-ABS(VAR17);VAR19:=IF(VAR18<90,VAR18,100);VAR1A:=IF(VARE>0,VARE,0);VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 ANDVAR13<=-150,-15,VAR16))+60;VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<130;VAR2C:=VAR1A<40 AND VAR1B<80 AND VAR19<130;DRAWTEXT(VAR2C AND COUNT(VAR2C,30)=1,顶,'洗盘'),LINETHICK1,COLORYELLOW;STICKLINE(VAR2C AND COUNT(VAR2C,30)=1,顶,底,5,0),COLORYELLOW; DRAWTEXT(CROSS(AA05,中) AND (AA05> 中),中,'拉升'),COLORLIRED;N1:=7;LC:=REF(CLOSE,1);X:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORYELLOW, LINETHICK1;AA:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),X,1),COLOR00FF00;BB:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),1,X),COLOR00FF00;TJ0:=X=BB;TJ1:=X=AA;TJ2:=X<REF(X,1);TJ3:=X>REF(1,X);JRS1:=DRAWICON(TJ1 AND TJ2,X,1);JRS2:=DRAWICON(TJ0 AND TJ3,X,2);DRAWICON(FILTER(JRS1>0,1),L*0.97,1);DRAWICON(FILTER(JRS2>0,1),H*1.02,2);【通达信】操盘线(拉升)-指标公式效果图(文档来源:若水财经社区)。
BS操盘线(类似收费软件的BS)通达信指标公式源码
BS操盘线(类似收费软件的BS)B点:买入红色k线:持股。
S点:卖出绿色k线:持币。
在持股状态下彩色K线柱为加仓点。
发源码了,不想加精!对振荡型态无用,波段明显有用。
坚持BS还是有用的。
MA1:MA(CLOSE,5)COLORWHITE,LINETHICK1;IF(EMA(C,4)<REF(EMA(C,4),1),MA1, DRAWNULL) COLORGREEN,LINETHICK2;MA2:MA(CLOSE,10)COLORYELLOW,LINETHICK2;MA3:MA(CLOSE,20)COLORMAGENTA;MA4:MA(CLOSE,60)COLORGREEN;{CPX}MA7:=MA(CLOSE,1);转强:=(6*H+5*REF(H,1)+4*REF(H,2)+3*REF(H,3)+2*REF(H,4)+1*REF(H,5))/(6+5+4+3+ 2+1);转弱:=(6*L+5*REF(L,1)+4*REF(L,2)+3*REF(L,3)+2*REF(L,4)+1*REF(L,5))/(6+5+4+3+2 +1);BB2:=IF(C>REF(转强,1),1,IF(C<REF(转弱,1),-1,0));DD2:=BARSLAST(NOT(BB2=0));B:=IF(BB2=0,REF(BB2,DD2),BB2);中短:=IF(B=-1,MA(HIGH,6),MA(LOW,6));STICKLINE(((OPEN<CLOSE)AND(MA7<中短)),CLOSE*1.002,OPEN*0.998,3.05,0),COLORCYAN;STICKLINE(((OPEN>CLOSE)AND(MA7>中短)),OPEN*1.002,CLOSE*0.998,3.05,0),COLORRED;DRAWKLINE(H,O,L,C);STICKLINE(MA7<中短,HIGH,MAX(C,O)*1.002,0,1),COLORCYAN;STICKLINE(MA7<中短,LOW,MIN(C,O)*0.998,0,1),COLORCYAN;STICKLINE(MA7>中短,HIGH,MAX(C,O)*1.002,0,1),COLORRED;STICKLINE(MA7>中短,LOW,MIN(C,O)*0.998,0,1),COLORRED;DRAWICON(CROSS(MA7,中短),L*0.999,7);DRAWICON(CROSS(中短,MA7),H*1.001,8);{加仓点}AAA7:=C-REF(C,1);AAA8:=100*EMA(EMA(AAA7,6),6)/EMA(EMA(ABS(AAA7),6),6);BU:=(LLV(AAA8,2)=LLV(AAA8,7) AND COUNT(AAA8<0,2) ANDCROSS(AAA8,MA(AAA8,2)));JCD:=MA(C,10)>REF(MA(C,10),1) AND MA(C,5)>MA(C,10) AND V>MA(V,5) AND CROSS(C,MA(C,5));{暗渡陈仓}CC1:=REF(C,1);C2:=REF(C,2);C3:=REF(C,3);C4:=REF(C,4);C5:=REF(C,5);C6:=REF(C,6);O1:=REF(O,1);O2:=REF(O,2);O3:=REF(O,3);O4:=REF(O,4);P1:=C2<=C3 AND C2<=C4 AND C2<=C5 AND C2<=C6;P2:=C>MA(C,5) AND C>MA(C,10) AND C>MA(C,20);P3:=C>O AND CC1>C2;P4:=C>CC1;P:=P1 AND P2 AND P3 AND P4 AND CC1/C2<=1.05;STICKLINE(JCD OR BU OR P,O,O+0.3*(C-O),2.9,0),COLORRED; STICKLINE(JCD OR BU OR P,O+0.3*(C-O),O+0.6*(C-O),2.9,0),COLORBROWN; STICKLINE(JCD OR BU OR P,O+0.6*(C-O),C,2.9,0),COLORYELLOW;{步步为营}M5:=EXPMA(C,5);M60:=EXPMA(C,60);BBTJ1:=REF(O/C>1.04,1);BBTJ2:=O<=REF(C,1) AND C>REF(H,1);BBTJ3:=IF(O>EXPMA(C,10),O/EXPMA(C,10)<1.05,O*0.97<EXPMA(C,10) AND C*1.03>EXPMA(C,10));BBTJ4:=EXPMA(C,10)>EXPMA(C,60) AND EXPMA(C,10)/EXPMA(C,60)<1.25; BBXG:=BBTJ1 AND BBTJ2 AND BBTJ3 AND BBTJ4;DRAWICON(BBXG,L*0.93,1);。
【股票指标公式下载】-【大智慧】BS操盘(买线、卖线、指导线)
【大智慧】BS操盘(买线、卖线、指导线)-指标公式源码DRAWGBK(DATE>900101,STRIP(RGB(0,150,130),RGB(0,0,0),0));买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);BU:=cross(买线,卖线);SEL:=cross(卖线,买线);drawtext(bu,LOW,'B'),ALIGN1,VALIGN0,colorred,linethick3;DRAWTEXT(bu,LOW,' ̄'),ALIGN1,VALIGN0,Color208FFF,LINETHICK3; DRAWTEXT(sel,HIGH,' ̄'),ALIGN1,VALIGN0,ColorFFFF00,LINETHICK3; drawtext(sel,HIGH,'S'),ALIGN1,VALIGN2,colorgreen,linethick3;stickline(买线>=卖线,low,high,0.1,1),colorred;stickline(买线>=卖线,close,open,8,1),colorred;stickline(买线<卖线,close,open,8,0),color00ff00;stickline(买线<卖线,low,high,0.1,1),color00ff00;stickline(cross(买线,卖线) or cross(卖线,买线),open,close,6,0),colorffff00;指导线:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),line thick1,ColorFFffFF;界: MA(CLOSE,27),linethick1,Color00FFFF;DRAWTEXT(cross(指导线,界),界,'上破'),ALIGN1,VALIGN2,Colorffffff; DRAWTEXT(cross(指导线,界),界,' ̄ ̄'),ALIGN1,VALIGN0,Colorffffff;DRAWTEXT(cross(界,指导线),界,'下破'),ALIGN1,Color00ffff; DRAWTEXT(cross(界,指导线),界,' ̄ ̄'),ALIGN1,Color00ffff;上限: 界+3*STD(CLOSE,27),linethick1,Color00FFFF;卖: 界+2*STD(CLOSE,27),linethick1,ColorFF00FF;买: 界-2*STD(CLOSE,27),linethick1,ColorF0FF00;下限: 界-2.9*STD(close,27),linethick1,Color00FF00;DRAWTEXT(cross(H,上限),H,'获利'),ALIGN1,VALIGN2,Color00ffff; DRAWTEXT(cross(H,上限),H,' ̄ ̄'),ALIGN1,VALIGN0,Color00ffff; DRAWTEXT(cross(上限,H),H,'&利'),ALIGN1,VALIGN2,Color00ffff; DRAWTEXT(cross(上限,H),H,' ̄ ̄'),ALIGN1,VALIGN0,Color00ffff; DRAWTEXT(cross(H,卖),H,'获利'),ALIGN1,VALIGN2,Colorff00ff; DRAWTEXT(cross(H,卖),H,' ̄ ̄'),ALIGN1,VALIGN0,Colorff00ff; DRAWTEXT(cross(C,卖),H,'获利'),ALIGN1,VALIGN2,Colorff0000; DRAWTEXT(cross(C,卖),H,' ̄ ̄'),ALIGN1,VALIGN0,Colorff0000; DRAWTEXT(cross(下限,L),l,'观'),ALIGN1,VALIGN0,Color00ff00; DRAWTEXT(cross(下限,L),l,' ̄ ̄'),ALIGN1,VALIGN0,Color00ff00; DRAWTEXT(cross(买,L),l,'◎'),ALIGN1,VALIGN0,Colorff0000; DRAWTEXT(cross(买,L),l,' ̄ ̄'),ALIGN1,VALIGN0,Colorff0000; DRAWTEXT(cross(买,C),L,'◎'),ALIGN1,VALIGN0,Colorff0000; DRAWTEXT(cross(买,C),L,' ̄ ̄'),ALIGN1,VALIGN0,Colorff0000;【大智慧】BS操盘(买线、卖线、指导线)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】北狼指标(生命线、取舍线、智能成本)
【通达信】北狼指标(生命线、取舍线、智能成本)-指标公式源码VAR886:=IF((YEAR >= 2050) AND (MONTH >= 1),0,1);A001:=CLOSE-REF(CLOSE,6)*VAR886;A002:=MA(A001,6)*VAR886;A003:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*100;A004:=SMA(A003,3,1);A005:=SMA(A004,3,1);A006:=EMA((3*A004-2*A005),2);A007:=(HIGH+LOW+CLOSE)/3;A008:=((A007-MA(A007,14))/(0.015*AVEDEV(A007,14)))/2;A009:=(A008+(EMA(((0-(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW, 14))))+100)/100,3)*200-100))/2;A010:=A009-REF(A009,14);A011:=A009-REF(A009,26);A012:=(A009+A010+A011)/3;KKM:=EMA(A012,4);A013:=HHV(HIGH,34);A014:=(2*CLOSE+HIGH+LOW)/4;A015:=LLV(LOW,34);A016:=EMA(((A014-A015)/(A013-A015))*100,13)*VAR886;A017:=EMA(0.667*REF(A016,1)+0.333*A016,2)*VAR886;KKMD:=A016-A017>1 AND A016<30 AND A017<30;KKML:=A016-A017<0 AND A016>80 AND A017>80 AND REF(A016-A017,1)>0; KKMQ:=COUNT(A016-A017>0,2)=2;KKAL:=(A016-A017)<0;生命线:MA(CLOSE,20),COLOR0000FF;取舍线:MA(CLOSE,10);DRAWTEXT(FILTER(KKMD,30),L,'最佳买入时机'),COLOR00FFFF;DRAWTEXT(FILTER(KKML,30),H,'最佳卖出时机'),COLORFFFF00;DRAWTEXT(FILTER(KKMQ,30),C,'持仓区'),COLOR00FF00;DRAWTEXT(FILTER(KKAL,30),H,'空仓区'),COLORFF8080;DRAWTEXT(FILTER(CLOSE/REF(CLOSE,1)>INDEXC/REF(INDEXC,1),30),L*0.95,'该股强于大盘')*VAR886,COLORFF00FF;DRAWTEXT(CROSS(MA(CLOSE,5),MA(CLOSE,10)),L*0.92,'可出手'),COLORFF00FF;DRAWTEXT(CROSS(MA(CLOSE,10),MA(CLOSE,5)),H*1.08,'收手了'),COLORFF0000;DRAWTEXT(FILTER(KKM>EMA(KKM,4) AND KKM>REF(KKM,1),30),L*0.98,'快速介入');DRAWTEXT(FILTER(KKM<EMA(KKM,4) AND KKM<REF(KKM,1),30),H*1.02,'风险较大');DRAWTEXT(FILTER(KKM>EMA(KKM,4) AND KKM<REF(KKM,1),30),H,'休息观望~'),COLORAA8800;DRAWTEXT(FILTER(KKM<EMA(KKM,4) AND KKM>REF(KKM,1),30),L,'有防御能力') ,COLORAA00AA;智能成本:AMOUNT/VOL/100,POINTDOT,COLORWHITE;STICKLINE(1 ,智能成本 ,智能成本 ,1 ,1 )*VAR886,COLORWHITE,;VAR88:=IF((YEAR >= 2050) AND (MONTH >= 1),0,1);上市日期:FINANCE(42)/100, NODRAW ;【通达信】北狼指标(生命线、取舍线、智能成本)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】买卖(趋势线、捞钱手、智能黄金线)
【通达信】买卖(趋势线、捞钱手、智能黄金线)-指标公式源码MMS:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-R EF((L+H+2*C)/4,1)),5,1)*100,1)+50;G1:=IF(-MMS>95,0,20);UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0 AND G1)+1);KS:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 - 100));KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100);趋势线:=EMA(((KS / 10) + EMA(CLOSE,10)),3);AA:=-100*(趋势线-CLOSE)/趋势线;AC:=(EMA(AA,5) );SSL:=EMA(CLOSE,3);MMV:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);MM:=MA(MMV,1);STICKLINE(((SSL>MM)),SSL,MM,0.01,0),COLORRED;SA:=(MM*0.985);SS:=(MA(CLOSE,5));DD:=(MA(CLOSE,13));GG:=(MA(CLOSE,21));捞钱手:IF(((SSL>MM)),MM,SA),LINETHICK2,COLORFF00FF;{IF(SSL<MM,捞钱手,DRAWNULL),LINETHICK2,COLORFFFFFF;}能量线:=DMA(((CLOSE + OPEN) / 2),(VOL / (SMA(VOL,4,1) *4)));上开:=O;上收:=C;上高:=H;上低:=L;JJ:=(上开+上高+上低)/3;A:=EMA(JJ,4);智能黄金线:A,COLORYELLOW,LINETHICK1;B:=REF(A,1);STICKLINE(((SSL<MM)),捞钱手,智能黄金线,0.01,0),COLORFFFF00;VA1:=EMA(上收,8);VA2:=EMA(上收,20);DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW*0.978,'绝佳') ,LINETHICK2,COLORRED;DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.02,'卖'); DRAWTEXT(CROSS(VA1,VA2)AND(C>=O)AND 智能黄金线>REF(智能黄金线,1),VA1*0.97,'买'),COLOR00FF00;选手A:=MA(上收,3);箱顶A:=MA(REF(HHV(上收,6),1),3);箱底A:=MA(REF(LLV(上收,3),1),3);T1:=MA(上收,20)>=REF(MA(上收,20),1);T2:=CROSS(选手A,箱底A) AND 箱顶A/箱底A>100/100 AND T1; T3:=CROSS(箱顶A,选手A) AND 箱顶A/箱底A>100/100;选手:=MA(上收,2);箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2;箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00,LINETHICK2;T4:=CROSS(选手,箱底) AND 箱顶/箱底>110/100;T5:=CROSS(箱顶,选手) AND 箱顶/箱底>110/100;VAR1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100; VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);{DRAWTEXT(VAR3 >=VAR4 ,箱顶,'--中期好'),COLOR00FFFF; DRAWTEXT(VAR3<VAR4 ,箱顶,'--中期坏'),COLORF0F000; DRAWTEXT(A>B ,箱底,'--短期好'),COLOR00FFFF;DRAWTEXT(A<B ,箱底,'--短期坏'),COLORF0F000;}DRAWTEXT(CROSS(VAR3,VAR4)AND(C>=O)AND VAR3<40 ANDUOO>0,LOW*0.96,''),COLORF00FF0;STICKLINE(C>=O,C,O,5,0),COLORRED;STICKLINE(C>=O,H,L,0,0),COLORYELLOW;STICKLINE(C<=O,C,O,5,0),COLORGREEN;STICKLINE(C<=O,H,L,0,0),COLORFFFF00;买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);DRAWTEXT(CROSS(买线,卖线)AND 箱顶>=REF(箱顶,1),LOW*0.95,'跟'),COLOR00FFFF;STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,3,0),COLOR00FFFF;【通达信】买卖(趋势线、捞钱手、智能黄金线)-指标公式效果图(文档来源:若水财经社区)。
BS操盘线通达信指标公式源码
BS操盘线通达信指标公式源码一、变异均线变异均线:=EMA((1+VAR((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100,8,1))*REF(CLOSE,1),8);DRAWKLINE(变异均线,COLORMAGENTA);二、超跌反弹指标超跌反弹:=(((HHV(HIGH,25)/LLV(LOW,25))-1)*100);DRAWICON(超跌反弹<-25,L*0.9,3);三、实时趋势指标A1:=MA(CLOSE,3);A2:=MA(A1,3);A3:=MA(A2,3);A4:=MA(A3,3);WR1:=EMA(EMA(EMA(A4,2),2),2);WR2:=EMA(WR1,2);B2:=HHV(HIGH,20);多头预警:=(WR1-WR2)>REF((WR1-WR2),1)*1.2;DRAWICON(多头预警,B2,2);空头预警:=(WR1-WR2)<REF((WR1-WR2),1)*0.8;DRAWICON(空头预警,B2*0.9,3);四、止损大师指标收盘价:=CLOSE;单笔最高:=HHV(HIGH,1);单笔最低:=LLV(LOW,1);最高点:=延时(单笔最高,1);最低点:=延时(单笔最低,1);止损线A:=IF(收盘价>最高点,单笔最高*1.02,最高点);DRAWLINE(止损线A,COLORFF00FF);止损线B:=IF(收盘价<最低点,单笔最低*0.98,最低点);DRAWLINE(止损线B,COLORFFFF00);五、反转止损指标反转止损指标:=EMA((EMA(CLOSE,13)+EMA(CLOSE,13))/2,6);DRAWLINE(反转止损指标,COLORRED);六、波动止损指标波动止损指标:=EMA((EMA(CLOSE,13)+EMA(CLOSE,13))/2,6);DRAWLINE(波动止损指标,COLORRED);七、强弱线指标强弱指数:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;强弱线:=EMA(强弱指数,2);DRAWLINE(强弱线,COLORMAGENTA);八、涨跌幅度指标涨跌幅度:=EMA((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100,2);。
bs买卖精准指标公式
bs买卖精准指标公式BS买卖精准指标是一种技术分析指标,它结合了MACD和KDJ指标的计算,通过对买卖信号的判断,帮助投资者进行买卖决策。
下面我将详细介绍BS买卖精准指标的公式。
BS买卖精准指标的公式主要包括以下几个方面的计算:1.获取收盘价和成交量数据:收盘价是指其中一交易日最后的交易价格,成交量是指在该交易日内的总交易量。
2.计算收盘价的短期和长期移动平均线:短期移动平均线一般选择5日或10日,长期移动平均线一般选择20日或60日。
通过计算这两条移动平均线,可以反映出价格的趋势。
3.计算移动平均线的差值(DIFF):DIFF等于短期移动平均线减去长期移动平均线。
4.计算DIFF的九日加权移动平均线(DEA):DEA等于DIFF的九日加权移动平均值。
5.计算MACD指标:MACD等于DIFF和DEA的差值。
6.计算KDJ指标:KDJ指标是一种相对强弱指标,它主要由三个参数组成,即RSV(未成熟随机值)、K值和D值。
其中,RSV等于(当日收盘价-最近n天最低价)/(最近n天最高价-最近n天最低价)*100。
然后,根据公式K=2/3*上一日的K+1/3*当日的RSV,D=2/3*上一日的D+1/3*当日的K,计算出K值和D值。
7.根据MACD指标和KDJ指标的数值,对买卖信号进行判断:一般情况下,MACD指标上穿零轴时为买入信号,下穿零轴时为卖出信号;KDJ指标的K值和D值同时大于80时为卖出信号,小于20时为买入信号。
BS买卖精准指标综合了MACD和KDJ指标的计算结果,通过对买卖信号进行综合判断,为投资者提供买卖的建议。
不过,需要注意的是,技术指标只是辅助工具,投资者还需要结合其他因素进行综合分析和判断,并且投资有风险,谨慎对待。
【股票指标公式下载】-【通达信】操盘线背离(压力位、支撑位、支撑价)
【通达信】操盘线背离(压力位、支撑位、支撑价)-指标公式源码VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),3.1,0),COLOR000055; STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),2.7,0),COLOR000077; STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),2.1,0),COLOR000099; STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),1.5,0),COLOR0000BB; STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),0.9,0),COLOR0000DD; STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),0.3,0),COLOR0000FF; VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),3.1,0),COLOR00AAFF;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),2.7,0),COLOR00DDFF;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),2.1,0),COLOR00EEFF;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),1.5,0),COLOR22FFFF;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),0.9,0),COLOR99FFFF;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),0.3,0),COLORFFFFFF;VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORMAGENTA;VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR008800;RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;RSV24:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;K24:=SMA(RSV24,3,1);D24:=SMA(K24,3,1);J24:=3*K24-2*D24;压力位:IF(CROSS(J24,J),H,REF(H,BARSLAST(CROSS(J24,J)))),COLOR00FF33,LINET HICK1;支撑位:IF(CROSS(J,J24),L,REF(L,BARSLAST(CROSS(J,J24)))),COLORCC33CC,LINET HICK1;支撑价:LLV(LOW,23) ,COLOR7FFF00,LINETHICK2;阻力价:HHV(HIGH,23),COLORFF9900, LINETHICK2;A1:=BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1));DRAWTEXT(REF(C,A1+1)>C AND REF("MACD.DIF",A1+1)<"MACD.DIF" AND CROSS("MACD.DIF","MACD.DEA")>0,L-0.02,'★M'),COLOR00FFFF;{MACD底背离}A2:=BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1));DRAWTEXT(REF(C,A2+1)>C AND REF("KDJ.K",A2+1)<"KDJ.K" ANDCROSS("KDJ.K","KDJ.D"),L-0.10,'◎K'),COLORFF00FF;{KDJ底背离}A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1));DRAWTEXT(REF(C,A3+1)>C AND REF("RSI.RSI1",A3+1)<"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2")>0,L-0.18,'◆R'),COLOR0000FF;{RSI底背离};C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1));DRAWTEXT(REF(C,C1+1)<C AND REF("MACD.DIF",C1+1)>"MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF")>0,H+0.16,'★M'),COLOR00FF00;{MACD顶背离};C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));DRAWTEXT(REF(C,C2+1)<C AND REF("KDJ.K",C2+1)>"KDJ.K" ANDCROSS("KDJ.D","KDJ.K")>0,H+0.08,'◎K'),COLORFFFFCC;{KDJ顶背离}C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1));DRAWTEXT(REF(C,C3+1)<C AND REF("RSI.RSI1",C3+1)>"RSI.RSI1" AND CROSS("RSI.RSI2","RSI.RSI1")>0,H+0.04,'◆R'),COLORFF9900;{RSI顶背离};重心:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2 .382;【操盘线】:EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK4;【黄金线】:IF(重心>=【操盘线】,【操盘线】,DRAWNULL),COLORRED,LINETHICK2; 【空仓线】:IF(重心<【操盘线】,【操盘线】,DRAWNULL),COLORCYAN,LINETHICK2; DRAWTEXT(ISLASTBAR,【操盘线】,'【操盘线】'),COLORRED;{引:EMA(CLOSE,2),LINETHICK1,COLORMAGENTA;探:MA(CLOSE,5),LINETHICK1;};变:EMA(CLOSE,5),LINETHICK1,COLORYELLOW;金:IF(变>REF(变,1),变,DRAWNULL),COLORRED,LINETHICK1;空:IF(变<REF(变,1),变,DRAWNULL),COLORGREEN,LINETHICK1;DRAWTEXT(ISLASTBAR,变,'【雷达线】'),COLORRED;【通达信】操盘线背离(压力位、支撑位、支撑价)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】顶底主图(攻击线、操盘线、生命线)
【通达信】顶底主图(攻击线、操盘线、生命线)-指标公式源码攻击线5:MA(C,5)LINETHICK1;操盘线10:MA(C,10)LINETHICK1;生命线30:MA(C,30)LINETHICK1;决策线60:MA(C,60)LINETHICK1;DRAWTEXT(CROSS(攻击线5,操盘线10),LOW*0.95,'攻抄金叉'),COLORRED; DRAWTEXT(CROSS(生命线30,决策线60),LOW*0.95,'生决金叉'),COLORMAGENTA; N:=20;M:=30;P1:=80;P2:=100;VAR101:=(C+H+O+L)/4;卖出:XMA(VAR101,N)*(1+P1/1000),COLORRED,LINETHICK2;买入:XMA(VAR101,M)*(1-P2/1000),COLORLIRED,LINETHICK2;幅度:=100*(卖出-买入)/买入,NODRAW;MA1:=MA(VAR101,3);STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,0),COLORGREEN; STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),COLORGREEN;STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN;STICKLINE(买入>LOW AND 买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),COLORMAGENTA;STICKLINE(买入>MIN(C,O) AND 买入<MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;STICKLINE(买入>LOW AND 买入<HIGH,买入,LOW,0,0),COLORMAGENTA; STICKLINE(买入>HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORMAGENTA;DRAWTEXT(CROSS(LOW,买入),LOW*0.95,'买'),COLORRED,LINETHICK2; DRAWTEXT(CROSS(卖出,HIGH),HIGH*1.02,'卖'),COLORGREEN;MA20:=MA(CLOSE,20);MA120:=MA(CLOSE,120);MA30:=MA(CLOSE,37);MAP:=MA(CLOSE,8);AA5:=MA(CLOSE,21);AA10:=MA(CLOSE,8),COLORFF0000;AA12:=MA(CLOSE,12),COLORFF0000;BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);VAR01:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);中期大底:=LLV(LOW,30),;短期底部0:=LLV(HIGH,30);短底:=EMA(VAR01,5);支撑:=HHV(短底,60);压力1:=HHV(LOW,20),COLORFAABEC;压力:=SMA(LOW,5,1);中线:=MA(CLOSE,3);DRAWTEXT(FILTER(((((HIGH > 支撑) AND (CLOSE < 支撑)) AND ((CLOSE / OPEN) > (0 - 1.06))) AND (CLOSE < OPEN)),5),(HIGH + 0.02),'逃'),COLORFFFF00;中轨道:=(MA(HIGH,15) * 1.05);天:=(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);VAR1:=(((CLOSE - LLV(LOW,100)) / (HHV(HIGH,100) - LLV(LOW,100))) * 200); 飞龙顶底线1:=SMA(VAR1,3,1);VAR2:=SMA(飞龙顶底线1,3,1);VAR3:=((3 * 飞龙顶底线1) - (2 * VAR2));VAR4:=LLV(LOW,5);VAR5:=HHV(HIGH,5);VAR6:=(EMA((((CLOSE - VAR4) / (VAR5 - VAR4)) * 100),4) * 2);VAR7:=EMA(((0.667 * REF(VAR6,1)) + (0.333 * VAR6)),2);VAR8:=((3 * VAR6) - (2 * VAR7));VAR9:=(POW(MA(CLOSE,5),2) + MA(CLOSE,5));VARA:=(POW(MA(LOW,5),2) + MA(LOW,5));VARB:=(POW(MA(HIGH,5),2) + MA(HIGH,5));VARC:=(((((VAR9 - LLV(VARA,64)) / (HHV(VARB,64) - LLV(VARA,64))) * 150) + 65) - 10);VARD:=((SMA(VARC,3,1) * 1.5) - 100);VARE:=SMA(VARD,3,1);VARF:=((3 * VARD) - (2 * VARE));VAR10:=(((HIGH + LOW) + (CLOSE * 2)) / 4);VAR11:=EMA(VAR10,13);VAR12:=STD(VAR10,13);VAR13:=(((VAR10 - VAR11) * 100) / VAR12);VAR14:=EMA(VAR13,5);VAR15:=EMA(VAR14,13);VAR16:=((EMA(VAR14,13) + 200) - 100);VAR17:=EMA(VAR16,10);VAR18:=((3 * VAR16) - (2 * VAR17));VAR19:=(((飞龙顶底线1 + VAR6) + VARD) + VAR16);VAR1A:=(((VAR2 + VAR7) + VARE) + VAR17);VAR1B:=(((VAR3 + VAR8) + VARF) + VAR18);VAR1C:=(((HIGH + LOW) + CLOSE) / 3);VAR1D:=((AMOUNT / VOL) / 100);VAR1E:=((SUM(AMOUNT,5) / SUM(VOL,5)) / 100);VAR1F:=((VAR1C - MA(VAR1C,34)) / (0.015 * AVEDEV(VAR1C,34)));VAR21:=((((HIGH + LOW) + CLOSE) + VAR1C) / 4);VAR22:=EMA(VAR21,24);VAR23:=STD(VAR21,24);VAR24:=(((VAR21 - VAR22) / VAR23) * 100);VAR25:=((VAR1C - MA(VAR1C,24)) / (0.015 * AVEDEV(VAR1C,24)));VAR26:=EMA(VAR24,5);VAR27:=((VAR1D - MA(VAR1D,21)) / (0.015 * AVEDEV(VAR1D,21)));VAR28:=((VAR1E - MA(VAR1E,90)) / (0.015 * AVEDEV(VAR1E,90)));VAR29:=(((((((VAR28 + VAR27) + VAR26) + VAR25) + VAR1F) / 5) + 165) / 4);VAR2A:=(((((VAR19 + VAR1A) + (VAR1B * 30)) / 32) / 5) - 15);VAR2B:=(((VAR29 + VAR2A) / 2) / 1.1);VAR2C:=VAR2B;短线:=MA(VAR2C,26);MID:=(短线 + (2 * STD(VAR2C,26)));UPPER:=(短线 - (2 * STD(VAR2C,26)));LOWER:=IF((VAR2C > 短线),短线,VAR2C);XY:=MA(CLOSE,5);M80:=MA(CLOSE,80);短期底部:=(LLV(HIGH,30) * 0.93);MA80:=LLV(HIGH,30);短期底部2:=SMA(CLOSE,2,1);趋势:=(MA(LOW,10) * 0.96);趋:=(EMA(OPEN,107) * 0.897);超跌位2:=MA(CLOSE,15);GF:=MA(CLOSE,10);MAN:=(SMA(HIGH,21,2) * 1.05);上1:=(HHV(短底,60) * 0.92);压力2:=(SMA(HIGH,21,2) * 1.035);阻挡线:=(SMA(LOW,21,2) * 0.96);下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100); RSV:=SMA(下档线,3,1);K:=SMA(RSV,3,1);D:=((3 * RSV) - (2 * K));J:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR2P:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR3P:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR4P:=(((J + (2 * VAR2P)) + (3 * VAR3P)) / 6);VAR5P:=MA(VAR4P,3);VAR6P:=(((CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100); RSV12:=SMA(VAR6P,3,1);K12:=SMA(RSV12,3,1);D12:=((3 * RSV12) - (2 * K12));J12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100); RSV24:=SMA(J12,3,1);K24:=SMA(RSV24,3,1);D24:=((3 * RSV24) - (2 * K24));J24:=IF(CROSS(D,D24),LOW,REF(LOW,BARSLAST(CROSS(D,D24))));压力位:=IF(CROSS(D24,D),HIGH,REF(HIGH,BARSLAST(CROSS(D24,D))));支撑位:=IF((CLOSE >= MA(CLOSE,20)),80,50);U2L:=IF((CLOSE >= MA(CLOSE,20)),50,20);L2L:=IF(((D < 支撑位) AND (REF(D,1) >= 支撑位)),HHV(REF(HIGH,1),(BARSLAST(((D >= 支撑位) AND (REF(D,1) < 支撑位))) - 1)),REF(HHV(REF(HIGH,1),(BARSLAST(((D >= 支撑位) AND (REF(D,1) < 支撑位))) - 1)),BARSLAST(((D < 支撑位) AND REF(D,1)))));RH1:=IF((HIGH > L2L),LOW,REF(LOW,BARSLAST((HIGH > L2L))));RH4:=IF((HIGH > L2L),D,REF(D,BARSLAST((HIGH > L2L))));RH42:=IF((((HIGH > RH1) AND (D < RH4)) AND (D <D24)),HIGH,REF(HIGH,BARSLAST((((HIGH > RH1) AND (D < RH4)) AND (D <D24)))));RH5:=IF(((D > U2L) AND (REF(D,1) <= U2L)),LLV(REF(LOW,1),(BARSLAST(((D <= U2L) AND (REF(D,1) > U2L))) - 1)),REF(LLV(REF(LOW,1),(BARSLAST(((D <= U2L) AND (REF(D,1) > U2L))) - 1)),BARSLAST(((D > U2L) AND REF(D,1))))); RL1:=IF((LOW < RH5),HIGH,REF(HIGH,BARSLAST((LOW < RH5))));RL4:=IF((LOW < RH5),D,REF(D,BARSLAST((LOW < RH5))));RL42:=IF((((LOW < RL1) AND (D > RL4)) AND (D >D24)),LOW,REF(LOW,BARSLAST((((LOW < RL1) AND (D > RL4)) AND (D > D24))))); 长期底部:=LLV(HIGH,30);DRAWTEXT(FILTER(((((RL42 = J24) AND (CLOSE > OPEN)) AND (CLOSE > 长期底部)) AND (LOW <= J24)),20),(LOW - 0.12),'底成'),COLOR0EABFF;RL5:=(SMA(HIGH,5,2) * 1.05);上:=(SMA(LOW,5,2) * 0.96);下:=SMA(LOW,2,1);中:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);X1:=EMA(中,10);X2:=REF(X1,1);X3:=((REF(HIGH,1) + REF(LOW,1)) / 2);X4:=(MA(CLOSE,21) + (2 * STD(CLOSE,21)));X5:=REF(CLOSE,1);X6:=((SMA(MAX((CLOSE - X5),0),7,1) / SMA(ABS((CLOSE - X5)),7,1)) * 100);X7:=CROSS(79,X6);X8:=FILTER(X7,4);X9:=MA(CLOSE,115);VAR001:=EMA(CLOSE,8);飞龙顶底线:=EMA(VAR001,20);VAR002:=CROSS(VAR001,飞龙顶底线);VAR003:=(VAR001 < MA(CLOSE,20));VAR004:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100); VAR005:=SMA(VAR004,5,1);VAR006:=SMA(VAR005,8,1);VAR007:=(CROSS(VAR005,VAR006) AND (VAR006 < 5));VAR008:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND VAR007); VAR009:=IF((CLOSE > 1000),VAR007,VAR008);VAR00F:=CROSS(X1,X2);MA115:=VAR00F;低买:=(VAR002 AND VAR003);黑马起步:=VAR009;DRAWTEXT(X8,(HIGH * 1.03),'出货'),COLOR9000F5;DRAWTEXT((黑马起步 > 0),(HIGH * 1.04),'逃命'),COLORFF0000;逃遁:=(SMA(HIGH,21,2) * 1.05);阻挡:=(SMA(LOW,21,2) * 0.94);DRAWTEXT(FILTER(((((((((CLOSE / OPEN) > 1.03) AND ((超跌位2 - REF(超跌位2,1)) > 0)) AND ((CLOSE - REF(CLOSE,1)) > 0)) AND (HIGH < 压力1)) AND (CLOSE < 压力1)) AND ((压力2 - REF(压力2,1)) > 0)) AND (CLOSE < MAN)),3),LOW,'出击'),COLOR646E69;DRAWTEXT((((((低买 > 0) AND ((X1 - REF(X1,1)) > 0)) AND (HIGH < 压力位)) AND (HIGH < X9)) AND ((X2 - REF(X2,1)) > 0)),LOW,'黑马'),COLOR00FF00; DRAWTEXT((((CROSS(VAR2C,UPPER) AND (HIGH < 压力1)) AND ((XY -REF(XY,1)) > 0)) AND (HIGH < 支撑)),LOW,'买'),COLORFFFFFF; DRAWTEXT(FILTER((((((MA115 AND (CLOSE < 压力位)) AND ((人 - REF(人,1)) >0)) AND ((X1 - REF(X1,1)) > 0)) AND (HIGH < 上1)) AND ((CLOSE / OPEN) >1.03)),5),LOW,'●买'),COLOR93EE7D;DRAWTEXT(((((LOW <= 上) AND (HIGH >= 短期底部)) AND (CLOSE >= 长期底部)) AND ((CLOSE / OPEN) > 1.03)),(LOW - 0.08),'★抄底'),COLOR0000FF;DRAWTEXT(FILTER((((((LOW <= 阻挡线) AND ((MA20 - REF(MA20,1)) > 0)) AND (OPEN <= 上1)) AND (HIGH > 上1)) AND (CLOSE > 阻挡线)),5),LOW,'涨10%'),COLORFFFFFF;DRAWTEXT(FILTER((((((B8 <= 1) AND (LOW <= 阻挡)) AND (CLOSE > OPEN)) AND (LOW <= 中期大底)) AND (CLOSE >= 长期底部)),3),(LOW - 0.08),'短抄E'),COLORA100FF;DRAWTEXT(FILTER((((CROSS(趋势,趋) AND (HIGH < M80)) AND (HIGH < 压力1)) AND LLV(LOW,0)),10),LOW,'果断买'),COLOR668800;DRAWTEXT(FILTER(((CROSS(中线,人) AND (LOW <= 人)) AND (CLOSE >= 人)),4),(LOW - 0.06),'买'),COLOR00FF00;DRAWTEXT(FILTER((((((((MA20 - REF(MA20,1)) > 0) AND (HIGH < 支撑)) AND ((AA10 - REF(AA10,1)) > 0)) AND (HIGH < 压力1)) AND (VOL >= REF(VOL,1))) AND CROSS(CLOSE,MA20)),57),LOW,'突破生命线'),COLOR0000FF;DRAWTEXT(FILTER(((((LOW <= MA80) AND (CLOSE > MA80)) AND (CLOSE > OPEN)) AND (短期底部2 <= MA80)),8),LOW,'底'),COLORFFFF00;DRAWTEXT(((CROSS(MA20,压力位) AND (LOW <= MA20)) AND ((MA20 -REF(MA20,1)) > 0.02)),(LOW - 0.03),'●绝佳买点'),COLORAFA0AF; DRAWTEXT((((((((CROSS(CLOSE,MA20) AND (HIGH < 压力位)) AND (OPEN < MA20)) AND (HIGH < 支撑)) AND ((MAN - REF(MAN,1)) > 0)) AND ((X1 - REF(X1,1)) > 0)) AND (D < 63)) AND ((MA20 - REF(MA20,1)) > 0)),(LOW - 0.05),'●大牛浮水'),COLOR73777F;DRAWTEXT(CROSS(中期大底,短期底部),(LOW - 0.02),'短线买');短趋势线:=MA(CLOSE,13);中趋势线1:=MA(CLOSE,33),LINETHICK1;中趋势线:=MA(CLOSE,55);涨:=IF(短趋势线>REF(短趋势线,1),短趋势线,DRAWNULL),COLORRED,LINETHICK3;平:=IF(短趋势线=REF(短趋势线,1),短趋势线,DRAWNULL),COLOR00FFFF,LINETHICK3;跌:=IF(短趋势线<REF(短趋势线,1),短趋势线,DRAWNULL),COLORGREEN,LINETHICK3;STICKLINE(CROSS(MA(CLOSE,13),C) AND MA(CLOSE,13)>REF(MA(CLOSE,13) ,1) AND V<REF(V,1) ANDMA(CLOSE,13)>MA(CLOSE,55) ,L,L*0.98,3,0),COLORYELLOW;DRAWTEXT(CROSS(MA(CLOSE,13),C) AND INDEXC>MA(INDEXC,13) ANDMA(CLOSE,13)>REF(MA(CLOSE,13) ,1) AND V<REF(V,1) ANDMA(CLOSE,13)>MA(CLOSE,55) ,L*0.95,'买'),COLORRED,LINETHICK2;VAR011:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA( CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;VAR012:=HHV(VAR011>20,10);DRAWTEXT(VAR011<-20 AND INDEXC<MA(INDEXC,13) AND FILTER(VAR011>REF(VAR011,1),5),L*0.93,'抄底'),COLORYELLOW,LINETHICK2;VAR013:=IF(MA(CLOSE,13)>REF(MA(CLOSE,13),1),MA(CLOSE,13),DRAWNULL); DRAWTEXT((IF(CLOSE>MA(CLOSE,13) ANDOPEN<CLOSE,-0.1,0))AND((C-REF(C,1))/(REF(C,1))>0.061)AND(MA(CLOSE,13)=VAR013) AND (MA(CLOSE,1),MA(CLOSE,13)) AND(VOL>REF(HHV(VOL,3),1)*2),L*0.98,'主力介入'),COLORMAGENTA;X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);Y:=EMA(CLOSE,10);【通达信】顶底主图(攻击线、操盘线、生命线)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】操-盘(洗盘、震仓、低吸、走熊、趋势操盘)
【通达信】操盘(洗盘、震仓、低吸、走熊、趋势操盘)-指标公式源码STICKLINE( MA(CLOSE,20)>MA(CLOSE,60),MA(CLOSE,14),MA(CLOSE,60),8,0),C OLOR000044;STICKLINE( MA(CLOSE,20)<MA(CLOSE,60),MA(CLOSE,14),MA(CLOSE,60),8,0),C OLOR004400;DRAWKLINE(H,O,L,C);MA1:=MA(CLOSE,14),LINETHICK1,COLORRED;MA2:=MA(CLOSE,60),LINETHICK1,COLORYELLOW;MA3:=MA(CLOSE,120),LINETHICK1,COLORFF00FF;MA4:MA1*0.9,LINETHICK1,COLORFF00FF;MA5:MA1*1.09,LINETHICK1,COLORFF00FF;洗盘:IF(MA2>=MA1,MA1,DRAWNULL),COLORYELLOW,LINETHICK1;震仓:IF(MA3>=MA1,MA1,DRAWNULL),COLORGREEN,LINETHICK1;低吸:IF(MA2>=MA1,MA2,DRAWNULL),COLORYELLOW,LINETHICK1;走熊:IF(MA3>=MA2 AND MA2>=MA1,MA1,DRAWNULL),COLORGREEN,LINETHICK1; 趋势操盘:=IF(MA3>=MA2,MA3,DRAWNULL),COLORGREEN,LINETHICK1;控制仓位:=IF(MA3>=MA2,MA2,DRAWNULL),COLORGREEN,LINETHICK1;逢低建仓:=IF(MA1>=MA2 ANDMA2<=MA3,MA1,DRAWNULL),COLORYELLOW,LINETHICK1;DRAWTEXT(CROSS(C,MA1) ANDCOUNT(H>MA(CLOSE,60),14)>=4,L*0.95,'B'),COLORYELLOW;{看MA2均线走平买入}DRAWTEXT(CROSS(MA2,MA3) AND MA2<=MA1,MA3,'注'),COLORRED;{低位进场高位出信号减仓}DRAWTEXT(CROSS(MA3,MA1),MA3,'高减'),COLORYELLOW;{趋势走坏出货行情缩量卖}DRAWTEXT(CROSS(MA3,MA2) AND MA1<=MA3,MA3,'熊'),COLORGREEN;{趋势走坏逢高都是卖点};卖阳线:=(( O>MA5 AND H>REF(H,1)));DRAWTEXT(卖阳线,H,'好');低买:=((O<=MA4 AND C>=O));STICKLINE(低买,OPEN,CLOSE,3,0),COLORMAGENTA;【通达信】操盘(洗盘、震仓、低吸、走熊、趋势操盘)-指标公式效果图(文档来源:若水财经社区)。