【股票指标公式下载】-【大智慧】神秘买卖(每股公积金、振幅、主力线、中户线)
大智慧各户资金分时指标公式-大智慧公式-股旁网
大智慧各户资金分时指标公式-大智慧公式-股旁网N:=5;ZLLR:=AMOUNT*(DYNAINFO(95)+DYNAINFO(94))/10000;ZLLC:=AMOUNT*(DYNAINFO(98)+DYNAINFO(97))/10000;主净:SUM(ZLLR-ZLLC,0),COLOR00FFFF,LINETHICK0,PRECIS2;主现:=SUM(ZLLR-ZLLC,N);{N分钟}TDLR:=AMOUNT*DYNAINFO(95)/10000;TDLC:=AMOUNT*DYNAINFO(98)/10000;超净:SUM(TDLR-TDLC,0),COLORFF00FF,LINETHICK0,PRECIS2;超现:=SUM(TDLR-TDLC,N);{N分钟}DDLR:=AMOUNT*DYNAINFO(94)/10000;DDLC:=AMOUNT*DYNAINFO(97)/10000;大净:SUM(DDLR-DDLC,0),COLOR00FF00,LINETHICK0,PRECIS2;大现:=SUM(DDLR-DDLC,N);{N分钟}ZDLR:=AMOUNT*DYNAINFO(93)/10000;ZDLC:=AMOUNT*DYNAINFO(96)/10000;中净:SUM(ZDLR-ZDLC,0),COLORB8B8B8,LINETHICK0,PRECIS2;中现:=SUM(ZDLR-ZDLC,N);{N分钟}XDLR:=(AMOUNT-AMOUNT*(DYNAINFO(95)+DYNAINFO(94)+DYNAINFO(93)))/10 000;XDLC:=(AMOUNT-AMOUNT*(DYNAINFO(98)+DYNAINFO(97)+DYNAINFO(96)))/10 000;散净:SUM(XDLR-XDLC,0),COLORFF9911,LINETHICK0;散现:=SUM(XDLR-XDLC,N);{N分钟}主力买:=(ORDERVOL(1,2)/CAPITAL)*100;主力卖:=(ORDERVOL(2,2)/CAPITAL)*100;主力净买:=sum((主力买-主力卖),0);超大买:=(ORDERVOL(1,3)/CAPITAL)*100;超大卖:=(ORDERVOL(2,3)/CAPITAL)*100;超大净买:=sum((超大买-超大卖),0);大户买:=((ORDERVOL(1,2)-ORDERVOL(1,3))/CAPITAL)*100;大户卖:=((ORDERVOL(2,2)-ORDERVOL(2,3))/CAPITAL)*100;大户净买:=sum((大户买-大户卖),0);中户买:=(ORDERVOL(1,1)/CAPITAL-ORDERVOL(2,1)/CAPITAL)*100;中户卖:=(ORDERVOL(1,2)/CAPITAL-ORDERVOL(2,2)/CAPITAL)*100;中户净买:=sum((中户买-中户卖),0);散户买:=(1-ORDERVOL(1,1)/CAPITAL)*100;散户卖:=(1-ORDERVOL(2,1)/CAPITAL)*100;散户净买:=sum((散户买-散户卖),0);主力: 主力净买,COLOR3D;主力,COLOR00FFFF,LINETHICK2;STR1:=''+'(主力)'+NUMTOSTRN(主净,2)+' (主现)' + NUMTOSTRN(主现,2)+'\n';DRAWTEXT(BARSTATUS,主力,STR1),COLOR00FFFF;超大: 超大净买,COLORFF00FF,LINETHICK2;STR1:=''+'(超大)'+NUMTOSTRN(超净,2)+' (超现)' + NUMTOSTRN(超现,2)+'\n';DRAWTEXT(BARSTATUS,超大,STR1),COLORFF00FF;大户: 大户净买,COLOR00FF00,LINETHICK2;STR1:=''+'(大户)'+NUMTOSTRN(大净,2)+' (大现)' + NUMTOSTRN(大现,2)+'\n';DRAWTEXT(BARSTATUS,大户,STR1),COLOR00FF00;中户:中户净买,COLORB5B5B5,LINETHICK2;STR1:=''+'(中户)'+NUMTOSTRN(中净,2)+' (中现)' + NUMTOSTRN(中现,2)+'\n';DRAWTEXT(BARSTATUS,中户,STR1),COLORB5B5B5;散户: 散户净买,COLORFF9911,LINETHICK2;STR1:=''+'(散户)'+NUMTOSTRN(散净,2)+' (散现)' + NUMTOSTRN(散现,2)+'\n';。
大智慧自编指标
1、天狼操盘手指导线(主图指标)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);波动回调提示图:MA(CLOSE,10000);STICKLINE((MA15 > REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,color0000FF; STICKLINE((MA15 < REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,colorFF0000; DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'上拐点'),Color00FFFF;DRAWTEXT(CROSS(MA15,FF),(HIGH * 1.02),'下拐点'),Color00FF00;DRAWTEXT(CROSS(85,RSI),(HIGH * 1.02),'回调!'),colorFFFFFF;买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);BU:=cross(买线,卖线);SEL:=cross(卖线,买线);stickline(买线>=卖线,low,high,1,0),colorred;stickline(买线>=卖线,close,open,4.5,0),color0000aa;stickline(买线>=卖线,close,open,4,0),color0000cc;stickline(买线>=卖线,close,open,3,0),color0000cc;stickline(买线>=卖线,close,open,2,0),color0000ee;stickline(买线<卖线,close,open,4.5,0),coloraaaa00;stickline(买线<卖线,close,open,4,0),colorbbbb00;stickline(买线<卖线,close,open,3,0),colorcccc00;stickline(买线<卖线,close,open,2,0),coloreeee00;stickline(买线<卖线,low,high,1,0),colorffff00;stickline(cross(买线,卖线) or cross(卖线,买线),open,close,3,0),color00ffff;指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1, ColorFFffFF;界: MA(CLOSE,27),linethick1,Color00FFFF;2、成交天机(付图指标)实际量:vol,LINETHICK0;{V AR1:=DYNAINFO(17)*REF(MA(VOL,5),1);V AR2:=DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT;预测:IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,V AR1,V AR2)/10000;预测量:STICKLINE(IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,V AR1,V AR2),V AR1,0,7,1),COLORGREEN;}AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主买:IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LO W)),VOL/2)),POINTDOT,COLORRED;主卖:IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;换手率%:VOL/CAPITAL*100,POINTDOT,COLORwhite;STICKLINE(C>=REF(C,1) ,0,VOL,4,1),COLORRED;STICKLINE(C<REF(C,1) ,0,VOL,4,1),COLORGREEN;STICKLINE(主买>0 ,0,主买,4,0),COLORRED;STICKLINE(主卖<0 ,0,主卖,4,0),COLORGREEN;资金异动:VOL/ma(vol,55)*100,COLORyellow;STICKLINE(资金异动>100,0,vol,2,0),COLORyellow;A股:CAPITAL/1000000,colorwhite;ma5:ma(v,5),colorwhite;ma13:ma(v,13),colorred;DRAWtext(cross(ma(v,5),ma(v,13)),(v *1.05),'★'),coloryellow;3、吸逃指标(辅图指标)stickline(c>0,-100,150,100,0),color334400;RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); 短期底部:=LLV(OPEN,30);K:SMA(RSV,3,1);D:SMA(K,3,1);J:((3 * K) - (2 * D));AA10:=MA(CLOSE,10);AA12:=MA(CLOSE,12);BB10:=((A TAN((AA10 - REF(AA10,1))) * 3.1416) * 10);BB12:=((A TAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);if((K > D),K,d),colorFF00FF;if((K < D),d,K),colorFFFF00;if((J > D),J,d),LINETHICK2,color0000FF;if((J < D),d,J),LINETHICK2,color00FF00;20,POINTDOT,color00FF00;80,POINTDOT,color00FF00;V AR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);V AR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);V AR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);V AR5:=(((V AR2 + (2 * V AR3)) + (3 * V AR4)) / 6);V AR6:=MA(V AR5,3);底部1:IF(V AR6 ,20,0),colorFFFF00;STICKLINE((CROSS(J,K) AND (底部1 >= 20)),100,0,2,0),colorFFFFFF; DRAWICON((CROSS(J,K) AND (底部1 >= 20)),100,1);DRAWTEXT((CROSS(J,K) AND (底部1 >= 20)),98,'--全仓'); STICKLINE((V AR6 <= (0 - 15)),80,4.88,2,0);DRAWTEXT((V AR6 <= (0 - 15)),80,'买'),colorFFFFFF;STICKLINE((V AR6 <= (0 - 15)),80,60,2,0),color0000FF;V AR7:=DMA(EMA(CLOSE,12),((SUM(VOL,5) / 3) / CAPITAL));V AR8:=(((CLOSE - V AR7) / V AR7) * 100);V AR9:=((((REF(V AR8,1) < (0 - 40)) AND (V AR8 > REF(V AR8,1))) AND (REF(V AR8,1) < REF(V AR8,2))) AND ((V AR8 - REF(V AR8,1)) > 2.5));V ARA:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);V ARB:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);V ARC:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);V ARD:=REF(CLOSE,1);V ARE:=((SMA(MAX((CLOSE - V ARD),0),5,1) / SMA(ABS((CLOSE - V ARD)),5,1)) * 100);V ARF:=(((HIGH + LOW) + CLOSE) / 3);V AR10:=((V ARF - MA(V ARF,14)) / (0.015 * A VEDEV(V ARF,14)));V AR11:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < (0 - 0.273));V AR12:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));V AR13:=(V AR11 AND V AR12);V AR14:=((((V ARA>= (0 - 45)) AND (V ARA<= (0 - 10))) AND (V ARB <= (0 - 15))) AND (V ARC <= (0 - 20)));V AR15:=(COUNT(V AR14,1) >= 1);V AR16:=(V AR13 AND V AR15);V AR17:=1;V AR18:=(CLOSE * VOL);V AR19:=EMA((((((MA(V AR18,4) / MA(VOL,4)) + (MA(V AR18,6) / MA(VOL,6))) + (MA(V AR18,13) / MA(VOL,13))) + (MA(V AR18,24) / MA(VOL,24))) / 4),1);V AR1A:=(1 * V AR19);V AR1B:=(V AR19 * 0.92);V AR1C:=EMA(CLOSE,34);V AR1D:=MA((V AR1C * 1.12),5);V AR1E:=MA((V AR1C * 0.82),5);V AR1F:=(CLOSE < V AR1E);V AR20:=((((((MA(AMOUNT,5) * V AR17) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < ((0 - 0.4) * V AR17));V AR21:=HHV(HIGH,500);V AR22:=LLV(LOW,500);V AR23:=HHV(HIGH,250);V AR24:=LLV(LOW,250);V AR25:=HHV(HIGH,125);V AR26:=LLV(LOW,125);V AR27:=MA(((((((V AR21 * 0.45) + (V AR23 * 0.5)) + V AR22) + V AR24) + V AR26) / 5),35);V AR28:=MA((((V AR23 * 0.62) + V AR26) / 2),35);V AR29:=MA((((V AR23 * 0.75) + V AR26) / 2),18);V AR2A:=MA((((((V AR23 * 0.93) + (V AR27 * 2)) + (V AR28 * 1.8)) + (V AR29 * 1.5)) / 4),18);V AR2B:=MA(((((V AR21 * 0.95) + (V AR27 * 3)) + (V AR28 * 2)) / 3),35);V AR2C:=V AR27;V AR2D:=V AR28;V AR2E:=V AR29;V AR2F:=V AR2A;V AR30:=V AR2B;V AR31:=((CLOSE - REF(MA(CLOSE,20),11)) < (0 - 2));V AR32:=(INDEXA / 100000000);V AR33:=INDEXADV;V AR34:=INDEXDEC;V AR35:=((V AR18 / (V AR18 + V AR19)) * V AR17);V AR36:=((V AR19 / (V AR18 + V AR19)) * V AR17);V AR37:=EMA(V AR35,10);V AR38:=EMA(V AR36,10);V AR39:=EMA(V AR37,10);V AR3A:=EMA(V AR38,20);V AR3B:=EMA(V AR37,3);V AR3C:=EMA(V AR39,6);V AR3D:=EMA(V AR3A,2);V AR3E:=(V AR3C - V AR3D);V AR3F:=(((V AR3C - REF(V AR3C,1)) > 0) AND ((REF(V AR3C,1) - REF(V AR3C,2)) < 0));V AR40:=IF((CROSS(V AR3B,V AR3C) AND (V AR3C <= 20)),30,0);V AR41:=V AR40;V AR42:=(SMA(((AMOUNT / VOL) / 100),13,1) * 1.15);V AR43:=(SMA(((AMOUNT / VOL) / 100),13,1) * 0.85);V AR44:=(CLOSE - REF(MA(CLOSE,20),11));V AR45:=(((((((((((((CLOSE < V AR1E) AND V AR20) AND (CLOSE < V AR43)) OR (((CLOSE < V AR1E) AND V AR31) AND V AR20)) OR ((CLOSE < V AR1E) AND (CLOSE < V AR43))) OR (((CLOSE < V AR1E) AND V AR20) AND (CLOSE < V AR43))) OR (V AR20 AND (CLOSE < V AR2C))) OR ((V AR20 AND V AR31) AND (V AR44 < (0 - 1.5)))) OR (V AR20 AND (CLOSE < V AR1E))) OR (V AR20 AND (V AR44 < (0 - 1.5)))) OR (V AR31 AND (CLOSE < V AR43))) OR ((CLOSE < V AR2C) AND (V AR44 < (0 - 1.5)))) OR ((CLOSE < V AR1E) AND V AR31));V AR46:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);V AR47:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);V AR48:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);V AR49:=REF(CLOSE,1);V AR4A:=((SMA(MAX((CLOSE - V AR49),0),5,1) / SMA(ABS((CLOSE - V AR49)),5,1)) * 100); V AR4B:=(((HIGH + LOW) + CLOSE) / 3);V AR4C:=((V AR4B - MA(V AR4B,14)) / (0.015 * A VEDEV(V AR4B,14)));V AR4D:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < (0 - 0.273));V AR4E:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));V AR4F:=(V AR11 AND V AR12);V AR50:=((((V AR2 >= (0 - 45)) AND (V AR2 <= (0 - 7))) AND (V AR3 <= (0 - 11))) AND (V AR4 <= (0 - 14)));V AR51:=(COUNT(V AR50,1) >= 1);V AR52:=(V AR4F AND V AR51);V AR53:=(((((V AR20 AND (CLOSE < V AR1E)) AND V AR31) AND (CLOSE < V AR2C)) ANDV AR45) AND V AR52);V AR54:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);V AR55:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);V AR56:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);V AR57:=REF(CLOSE,1);V AR58:=((SMA(MAX((CLOSE - V AR57),0),5,1) / SMA(ABS((CLOSE - V AR57)),5,1)) * 100); V AR59:=(((HIGH + LOW) + CLOSE) / 3);V AR5A:=((V AR59 - MA(V AR59,14)) / (0.015 * A VEDEV(V AR59,14)));V AR5B:=((((((V AR54 >= (0 - 15.8)) AND (V AR54 <= (0 - 12.2))) AND (V AR55 <= (0 - 20.8))) AND (V AR56 <= (0 - 27.5))) AND (V AR58 <= 11.7)) AND (V AR5A <= (0 - 145)));V AR5C:=9.999999884842+026;V AR5D:=(COST(10) * 0);V AR5E:=((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100));V AR5F:=MA((((LLV(LOW,45) - CLOSE) / (HHV(HIGH,45) - LLV(LOW,45))) * 100),5);V AR60:=((CROSS((0 - 5),V AR5F) AND (V AR5E < (0 - 0.4))) AND (((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.19)));V AR61:=MA(CLOSE,3);V AR62:=(REF(CLOSE,2) * 0.865);V AR63:=(REF(CLOSE,13) * 0.772);V AR64:=MIN(V AR62,V AR63);V AR65:=((100 * VOL) / CAPITAL);V AR66:=MA(CLOSE,13);V AR67:=IF(((((CLOSE - V AR64) / CLOSE) < 0.03) AND ((SUM(V AR65,5) / 5) < 1.8)),1,0);胡涂出击:IF(((((V AR9 OR V AR16) OR V AR53) OR V AR5B) OR ((((CLOSE - V AR64) / CLOSE) < 0.03) AND ((SUM(V AR65,5) / 5) < 1.8))),120,0),LINETHICK2,color0000FF;V AR68:=0;MACD:(V AR6 * 5),COLORSTICK,LINETHICK2;STICKLINE((CROSS(K,D) AND (BB10 > 1)),70,0,2,0),colorCC99FF;DRAWTEXT((CROSS(K,D) AND (BB10 > 1)),64,'--短买'),color00FF00;DRAWICON((CROSS(K,D) AND (BB10 > 1)),70,0);底部预警:STICKLINE((V AR6 <= (0 - 10)),0,(0 - 20),5,0),color88B7EA;V ARQ:=MA(CLOSE,152);V ARW:=MA(CLOSE,194.16);V AREe:=(V ARW + (2 * STD(CLOSE,170)));V ARR:=(V ARQ + (2 * STD(CLOSE,170)));V ART:=IF((DA TE > 1080822),0,1);V AR611:=EMA(HHV(HIGH,500),21);V AR71:=EMA(HHV(HIGH,250),21);V AR81:=EMA(HHV(HIGH,90),21);V AR91:=EMA(LLV(LOW,500),21);V ARA1:=EMA(LLV(LOW,250),21);V ARB1:=EMA(LLV(LOW,90),21);V ARC1:=EMA((((((((V AR91 * 0.96) + (V ARA1 * 0.96)) + (V ARB1 * 0.96)) + (V AR611 * 0.558))+ (V AR71 * 0.558)) + (V AR81 * 0.558)) / 6),21);V ARD1:=EMA((((((((V AR91 * 1.25) + (V ARA1 * 1.23)) + (V ARB1 * 1.2)) + (V AR611 * 0.55)) + (V AR71 * 0.55)) + (V AR81 * 0.65)) / 6),21);V ARE1:=EMA((((((((V AR91 * 1.3) + (V ARA1 * 1.3)) + (V ARB1 * 1.3)) + (V AR611 * 0.68)) + (V AR71 * 0.68)) + (V AR81 * 0.68)) / 6),21);V ARF1:=EMA((((((V ARC1 * 3) + (V ARD1 * 2)) + V ARE1) / 6) * 1.738),21);V AR101:=REF(LOW,1);V AR111:=((SMA(ABS((LOW - V AR101)),3,1) / SMA(MAX((LOW - V AR101),0),3,1)) * 100); V AR121:=EMA(IF(((CLOSE * 1.35) <= V ARF1),(V AR111 * 10),(V AR111 / 10)),3);V AR131:=LLV(LOW,30);V AR141:=HHV(V AR121,30);V AR151:=IF(MA(CLOSE,58),1,0);V AR161:=((EMA(IF((LOW <= V AR131),((V AR121 + (V AR141 * 2)) / 2),0),3) / 618) * V AR151);V AR171:=(((IF((V AR161 > 50),50,V AR161) / 20) * 15) * V ART);底部吸筹:STICKLINE((V AR171 > 0),0,V AR171,1,1),colorFF00FF;STICKLINE(((CROSS(K,D) AND ((AA10 - REF(AA10,1)) > 0)) AND (K <= 49)),80,0,3,0),color0000FF;DRAWTEXT(((CROSS(K,D) AND ((AA10 - REF(AA10,1)) > 0)) AND (K <= 49)),80,'--抄底'),color0000FF;STICKLINE(CROSS(90,J),88,100,2,0),color00FF00;DRAWTEXT(CROSS(90,J),108,'。
神秘买卖均线主图指标公式
神秘买卖均线主图指标公式神秘买卖均线主图指标公式1神秘买卖均线指标公式A1:EMA((2*CLOSE+HIGH+LOW)/4,5)COLORGREEN;IF(A1>=REF(A1,1),EMA((2*CLOSE+HIGH+LOW)/4,5),D RAWNULL),LINETHICK1,COLORRED;EMA((2*CLOSE+HIGH+LOW)/4,13)COLORGREEN,LINET HICK2;IF(EMA((2*CLOSE+HIGH+LOW)/4,10)>REF(EMA((2*C LOSE+HIGH+LOW)/4,13),1),EMA((2*CLOSE+HIGH+LOW)/4,13),DRAWNULL),LINETHICK2,COLORRED;REF(EMA((LOW+CLOSE+OPEN)3,25),1)LINETHICK3,COL ORGREEN;IF(EMA((LOW+CLOSE+OPEN)/3,28)>REF(EMA((LOW+ CLOSE+OPEN)/3,28),1),REF(EMA((LOW+CLOSE+OPEN)/3 ,25),1), DRAWNULL),LINETHICK3,COLORRED;IF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2>REF ((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2,1),(EMA( LOW,1 25)+EMA((CLOSE+LOW)/2,125))/2,DRAWNULL),PO INTDOT,COLORRED;(EMA(LOW,125)+EMA((CLOSE+LOW)/2,125))/2,COLORGR EEN,POINTDOT;MA((2*CLOSE+HIGH+LOW)/4,6),1),EMA((2*CLOSE+HIGH+LOW)/4,5)),COLORFF;PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,6)PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,10)>REF(EMA((2*CLOSE+HIGH+LOW)/4,13),1),EMA((2*CLOSE+HIGH+LOW)/4,13)),COLORFF;PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,10)PARTLINE(EMA((LOW+CLOSE+OPEN)/3,28)>REF(EMA((LOW+CLOSE+OPEN)/3,28),1),REF(EMA((LOW+CLOSE+OPEN)/3,25),1)),LINETHICK3,COLORFF;PARTLINE(EMA((LOW+CLOSE+OPEN)/3,28)PARTLINE((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2 > REF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2,1 ),(EMA(LO W,125)+EMA((CLOSE+LOW)/2,125))/2),POINTD OT,COLORFF;PARTLINE((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2 DRAWTEXT(BARPOS=SYSPARAM(2),SYSPARAM(4),STK NAME+' '+STKLABEL+'\所属板块:'+BLKNAME),COLORFFFFFF;};2.买卖均线指标公式和大机构均线主图指标公式一样B1:=EMA((2*CLOSE+HIGH+LOW)/4,5);CLOSE+HIGH+LOW)/4,6),1),B1,DRAWNULL),COLOR0000 FF;A2:IF(EMA((2*CLOSE+HIGH+LOW)/4,6)B2:=EMA((2*CLOSE+HIGH+LOW)/4,13);A3:IF(EMA((2*CLOSE+HIGH+LOW)/4,10)>REF(EMA((2*CLOSE+HIGH+LOW)/4,13),1),B2,DRAWNULL),COLOR00 00FF;A4:IF(EMA((2*CLOSE+HIGH+LOW)/4,10)B3:=REF(EMA((LOW+CLOSE+OPEN)/3,25),1);A5:IF(EMA((LOW+CLOSE+OPEN)/3,28)>REF(EMA((LOW+CLOSE+OPEN)/3,28),1),B3,DRAWNULL),LINETHICK3, COLOR0000FF;A6:IF(EMA((LOW+CLOSE+OPEN)/3,28)B4:=(EMA(LOW,125)+EMA((CLOSE+LOW)/2,125))/2;A7:IF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2> REF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2,1),B4, DRAWNULL),POINTDOT,COLOR0000FF;A8:IF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/23.实用均线指标公式C1:=EMA(C,5);C2:=EMA(C,8);C3:=EMA(C,10);C4:=EMA(C,15);C5:=EMA(C,20);RSV:=C1NOTEXTA:C1,LINETHICK3,COLORRED;NOTEXTB:IF(RSV,C1,DRAWNULL),LINETHICK3,COLOR BLUE;4.均线K线主图指标公式V AR1:=CLOSE>REF(CLOSE,1) ANDCLOSE>REF(CLOSE,2);V AR2:=REF(V AR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);V AR3:=REF(V AR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);V AR4:=REF(V AR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);V AR5:=REF(V AR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);V AR6:=REF(V AR5,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);V AR7:=REF(V AR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);V AR8:=REF(V AR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);V AR9:=REF(V AR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);V ARA:=REF(V AR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);V ARB:=REF(V ARA,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);V ARC:=REF(V ARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);STICKLINE(VAR1 OR V AR2 OR V AR3 OR V AR4 OR V AR5 OR V AR6 OR V AR7 ORV AR8 OR V AR9 OR V ARA OR V ARB ORV ARC,CLOSE,REF(CLOSE,1),3,1),COLORRED;{红1}V ARD:=CLOSEV ARE:=REF(V ARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);V ARF:=REF(V ARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);V AR10:=REF(V ARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);V AR11:=REF(V AR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);V AR12:=REF(V AR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);V AR13:=REF(V AR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);V AR14:=REF(V AR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);V AR15:=REF(V AR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);V AR16:=REF(V AR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);V AR17:=REF(V AR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);V AR18:=REF(V AR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);STICKLINE(VARD OR V ARE OR V ARF OR V AR10 OR V AR11 OR V AR12 OR V AR13 ORV AR14 OR V AR15 OR V AR16 OR V AR17 ORV AR18,CLOSE,REF(CLOSE,1),3,0),COLORFFCC66;V AR19:=REF(V ARD OR V ARE OR V ARF OR V AR10 ORV AR11 OR V AR12 OR V AR13 ORV AR14 OR V AR15 OR V AR16 OR V AR17 OR V AR18,1) AND V AR1;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),4,1),COL ORYELLOW;V AR1A:=REF(V AR1 OR V AR2 OR V AR3 OR V AR4 ORV AR5 OR V AR6 OR V AR7 ORV AR8 OR V AR9 OR V ARA OR V ARB OR V ARC,1) ANDV ARD;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),5,2),COLOR00FF00{98FD};STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00C8FF;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10ECFF;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10FFFF;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00D900;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),CO LORBLUE;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR090FF2;PMA:MA(C,5),COLORWHITE,LINETHICK2;IF(PMA>REF(PMA,1),PMA,DRAWNULL),COLORRED,LINETHICK2;IF(PMAX:=(3*C+L+O+H)/6;多空线:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF (X,4)+15*REF(X,5)+14*REF(X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3* REF(X,17)+2*REF(X,18)+REF(X,20))/210,COLORFF00FF,LINETHICK2;{用法:黄托底买进,蓝压顶卖出。
【股票指标公式下载】-【大智慧】主力进出(主力、游资、大户、散户)
【大智慧】主力进出(主力、游资、大户、散户)-指标公式源码A:=IF((CLOSE > 126.32),(AMOUNT / 100000),VOL);主力:MA(A,4),LINETHICK0,color00FFFF;游资:MA(A,8),LINETHICK0,color00FF00;大户:MA(A,16),LINETHICK0,color0000FF;散户:MA(A,32),LINETHICK0,colorFFFF00;主力参与比例:CEILING(((主力 / (((主力 + 游资) + 大户) + 散户)) * 100)),LINETHICK0,color00FFFF;游资参与比例:CEILING(((游资 / (((主力 + 游资) + 大户) + 散户)) * 100)),LINETHICK0,color00FF00;大户参与比例:CEILING(((大户 / (((主力 + 游资) + 大户) + 散户)) * 100)),LINETHICK0,color0000FF;散户参与比例:CEILING(((散户 / (((主力 + 游资) + 大户) + 散户)) * 100)),LINETHICK0,colorFFFF00;警戒线:MA(A,180),colorFF00FF;STICKLINE((主力 > 0),0,主力,8,0),color0000FF;STICKLINE((主力 > 0),0,主力,7.8,0),color0018FF;STICKLINE((主力 > 0),0,主力,7.5,0),color001BFF;STICKLINE((主力 > 0),0,主力,7.3,0),color0022FF;STICKLINE((主力 > 0),0,主力,7,0),color0035FF;STICKLINE((主力 > 0),0,主力,6.8,0),color0041FF;STICKLINE((主力 > 0),0,主力,6.5,0),color0050FF;STICKLINE((主力 > 0),0,主力,6.3,0),color0059FF;STICKLINE((主力 > 0),0,主力,6,0),color0062FF;STICKLINE((主力 > 0),0,主力,5.7,0),color006CFF;STICKLINE((主力 > 0),0,主力,5.5,0),color007AFF;STICKLINE((主力 > 0),0,主力,5.3,0),color0080FF;STICKLINE((主力 > 0),0,主力,5,0),color0089FF;STICKLINE((主力 > 0),0,主力,4.5,0),color0095FF;STICKLINE((主力 > 0),0,主力,3.5,0),color009CFF;STICKLINE((主力 > 0),0,主力,3,0),color00ABFF;STICKLINE((主力 > 0),0,主力,2.5,0),color00C0FF;STICKLINE((主力 > 0),0,主力,1.5,0),color00D1FF;STICKLINE((主力 > 0),0,主力,1,0),color00EAFF; STICKLINE((主力 > 0),0,主力,0.7,0),color00FFFF; STICKLINE((游资 > 0),0,游资,8,0),color006800; STICKLINE((游资 > 0),0,游资,7.8,0),color007F00; STICKLINE((游资 > 0),0,游资,7,5),color008B00; STICKLINE((游资 > 0),0,游资,7,3),color008B00; STICKLINE((游资 > 0),0,游资,7,0),color009000; STICKLINE((游资 > 0),0,游资,6.8,0),color009500; STICKLINE((游资 > 0),0,游资,6.5,0),color009C00; STICKLINE((游资 > 0),0,游资,6.3,0),color00A300; STICKLINE((游资 > 0),0,游资,6,0),color00AB00; STICKLINE((游资 > 0),0,游资,5.7,0),color00AF00; STICKLINE((游资 > 0),0,游资,5.5,0),color00B900; STICKLINE((游资 > 0),0,游资,5.3,0),color00C000; STICKLINE((游资 > 0),0,游资,5,0),color00C100; STICKLINE((游资 > 0),0,游资,4.5,0),color00CA00; STICKLINE((游资 > 0),0,游资,3.5,0),color00D300; STICKLINE((游资 > 0),0,游资,3,0),color00DB00; STICKLINE((游资 > 0),0,游资,2.5,0),color00EA00; STICKLINE((游资 > 0),0,游资,1.5,0),color00FF00; STICKLINE((大户 > 0),0,大户,8,0),color102088; STICKLINE((大户 > 0),0,大户,7,0),color102099; STICKLINE((大户 > 0),0,大户,6,0),color1020AA; STICKLINE((大户 > 0),0,大户,5,0),color1020BB; STICKLINE((大户 > 0),0,大户,4,0),color1020CC; STICKLINE((大户 > 0),0,大户,3,0),color1020DD; STICKLINE((大户 > 0),0,大户,2,0),color1020EE; STICKLINE((大户 > 0),0,大户,1,0),color1020FF; STICKLINE((大户 > 0),0,大户,8,0),color102088; STICKLINE((大户 > 0),0,大户,7,0),color102099; STICKLINE((大户 > 0),0,大户,6,0),color1020AA; STICKLINE((大户 > 0),0,大户,5,0),color1020BB; STICKLINE((大户 > 0),0,大户,4,0),color1020CC; STICKLINE((大户 > 0),0,大户,3,0),color1020DD; STICKLINE((大户 > 0),0,大户,2,0),color1020EE;STICKLINE((大户 > 0),0,大户,1,0),color1020FF;STICKLINE((散户 > 0),0,散户,8,0),colorFF7700;STICKLINE((散户 > 0),0,散户,7,0),colorFF8800;STICKLINE((散户 > 0),0,散户,6,0),colorFF9900;STICKLINE((散户 > 0),0,散户,5,0),colorFFAA00;STICKLINE((散户 > 0),0,散户,4,0),colorFFBB00;STICKLINE((散户 > 0),0,散户,3,0),colorFFCC00;STICKLINE((散户 > 0),0,散户,2,0),colorFFDD00;STICKLINE((散户 > 0),0,散户,1,0),colorFFEE00;STICKLINE((散户 > 0),0,散户,8,0),colorFF7700;STICKLINE((散户 > 0),0,散户,7,0),colorFF8800;STICKLINE((散户 > 0),0,散户,6,0),colorFF9900;STICKLINE((散户 > 0),0,散户,5,0),colorFFAA00;STICKLINE((散户 > 0),0,散户,4,0),colorFFBB00;STICKLINE((散户 > 0),0,散户,3,0),colorFFCC00;STICKLINE((散户 > 0),0,散户,2,0),colorFFDD00;STICKLINE((散户 > 0),0,散户,1,0),colorFFEE00;【大智慧】主力进出(主力、游资、大户、散户)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】趋势买卖(W底选股、一阳穿三线)
【大智慧】趋势买卖(W底选股、一阳穿三线)-指标公式源码RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;var4:=SMA(RV,3,1);var5:=SMA(var4,3,1);KK:=EMA(SMA(RG,3,1),2);DD:=SMA(KK,3,1);DRAWTEXTREL(0,10,STKLABEL+' '+STKNAME+''),Color00DDFF;DRAWTEXT(cross(var4,var5) and cross(KK,DD),10,'共振点'),COLORyellow; VERTLINE(cross(var4,var5) and cross(KK,DD),1),COLOR00FFFF;DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); {选股设JC=10即可}DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);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);W底选股:IF(SSS-SSB=2 ANDSSS>REF(SSS,1),-22,0),LINETHICK2,COLORffff00;IF(SSS-SSB=2 AND SSS>REF(SSS,1),-12,0),LINETHICK2,COLORffff00; DRAWTEXT(A1,-8,'↖W底'),COLORyellow;VARO5:=LLV(LOW,27);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;建仓区: IF((VARO7<10),-6,0) ,COLORyellow,LINETHICK3;IF((VARO7<10),-3,0) ,COLORblack,LINETHICK3;MA2:=EMA(C,2);MA5:=EMA(C,5);MA13:=EMA(C,13);MA30:=EMA(C,30);MA55:=EMA (C,55);YCX:=MA5>=REF(MA5,1);H1:=MAX(MAX(MA5,MA13),MA30);L1:=MIN(MIN(M A5,MA13),MA30);一阳穿三线:= H1<C AND O<L1 AND YCX AND MA2>REF(MA2,1);满仓选股:IF(一阳穿三线,38,0),COLORFFFF00,LINETHICK3;IF(一阳穿三线,30,0),COLORblack,LINETHICK3;DRAWTEXT(一阳穿三线,42,'↙满'),COLORffff00;VAR2:=0.0001*AMOUNT;MA1:=0.0001*MA(AMOUNT,5);M2:=0.0001*MA(AMOUNT,10);百日地量:LLV(VAR2,100)=VAR2,STICK,COLORCC66FF,LINETHICK0; DRAWTEXT(百日地量,-8,'↖地'),COLORCC66FF;AA05:=MA(C,5);五日乖离率:=(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);AA10:=MA(C,10);AA20:=MA(c,20);BB10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;AA30:=MA(C,30);三拾日乖离率:=(c-AA30)/AA30*100;(AA20-AA30)>ref((AA20-AA30),1) and AA20>ref(aa20,1) andAA30>ref(AA30,1);(AA30-AA20)<ref((AA30-AA20),1) and AA20<ref(aa20,1) andAA30<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) ;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; 青云直上选股:if(filter(MR,10),30,0),COLORblue,LINETHICK3;if(filter(MR,10),20,0),COLORblack,LINETHICK3;DRAWTEXT(青云直上选股,36,'↙青'),COLORblue;QUAN:(CLOSE-DMA(CLOSE,VOL/SUM(VOL,13)))/DMA(CLOSE,VOL/SUM(VOL,13))*10 0<=-28 AND(CLOSE-DMA(CLOSE,VOL/SUM(VOL,34)))/DMA(CLOSE,VOL/SUM(VOL,34))*100<=-1 9AND C/REF(C,25)<=1.1 AND IF((((HIGH > (LOW * 1.051)) AND (COUNT((HIGH > (LOW * 1.051)),5) > 1)) AND ((((CLOSE / MA(CLOSE,40)) * 100) < 78) OR (((CLOSE / MA(CLOSE,60)) * 100) < 74))),2,0) AND(SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100)<15 ANDIF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)>REF(SMA(( CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)AND REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)<REF(SMA((CLOSE-LLV(LOW,8))/(HHV( HIGH,8)-LLV(LOW,8))*100,2,1),2)AND SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)<23 ,1.5,0) AND FILTER((C/MA(C,48))<0.75 AND (C/MA(C,70))<0.70 AND((C-L)/C>0.02 OR C>REF(C,1)*1.01) AND V<REF(V,1)*2.8 AND(COUNT(C<O*0.93,2)=2 OR COUNT(H/L>1.1,5)>3),3);DRAWTEXT(QUAN,88,'弱市百发百中'),COLORffff00;弱市百发百中:IF(QUAN,88,0),COLORffff00,LINETHICK2;IF(QUAN,60,0),COLORffff00,LINETHICK2;LC := REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;逃顶:CROSS(80,RSI)*68,LINETHICK3 ,colorgreen;CROSS(80,RSI)*50,LINETHICK3 ,colorblack;DRAWTEXT(CROSS(80,RSI),68,'顶 '),colorgreen;BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;MN:=MA(MM,3);VAR24:=LLV(LOW,36);VAR25:=HHV(HIGH,30);VAR26:=EMA((CLOSE-VAR24)/(VAR25-VAR24)*4,4)*25;底背离:IF(MN<-4 ,-11,0),COLORA67D3D,LINETHICK3;顶背离: IF((VAR26>90),110,100), COLORgreen,LINETHICK3;IF(MN<-4 ,-8,0),COLORblack,LINETHICK2;IF((VAR26>90),106,100), COLORblack,LINETHICK3;100,COLORffff00, LINETHICK1;{趋势买卖}V1:=LLV(LOW,10);V2:=HHV(H,25);价位线:=EMA((C-V1)/(V2-V1)*4,4);买入:STICKLINE(CROSS(价位线,0.3),50,5,2,0),COLOR00CCFF,LINETHICK1; STICKLINE(CROSS(价位线,0.3),30,5,2,0),COLORRED,LINETHICK1;卖出:STICKLINE(CROSS(3.5,价位线),60,100,2,0),COLORRED,LINETHICK1; STICKLINE(CROSS(3.5,价位线),80,100,2,0),COLORFF9900,LINETHICK1; DRAWTEXT(CROSS(价位线,0.3),45,'←B'),COLORFFAA66;DRAWTEXT(CROSS(3.5,价位线),75,'←S'),COLORFFFFCC;VAR2Q:=REF(LOW,1);VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);VAR5Q:=LLV(LOW,30);VAR6Q:=HHV(VAR4Q,30);VAR7Q:=IF(MA(CLOSE,58),1,0);VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/618*VAR7Q;VAR9Q:=IF(VAR8Q>100,100,VAR8Q);AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;AA5:=SMA(AA4,13,8);走势:=CEILING(SMA(AA5,13,8));AA6:=SMA(AA3,21,8);BIAS1:=(C-MA(C,6))/MA(C,6)*100;BIAS2:=(C-MA(C,12))/MA(C,12)*100;BIAS3:=(C-MA(C,24))/MA(C,24)*100;BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;乖离1:=MA(BIAS,3);乖离:IF(CROSS(BIAS,乖离1) AND 乖离1<-9,28,0),COLORAAAAFF,LINETHICK3; DRAWTEXT(乖离,32,'↙乖'),COLORAAAAFF;IF(CROSS(BIAS,乖离1) AND 乖离1<-9,20,0),COLORblack,LINETHICK3; VARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);准备建仓:EMA(IF(L<= LLV(L,30),VARC,0),3),COLORff00ff,LINETHICK2;TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);神偷线:=(((DMP ) * 100) / TR);辅助线:=((DMM * 100) / TR);动向趋势线:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));ADXR:=((动向趋势线 + REF(动向趋势线,3)) / 2);VAR3:=MA(CLOSE,2);VAR7:=REF(VAR3,1);【强弱】:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100);准备:( IF(((动向趋势线 > 88) AND (神偷线 <5.8)),68,0)),LINETHICK1,COLORFF00FF;TYP := (HIGH + LOW + CLOSE)/3;cci:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*500-250;K:=SMA(RSV,3,1);Var1:=(CLOSE*2+HIGH+LOW)/4;SK:= EMA(Var1,13)-EMA(Var1,73);SD:= EMA(SK,2);买点选股:(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.05and (v/ma(v,5)>2 or c/ref(c,1)>0.035));IF(买点选股,28,0),COLORyellow,LINETHICK3;IF(买点选股,22,0),COLORblack,LINETHICK3;DRAWTEXT(买点选股,32,'↙买'),COLORyellow;RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);PDI:=((DMP * 100) / TR1);MDI:=((DMM * 100) / TR1);ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);AV:=(RSI5 + ADX);DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10))); NEWVOL:=(RSI5 - WR10);天之:=(AV + NEWVOL);低入:if(CROSS(天之,0),28,0),LINETHICK3,COLOR9370DB;if(CROSS(天之,0),22,0),LINETHICK3,COLORblack;DRAWTEXT(低入,32,'↙入'),COLOR9370DB;N:=20;MID:=MA(C,N);VART1:=POW((C-MID),2);VART2:=MA(VART1,N);VART3:=SQRT(VART2);UPPER:=MID+2*VART3;LOWER:=MID-2*VART3;BOLL:=REF(MID,1);UB:=REF(UPPER,1);LB:=REF(LOWER,1);LOWER1:=MID-VART3;LB1:=REF(LOWER1,1);股价线:(C-LB1)/(UB-LB)*100,COLORyellow, LINETHICK1;趋势线:MA(股价线,6),COLORred, LINETHICK3;地量:=VOL<LLV(VOL,30)*1.001;三十日地量:地量>0,LINETHICK2;地量1:=VOL<LLV(VOL,60)*1.001;六十日地量:地量1>0;地量2:=VOL<LLV(VOL,120)*1.001;一百二十日地量:地量2>0;即涨:CROSS(-100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55)),-45) AND CLOSE>SMA(CLOSE,60,5) AND SMA(CLOSE,23,5)>REF(SMA(CLOSE,23,5),1) ANDSMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,13,1),23,1)>REF(SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,13,1 ),23,1),1),COLOrEBC79E,LINETHICK2;DRAWTEXT(即涨,1.3,'即涨'),COLOREBC79E;牛大底:"1A0001$CLOSE"/REF("1A0001$CLOSE",23)<0.78AND C/REF(C,120)<0.558 and ref(c,1)/l<1.5and ref(c,1)<>ref(o,1) and ref(c,2)<>ref(o,2) andref(c,3)<>ref(o,3),COLOr4080FF,LINETHICK2;DRAWTEXT(牛大底,1.8,'牛大底'),COLOR4080FF;W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));突破:W4 AND COUNT(W4,5)=1,LINETHICK2,COLOR4D4DFF;DRAWTEXT(突破,-5,'突破'),COLORffff00;90,COLORGREEN, LINETHICK1;50,COLORwhite, LINETHICK1;【大智慧】趋势买卖(W底选股、一阳穿三线)-指标公式效果图(文档来源:若水财经社区)。
大智慧指标公式函数大全(完整可打印版)
例如:
VOL,DASHLINE;
DATYPE数据类型
DATE年 月 日
DATESTR日期到字符串转换
DATETOD197CH期转换为1970日
DAY日期
DAYS1970 1970^以来的天数
DECLINE下跌家数
DEVSQ数据偏差xx
DISPSTATU敏 据显示状态
BETA贝塔系数
BETA2相关放大系数
BETADOWN下跌贝塔系数
BETAUP上涨贝塔系数
BETWEEN介于
BIDPRICE委买价
BIDVO L委买量
BIGORDER委托单大单成交量比例
BKNAME板块名称
BUY买入
BUYSHOR在头买入
BUYVO L主动性买单
C收盘价
CAPITAL流通盘
CASH现金存量
GETDX地线函数
GETTX天线函数
H最高价
HHV最高值
HHVALL可视范围最高值
HHVBARS上一高点位置
HIGH最高价
HOLDING当前持仓量
HOUR小时
IF条件函数
IFS字符串条件函数
INBLOCK是否板块成员
INDEXA对应大盘成交额
INDEXADV对应大盘上涨家数
INDEXC对应大盘收盘价
PERCENTBAI®百分比柱
PERCENTW应易胜率
PFFIN专业财务数据
PFFIN特定日期的专业财务数据
PFFINLAS传 业财务数据截止期位置
PFFINON指定日期的专业财务数据
PFFINTERM专业财务数据报告期
PFSTR专业财务字符串数据
大智慧公式多年收集的大智慧指标公式(源码)
漓江渔歌VarA:=MA(CLOSE,20);RSV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27));K:=SMA(RSV,5,1);D:=SMA(K,3,1);D2:=SMA(K,2,1);t1:=(3*K-2*D)*100;天空:STICKLINE(t1,0,120,0.5,0),COLORFFFFFF;山:=(3*K-2*D)*100;桂山:STICKLINE(山,0,山,5,0),COLOR00FFDD;STICKLINE(山,0,山*0.95,5,0),COLOR00FFBB;STICKLINE(山,0,山*0.88,5,0),COLOR00FF99;STICKLINE(山,0,山*0.8,5,0),COLOR00DD99;STICKLINE(山,0,山*0.71,5,0),COLOR00BB99;STICKLINE(山,0,山*0.6,5,0),COLOR00AA99;STICKLINE(山,0,山*0.5,5,0),COLOR009999;STICKLINE(山,0,山*0.4,5,0),COLOR008899;t2:=((100-山)-100)*2/3;漓江水:STICKLINE(t2,懒旅呐魄壬仕掏COLORCCFF00;倒影:t2,COLOR00FFCC,STICK;STICKLINE(倒影,0,倒影*4/5,0.1,0),COLOR00CC99;STICKLINE(倒影,0,倒影*3/5,0.1,0),COLOR009999;STICKLINE(倒影,0,倒影*2/5,0.1,0),COLOR006699;顶线:=100-((HIGH-VarA)/VarA);RSV2:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var1:=SMA(RSV2,3,1);Var2:=SMA(Var1,3,1);买入:=Var1<16 and Var2<21 ;卖出预警:=t1>=88 or 顶线<=90;卖出:=CROSS(顶线,t1) or CROSS(90,t1);t3:=买入;打渔船:DRAWTEXT(FILTER(t3,2),山-45,'︼'),COLOR0000FF,LINETHICK2; t4:=卖出预警or 卖出;南归雁:DRAWTEXT(FILTER(t4,2),山+10,'>'),COLORFFFF00;示例 2一个副图公式:《雨季彩虹》ys1:=(high+low+close*2)/4;rk3:=ema(ys1,10);rk4:=std(ys1,10);rk5:=(ys1-rk3)*100/rk4;rk6:=ema(rk5,5);rk7:=ema(rk6,10);涨:ema(rk6,10)+100/2-5,linethick1,colorred;跌:ema(涨,4),linethick1,colorwhite;天晴:if(cross(涨,跌) and 跌<-10,30,0),linethick1,colorccccff;雨季:if(cross(跌,80),70,100),color0099ff,linethick1;彩虹1:ema(跌,4),colorf00ff0;彩虹2:ema(彩虹1,4),colorgreen;彩虹3:=ema(彩虹2,4),coloryellow;彩虹4:=ema(彩虹3,4),colorcc9900;-10,pointdot,color888888,linethick2;80,pointdot,color888888,linethick2;stickline(涨> ref(涨,1),涨,ema(涨,3),0,0) ,color00bbff;stickline(涨> ref(涨,1),涨,ema(涨,3),8,0) ,color0011ff;stickline(涨> ref(涨,1),涨,ema(涨,3),7,0) ,color0022ff;stickline(涨> ref(涨,1),涨,ema(涨,3),6,0) ,color0044ff;stickline(涨> ref(涨,1),涨,ema(涨,3),5,0) ,color0066ff;stickline(涨> ref(涨,1),涨,ema(涨,3),4,0) ,color0088ff;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),color0000ff;drawicon(cross(跌,80),70,2),colorgreen;drawtext(cross(涨,跌) and 跌<20 and 跌>-10,40,'停雨多云'),colorccff99; drawtext(天晴>0,-20,'天晴'),color0000ff;var11:=sumbars(vol,finance(7)*100);var22:=dma(ema(close,12),sum(vol,5)/3/capital);var3:=(close-var22)/var22*100;var4:=hhv(var3,var11);var5:=llv(var3,var11);var6:=(var3-var5)/(var4-var5)*100;k:=sma(var6,3,1);d:=sma(k,3,1);j:=3*k-2*d;ma1:=ma(j,3),colorgreen;stickline(filter(j>ma1 and j<=3,5)=1 and 跌<0,涨,涨+20,6,0),coloryellow; drawtext(filter(j>ma1 and j<=3,5)=1 and 跌<0,60,'注意'),colorffffff;。
大智慧超赢软件龙虎看盘图指标源码讲解
龙虎看盘图讲解(一)龙虎看盘逐单下图按逐单计算委买单总成交量=委卖单总成交量=今日成交量,稍有差别。
委买单=14885+61503+40179+115662=233229委卖单总成交量=8153+85991+42237+95848=233229今日成交量=233469百分比含义:大单成交量占今日总成交量的百分比,例如:特大单80928手,12%,占今日总成交量的12%上图按逐单计算一、委托买单图:1、合计委托买单17355单,总成交量/单数=13.4,即=233469(总手)/17355=13.4源码:总买单数:ORDER(1),PRECIS0,COLORGREEN,linethick0;(17335)源码:总买单手:v/ORDER(1),PRECIS1,COLORGREEN,linethick0; (13.4)2、委买单中特大单:单位:手1)上图委买单中特大单累计为:14885手,占总成交量的6%源码:特大买单手:BIGORDER(1,3)*v,PRECIS0,COLORGREEN,linethick0;(14885)特大买单百:BIGORDER(1,3)*100,PRECIS1,COLORGREEN,linethick0;(6%)2)上图委买单中大单累计为:61503手,占总成交量的26%大单指纯大单:不包含特大单源码:大买单手:(BIGORDER(1,2)-BIGORDER(1,3))*v,PRECIS0,COLORGREEN,linethick0; (61503)大买单百:(BIGORDER(1,2)-BIGORDER(1,3))*100,PRECIS1,COLORGREEN,linethick0; (26%)3)上图委买单纯中单累计为:41079手,占总成交量的17%中买单手:(BIGORDER(1,1)-BIGORDER(1,2))*v,PRECIS0,COLORGREEN,linethick0; (40179)中买单百:(BIGORDER(1,1)-BIGORDER(1,2))*100,PRECIS1,COLORGREEN,linethick0; (17%)总买单数:=ORDER(1);总买单手:v/ORDER(1),PRECIS1,COLORGREEN,linethick0;特大买单手:=BIGORDER(1,3)*v;特大买单百:=BIGORDER(1,3)*100;大买单手:(BIGORDER(1,2)-BIGORDER(1,3))*v,PRECIS0,COLORGREEN,linethick0;大买单百:(BIGORDER(1,2)-BIGORDER(1,3))*100,PRECIS1,COLORGREEN,linethick0;中买单手:(BIGORDER(1,1)-BIGORDER(1,2))*v,PRECIS0,COLORGREEN,linethick0;中买单百:(BIGORDER(1,1)-BIGORDER(1,2))*100,PRECIS1,COLORGREEN,linethick0;小买单手:(1-BIGORDER(1,1))*v,PRECIS0,COLORGREEN,linethick0;小买单百:(1-BIGORDER(1,1))*100,PRECIS1,COLORGREEN,linethick0;二、委托卖单图:1、合计委托买单13988单,总成交量/单数=16.6,即=233469(总手)/13988=16.6总卖单数:ORDER(2),PRECIS0,COLORGREEN,linethick0;(13988)总卖单手:v/ORDER(2),PRECIS1,COLORGREEN,linethick0;(13.4)2、委买单中特大单:单位:手1)上图委卖单中特大单累计为:14885手,占总成交量的6%源码:特大卖单手:BIGORDER(2,3)*v,PRECIS0,COLORGREEN,linethick0;(8153)特大卖单百:BIGORDER(2,3)*100,PRECIS1,COLORGREEN,linethick0;(4%)2)上图委卖单中大单累计为:61503手,占总成交量的26%大单指纯大单:不包含特大单源码:大卖单手:(BIGORDER(2,2)-BIGORDER(2,3))*v,PRECIS0,COLORGREEN,linethick0;(85991)大卖单百:(BIGORDER(2,2)-BIGORDER(2,3))*100,PRECIS1,COLORGREEN,linethick0;(37)3)上图委卖单纯中单累计为:41079手,占总成交量的17%中卖单手:(BIGORDER(2,1)-BIGORDER(2,2))*v,PRECIS0,COLORGREEN,linethick0;(42237)中卖单百:(BIGORDER(2,1)-BIGORDER(2,2))*100,PRECIS1,COLORGREEN,linethick0; (18)总卖单数:ORDER(2),PRECIS0,COLORGREEN,linethick0;总卖单手:v/ORDER(2),PRECIS1,COLORGREEN,linethick0;特大卖单手:BIGORDER(2,3)*v,PRECIS0,COLORGREEN,linethick0;;特大卖单百:BIGORDER(2,3)*100,PRECIS1,COLORGREEN,linethick0;;大卖单手:(BIGORDER(2,2)-BIGORDER(2,3))*v,PRECIS0,COLORGREEN,linethick0;大卖单百:(BIGORDER(2,2)-BIGORDER(2,3))*100,PRECIS1,COLORGREEN,linethick0;中卖单手:(BIGORDER(2,1)-BIGORDER(2,2))*v,PRECIS0,COLORGREEN,linethick0;中卖单百:(BIGORDER(2,1)-BIGORDER(2,2))*100,PRECIS1,COLORGREEN,linethick0;小卖单手:=(1-BIGORDER(2,1))*v;小卖单百:=(1-BIGORDER(2,1))*100;备注:1、BIGORDER用法:日线取得该日成交的中单、大单、特大占总的成交量比例,委托单分为买入委托和卖出委托,划分标准为中单(>2万股或4万元),大单(>10万股或20万元),特大单(>50万股或100万元),该函数仅对Level2行情显示有效。
【股票指标公式下载】-【大智慧】全屏看盘(涨跌、行情、涨幅、量比)
【大智慧】全屏看盘(涨跌、行情、涨幅、量比)-指标公式源码{画矩形}DRAWRECTABS(0,420,415,0,1),COLOR00FF00,layer1;{大智慧L2排序}DRAWTEXTABS(15,5,'<<行情>>'),ColorFFff00;昨收:=DYNAINFO(3);今开:=DYNAINFO(4);最低:=DYNAINFO(6);最高:=DYNAINFO(5);最新:=DYNAINFO(7);总手:=DYNAINFO(8);现手:=DYNAINFO(9);总额:=DYNAINFO(10);均价:=DYNAINFO(11);涨跌:=DYNAINFO(12);振幅:=DYNAINFO(13);涨幅:=DYNAINFO(14)*100;委比:=DYNAINFO(15);委差:=DYNAINFO(16);量比:=DYNAINFO(17);内盘:=DYNAINFO(22);外盘:=DYNAINFO(23);涨速:=DYNAINFO(24);买一:=DYNAINFO(28);卖一:=DYNAINFO(34);委买量:=DYNAINFO(89);委卖量:=DYNAINFO(90);外内比:=DYNAINFO(23)/DYNAINFO(22)*100;盘差:=(外盘-内盘);换手率:=(100*v/capital);DRAWTEXTABS(0,20,'■昨收:'+str(昨收)+''),Color00FF00; DRAWTEXTABS(0,40,'■今开:'+str(今开)+''),ColorffFF00; DRAWTEXTABS(0,60,'■最低:'+str(最低)+''),Color00FF00;DRAWTEXTABS(0,80,'■最高:'+str(最高)+''),ColorFFff00; DRAWTEXTABS(0,100,'■最新:'+str(最新)+''),Color0000FF; DRAWTEXTABS(0,120,'■涨跌:'+str(涨跌)+''),Color00FF00; DRAWTEXTABS(0,140,'■涨幅:'+str(涨幅)+''),Color0000FF; DRAWTEXTABS(0,160,'■现手:'+str(现手)+''),Color00ffFF; DRAWTEXTABS(0,180,'■量比:'+(量比)+''),ColorFFFF00; DRAWTEXTABS(0,200,'■换手率:'+(换手率)+''),Color000FFF; DRAWTEXTABS(0,220,'■外盘:'+str(外盘)+''),Colorffff00; DRAWTEXTABS(0,240,'■内盘:'+str(内盘)+''),Color0000ff; DRAWTEXTABS(0,260,'■盘差:'+str(盘差)+''),ColorFFFF00; DRAWTEXTABS(0,280,'■外内比:'+str(外内比)+''),Color00FFFF; DRAWTEXTABS(0,300,'■委比:'+(委比)+''),Colorff0000; DRAWTEXTABS(0,320,'■买一:'+(买一)+''),Color00ffFF; DRAWTEXTABS(0,340,'■卖一:'+(卖一)+''),Colorff0000; DRAWTEXTABS(0,360,'■委卖量:'+str(委卖量)+''),Color00FF00; DRAWTEXTABS(0,380,'■委买量:'+str(委买量)+''),Color0000FF; DRAWTEXTABS(0,400,'■买卖差:'+str(委卖量-委买量)+''),ColorFFff00; DRAWTEXTABS(130,5,'<<精灵>>'),ColorFFff00;买入单数:=DYNAINFO(91);卖出单数:=DYNAINFO(92);买卖单数差:=(买入单数-卖出单数);大笔买入:=DYNAINFO(94);大笔卖出:=DYNAINFO(97);大笔差:=(大笔买入-大笔卖出);特大买入:=DYNAINFO(95);特大卖出:=DYNAINFO(98);特大差:=(特大买入-特大卖出);机构买单吃货数:=DYNAINFO(99);机构卖单吐货数:=DYNAINFO(100);机构吃吐货数差:=(机构买单吃货数-机构卖单吐货数);机构单数差:=DYNAINFO(101);机构吃货数:=DYNAINFO(102);机构吐货数:=DYNAINFO(103);机构货数差:=(机构吃货数-机构吐货数);机构吃货量:=DYNAINFO(104);机构吐货量:=DYNAINFO(105);机构货量差:=(机构吃货量-机构吐货量);机构吃货均额:=DYNAINFO(106);机构吐货均额:=DYNAINFO(107);机构均额差:=(机构吃货均额-机构吐货均额);DRAWTEXTABS(100,20,'■买入单数:'+str(买入单数)+'' ),Color0000FF; DRAWTEXTABS(100,40,'■卖出单数:'+str(卖出单数)+'' ),Color00FF00; DRAWTEXTABS(100,60,'■大笔买入:'+str(大笔买入)+'' ),ColorffFF00; DRAWTEXTABS(100,80,'■大笔卖出:'+str(大笔卖出)+'' ),Color00FF00; DRAWTEXTABS(100,100,'■特大买入:'+str(特大买入)+'' ),ColorffFF00; DRAWTEXTABS(100,120,'■特大卖出:'+str(特大卖出)+'' ),Color00FF00; DRAWTEXTABS(100,140,'■机构买单吃货数:'+str(机构买单吃货数)+'' ),ColorffFF00;DRAWTEXTABS(100,160,'■机构卖单吐货数:'+str(机构卖单吐货数)+'' ),Color00FF00;DRAWTEXTABS(100,180,'■机构单数差:'+str(机构单数差)+'' ),ColorFFff00; DRAWTEXTABS(100,200,'■机构吃货数:'+str(机构吃货数)+'' ),ColorffFF00; DRAWTEXTABS(100,220,'■机构吐货数:'+str(机构吐货数)+'' ),Colorff0000; DRAWTEXTABS(100,260,'■机构吃货量:'+str(机构吃货量)+'' ),Color00ffFF; DRAWTEXTABS(100,280,'■机构吐货量:'+str(机构吐货量)+'' ),Colorff0000; DRAWTEXTABS(100,320,'■机构吃货均额:'+str(机构吃货均额)+'' ),Color00FFff;DRAWTEXTABS(100,340,'■机构吐货均额:'+str(机构吐货均额)+'' ),Colorff0000;DRAWTEXTABS(100,240,'■机构货数差:'+str(机构货数差)+'' ),Color00ffFF; DRAWTEXTABS(100,300,'■机构货量差:'+str(机构货量差)+'' ),Color00ffFF; DRAWTEXTABS(100,360,'■机构均额差:'+str(机构均额差)+'' ),ColorffFF00; DRAWTEXTABS(100,390,STKLABEL+' '+STKNAME+' '),ColorFF00ff,LINETHICK3; DRAWTEXTREL(300,5,'<<资金>>'),COLORffff00;zlV:=(BIGORDER(1,2)-BIGORDER(2,2))*vol;jgV:=(BIGORDER(1,3)-BIGORDER(2,3))*vol;dhV:=(BIGORDER(1,2)-BIGORDER(2,2)-BIGORDER(1,3)+BIGORDER(2,3))*vol; zhV:=(BIGORDER(1,1)-BIGORDER(2,1)-BIGORDER(1,2)+BIGORDER(2,2))*vol; shV:=(BIGORDER(2,1)-BIGORDER(1,1))*vol;tD:=COUNT(BIGORDER(1,0),0);myD:=min(tD,30);主力资金:=ema(zlV,myD)*myD/capital;超级资金:=ema(jgV,myD)*myD/capital;大户资金:=ema(dhV,myD)*myD/capital;中户资金:=ema(zhV,myD)*myD/capital;散户资金:=ema(shV,myD)*myD/capital;大单买:=BIGORDER(1,2)*V/CAPITAL;大单卖:=BIGORDER(2,2)*V/CAPITAL;大单动向:=(大单买-大单卖)*100;涨跌动因:=(ORDER(2)-ORDER(1))/CAPITAL*1000;大单分差:=(ORDER(2)-ORDER(1))/(ORDER(2)+ORDER(1))*200; DRAWTEXTREL(250,40,' ■主力资金:'+主力资金),COLOR00FFff; DRAWTEXTREL(250,80,' ■超级资金:'+超级资金),COLORffFF00; DRAWTEXTREL(250,120,' ■大户资金:'+大户资金),COLOR0000FF; DRAWTEXTREL(250,160,' ■中户资金:'+中户资金),COLORFFff00; DRAWTEXTREL(250,200,' ■散户资金:'+散户资金),COLOR00FF00; DRAWTEXTREL(250,240,' ■大单动向:'+大单动向),COLOR00FFff; DRAWTEXTREL(250,280,' ■涨跌动因:'+涨跌动因),COLORFFff00; DRAWTEXTREL(250,320,' ■大单分差:'+大单分差),COLORFFff00;DRAWTEXTABS(280,205 ,'<<财务>>'),colorFFFF00;DRAWTEXTABS(100,390,STKLABEL+' '+STKNAME+' '),ColorFF00ff,LINETHICK3; BEGIN DRAWTEXTREL(0,800,'■所属板块:'+BKNAME),LINETHICK1,COLORFF00Ff;end;总股本:=FINANCE2(35)/10000;DRAWTEXTABS(250,220,'■总股本:'+总股本+'亿 '),LINETHICK2,Color0080FF; DRAWTEXTABS(250,240,'■流通盘:'+capital/1000000+'亿'),Color0080FF,LINETHICK2;每股收益:=FINANCE2(3);每股市盈率:=DYNAINFO(39);每股净资产:=FINANCE2(4);销售毛利率:=FINANCE2(12);主营收入同比:=FINANCE2(11);净利润同比增长:=FINANCE2(10);每股公积金:=FINANCE2(7);每股未分配:=FINANCE2(8);DRAWTEXTABS(250 ,260,'■每股收益:'+NUMTOSTRN(每股收益,2)+'元'),COLORYELLOW;DRAWTEXTABS(250 ,280,'■每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),Color62FFFF;DRAWTEXTABS(250 ,300,'■每股净资产:'+NUMTOSTRN(每股净资产,2)+'元'),COLORYELLOW;DRAWTEXTABS(250 ,320,'■销售毛利率:'+NUMTOSTRN(销售毛利率,2)+'%'),Color62FFFF;DRAWTEXTABS(250 ,340,'■主营收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),ColorACFFFF;DRAWTEXTABS(250 ,360,'■净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),ColorACFFFF;DRAWTEXTABS(250 ,380,'■每股公积金:'+NUMTOSTRN(每股公积金,2)+'元'),ColorFFFFFF;DRAWTEXTABS(250 ,400,'■每股未分配:'+NUMTOSTRN(每股未分配,2)+'元'),ColorFFFFFF;{}A3:MA(AMOUNT/(100*VOL),3);A5:MA(AMOUNT/(100*VOL),5);A10:MA(AMOUNT/(100*VOL),10);A20:MA(AMOUNT/(100*VOL),20);A30:MA(AMOUNT/(100*VOL),30);A60:MA(AMOUNT/(100*VOL),60);DRAWTEXT(CROSS(A3,A10),L-0.01,'?'),COLORYELLOW,LINETHICK4; DRAWTEXT(CROSS(A5,A3),h+0.05,'?'),COLORffffff,LINETHICK4;【大智慧】全屏看盘(涨跌、行情、涨幅、量比)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】底部吸筹(放量拉升、波段王、波段鬼、趋势线)
【大智慧】底部吸筹(放量拉升、波段王、波段鬼、趋势线)-指标公式源码VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);VAR5:=LLV(LOW,30);VAR6:=HHV(VAR4,30);VAR7:=IF(MA(CLOSE,58),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;VAR9:=IF(VAR8>100,100,VAR8);STICKLINE(VAR9>-150,0,VAR9,0.1,0), COLORFF00FF;吸筹指标:(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,COLOR00FF00; STICKLINE(CROSS(吸筹指标,-24),100,0,1,0), COLORFFFFFF;先知: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, COLORFF00FF;放量拉升:IF(CROSS(吸筹指标,-24),1,0), COLORFFFFFF;获利:STICKLINE(REF("KDJ.J",1)<0 AND "KDJ.J">0,60,0,1,0),COLOR0000FF; VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;VARK2:=REVERSE(VARK1);VARK3:=SMA(VARK1,3,1);波段王:SMA(VARK3,3,1), COLORRED,LINETHICK2;波段鬼:SMA(波段王,2.5,1),COLORYELLOW,LINETHICK2;趋势线:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(S MA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLOR FF6666,LINETHICK2;RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:SMA(RSV9,3,1);DK1:K1-REF(K1,1),COLORSTICK;出手就赢:IF(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,50,0), STICK,COLORYELLOW;DRAWICON(出手就赢>0,50 ,1);STICKLINE( CROSS(趋势线,10),0,73,3,0), COLOR3366FF;DRAWTEXT(IF(CROSS(趋势线,10),100,0),68,'底'),COLORWHITE ; DRAWTEXT(IF(CROSS(10,趋势线),1,0), 10,'钱'),COLOR33FFCC; DRAWTEXT(REF("KDJ.J",1)<0 AND "KDJ.J">0,50,'买'),COLORRED ;DRAWTEXT(CROSS(吸筹指标,-24),80,'底'),COLORWHITE ;RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);短期底部:=LLV(OPEN,30);K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=((3 * K) - (2 * D));AA10:=MA(CLOSE,10);AA12:=MA(CLOSE,12);BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);VARB:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VARC:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VARD:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VARE:=(((VARB + (2 * VARC)) + (3 * VARD)) / 6);VARF:=MA(VARE,3);STICKLINE((CROSS(J,0) AND (VARF <= (0 - 7))),0,88,2,0),COLORBLUE; DRAWICON((CROSS(J,0) AND (VARF <= (0 - 7))),88,9);VARO2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;VARO3:=SMA(SMA(VARO2,3,1),3,1);VARO4:=EMA(VARO3,5);VARO5:=LLV(LOW,26);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;STICKLINE(CROSS(VARO4,10) AND VARO4>10,25,0,1,0),COLORYELLOW;建仓区: IF((VARO7<10),0,20),LINETHICK3 ,COLORRED;【大智慧】底部吸筹(放量拉升、波段王、波段鬼、趋势线)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】资金流(小单买入、大单买入、总成交金额)
【大智慧】资金流(小单买入、大单买入、总成交金额)-指标公式源码{日K龙虎榜大单及资金统计}小单买入:=EXTDATA(1);小单卖出:=EXTDATA(2);大单买入:=EXTDATA(3);大单卖出:=EXTDATA(4);笔均成交手:=EXTDATA(5);主动买卖:=EXTDATA(6);买入金额:=EXTDATA(7);卖出金额:=EXTDATA(12);总成交金额:=买入金额+卖出金额;增量资金:=买入金额-卖出金额;大单净量:=大单买入-大单卖出;散户跟风:=(小单买入-小单卖出)*c/100;主力存量:SUM(大单净量*close/100,0),Colorwhite,LINETHICK3;STICKLINE(增量资金>0,0,增量资金,10,0),Colorred;STICKLINE(增量资金<0,0,增量资金,10,0),Colorgreen;STICKLINE(大单净量*close/100>0,0,大单净量*close/100,7,0),Coloryellow; STICKLINE(大单净量*close/100<0,0,大单净量*close/100,7,0),Colorblue; STICKLINE(散户跟风>0,0,散户跟风,4,0),Colormagenta;STICKLINE(散户跟风<0,0,散户跟风,4,0),Colorwhite;ma(主力存量,10),colorcyan,linethick2;FILLRGN(0,主力存量,主力存量>=0,RGB(255,125,0),主力存量<0,RGB(0,125,225));ma(主力存量,10),colorcyan,linethick2;DRAWRECTABS(0,0,340,130,RGB(100,100,100));DRAWTEXTABS(20,5,STKLABEL),LINETHICK3,ColorFF00FF;{代码} DRAWTEXTABS(80,5,STKNAME),LINETHICK3,ColorFF00FF;{名称} DRAWTEXTABS(10,30,'■大单买入: '+大单买入),Color00ffff,LINETHICK1; DRAWTEXTABS(130,30,'占'+FLOOR(大单买入/主动买卖*100)+' %'),Color00ffff,LINETHICK1;DRAWTEXTABS(10,45,'■小单买入: '+小单买入),Color2F73FF,LINETHICK1;DRAWTEXTABS(130,45,'占'+FLOOR(小单买入/主动买卖*100)+' %'),Color2F73FF,LINETHICK1;DRAWTEXTABS(10,60,'■大单卖出: '+大单卖出),Color00FF00,LINETHICK1; DRAWTEXTABS(130,60,'占'+FLOOR(大单卖出/主动买卖*100)+' %'),Color00FF00,LINETHICK1;DRAWTEXTABS(10,75,'■小单卖出: '+小单卖出),ColorB4B043,LINETHICK1; DRAWTEXTABS(130,75,'占'+FLOOR(小单卖出/主动买卖*100)+' %'),ColorA8A800,LINETHICK1;DRAWTEXTABS(10,90,'■大单净量: '+大单净量),Colorff00ff,LINETHICK1; DRAWTEXTABS(130,90,'占'+FLOOR(大单净量/主动买卖*100)+' %'),ColorFF00FF,LINETHICK1;DRAWTEXTABS(10,105,'■笔均成交: '+笔均成交手+' 手'),Color00ffff,LINETHICK1;DRAWTEXTABS(175,105,'■成交总额:'+总成交金额+' 万元'),LINETHICK1,COLOR00ffff;DRAWTEXTABS(175,3,'■买入:'+买入金额),LINETHICK1,COLORred; DRAWTEXTABS(175,15,'■卖出:'+卖出金额),LINETHICK1,COLORgreen; DRAWTEXTABS(175,30,'■增量资金:'+增量资金),LINETHICK1,COLOR00ffff; DRAWTEXTABS(300,30,'占'+FLOOR(增量资金/总成交金额*100)+'%'),COLOR00ffff,LINETHICK1;DRAWRECTABS(0,0,170,28,0),COLORwhite;DRAWRECTABS(170,0,340,28,0),COLORwhite;DRAWRECTABS(0,28,170,120,0),COLORwhite;DRAWRECTABS(170,28,340,120,0),COLORwhite;DRAWRECTABS(0,103,340,120,0),COLORwhite;DRAWRECTABS(0,120,340,140,0),COLORwhite;总:=DYNAINFO(8);{-----------------------------------------大单直观比例-------------------------------------------------------------} DRAWRECTABS(0,120,大单买入*340/总,140,RGB(255,255,0)); DRAWRECTABS(大单买入*340/总,120,(大单买入+小单买入)*340/总,140,RGB(255,125,0));DRAWRECTABS((大单买入+小单买入)*340/总,120,(大单买入+小单买入+大单卖出)*340/总,140,RGB(0,200,0));DRAWRECTABS((大单买入+小单买入+大单卖出)*340/总,120,(大单买入+小单买入+大单卖出+小单卖出)*340/总,140,RGB(0,125,225));{---------------------------------------------------资金流量&控盘力度--------------------------------------------------------------}; ZLCM:=EMA(WINNER(CLOSE)*70,3);SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);ZZLKP:=ZLCM/(ZLCM+SHCM)*100;PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));XVL:=IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN, 0-QJJ*(HIGH-LOW),0-VOL/2));HSL:=(XVL/20)/1.15;攻击流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));LLJX:=EMA(攻击流量,3);资金流量:=LLJX;周流量:=SUM(LLJX,5);流入力度:=HSL/1000;控盘力度:=INTPART(ZZLKP);DRAWTEXTABS(175,45,'■资金流量:'+资金流量),LINETHICK1,COLORff00ff; DRAWTEXTABS(175,60,'■周流总量:'+周流量),LINETHICK1,COLORff00ff; DRAWTEXTABS(175,75,'■流入力度:'+流入力度),LINETHICK1,COLORff00ff;【大智慧】资金流(小单买入、大单买入、总成交金额)-指标公式效果图(文档来源:若水财经社区)。
大智慧精确买卖分时指标公式
大智慧精确买卖分时指标公式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(SMA((C-LLV(L,55))/(HHV(H,55)-L LV(L,55))*100,5,1),3,1);趋势线: 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,5,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 趋势线<ref(趋势线,1) and 主力进<ref(主力进,1),8); DRAWTEXT( 见顶清仓,90,'逃顶'),coloryellow;cc:=(趋势线>=90 AND V12) and filter((趋势线>=90 AND V12),10);stickline(大盘资金进场 and 趋势线<13,0,30,10,0),colorred;stickline(大盘资金撤走 and 趋势线>90,0,30,10,0),colorgreen;stickline(主力进 and 趋势线<13,0,40,10,0),colorff00ff;stickline(主力撤 and 趋势线>90,0,40,10,0),colorblue;。
大智慧正版超赢指标源码.docx
大智慧正版超赢指标源码大智慧超赢指标源码:{SVSH -散户线模型}input:p1(7);variable: 散户帐号数 =0;参数 :=min(1-(h-c)/c,1-(c-l)/c,1-(h-l)/c);TOP 散户 :=TOPVIEW(1360)+TOPVIEW(1361); T1:=topview(1430);T2:=topview(1431);T3:=topview(1432);T4:=topview(1433);s1:=(t1-ref(t1,1));s7:=(t1-ref(t1,p1));bb:=if(order(1)-order(2)>=0,pow(abs((order(1)-order(2))*参数),0.8),0-pow(abs((order(1)-order(2))*参数),0.8));;aa:=INTPART(max(min(散户帐号数+bb,capital/8),capital/2000));散户帐号数 :if(TOPVIEW(1400,0,1)0,TOP散户,aa),PRECIS0,linethick2;drawmovetext(s7>0,numtostr(p1)+'日内散户增仓占'+numtostr(s7)+'%'),colorgreen;drawmovetext(s71,散户帐号数,'散户当日增仓占流通盘的'+NUMTOSTR(s1)+'%'),colorgreen;drawflagtext(s1<-1,散户帐号数,'散户当日减仓占流通盘的'+NUMTOSTR(abs(s1))+'%'),colorred;DRAWGBK((topview(1400,0,10)-ref(topview(1400,0,10),1))0 and STRCMP(STKLABEL,'000001')0 andcapital0),COLOR484848;drawmovetext((topview(1400,0,10)-ref(topview(1400,0,10),1))>0,' 流通 A 股增加了'+NUMTOSTR((topview(1400,0,10)-ref(topview(1400,0,10) ,1))/10000)+' 万股 '),coloryellow;drawmovetext((topview(1400,0,10)-ref(topview(1400,0,10),1))<0,' 流通 A 股减少了'+NUMTOSTR((ref(topview(1400,0,10),1)-topview(1400,0, 10))/10000)+' 万股 '),coloryellow;{SVZL -主力持仓分析}input:p1(7);主力持仓 :topview(1436,0,200),LINETHICK2;bb1:= 主力持仓 -ref( 主力持仓 ,1);STICKLINE(bb1=0,bb1+ 主力持仓 ,主力持仓,0.1,0),colorred;STICKLINE(bb1>=0.2 and bb1-0.2 and bb1<0,主力持仓+bb1, 主力持仓 ,0.1,0),COLORCYAN;STICKLINE(bb1-1,主力持仓+bb1,主力持仓,1,0),COLORCYAN;STICKLINE(bb1-2,主力持仓+bb1,主力持仓,2,0),COLORCYAN;STICKLINE(bb10,NUMTOSTR(p1)+'日内买卖净占比'+NUMTOSTR(多日净值)+'%'),colorred;drawmovetext(多日净值0.2,主力持仓+bb1,'当日主力净买入占流通盘的'+NUMTOSTR(intpart(bb1*100)/100)+'%'),colorred;drawflagtext(bb1<=-0.2,主力持仓+bb1,'当日主力净卖出占流通盘的'+NUMTOSTR(intpart(-bb1*100)/100)+'%'),colorgreen;DRAWGBK((topview(1400,0,10)-ref(topview(1400,0,10),1))0 and STRCMP(STKLABEL,'000001')0 andcapital0),COLOR484848;drawmovetext((topview(1400,0,10)-ref(topview(1400,0,10),1))>0,' 流通 A 股增加了'+NUMTOSTR((topview(1400,0,10)-ref(topview(1400,0,10),1))/10000)+' 万股 '),coloryellow;drawmovetext((topview(1400,0,10)-ref(topview(1400,0,10),1))<0,' 流通 A 股减少了'+NUMTOSTR((ref(topview(1400,0,10),1)-topview(1400,0, 10))/10000)+' 万股 '),coloryellow;drawtextabs(0,0,'超赢主力持仓'),coloryellow;{SVZJ -资金流向决策分析 }T1:=topview(1430);T2:=topview(1431);T3:=topview(1432);T4:=topview(1433);散户:=(T1-REF(T1,1))*capital/10000*(c/if(TYPE=0,255.5,1));中户:=(T2-REF(T2,1))*capital/10000*(c/if(TYPE=0,255.5,1));大户:=(T3-REF(T3,1))*capital/10000*(c/if(TYPE=0,255.5,1));超大:=(T4-REF(T4,1))*capital/10000*(c/if(TYPE=0,255.5,1));净额 :=if(TYPE=0 and date0,0,净额,3,0),colorred;stickline( 净额 <0,0, 净额 ,3,0),colorgreen;stickline( 净额 =0,0, 净额 ,3,0),colorwhite;drawmovetext(1,'活跃资金进出'+numtostr(净额)+'万元'); drawtextabs(0,0,'超赢资金流'),coloryellow;{SVSS -超赢实时监控 }T1:=topview(1430);T2:=topview(1431);T3:=topview(1432);T4:=topview(1433);散户 :(T1-REF(T1,1))*capital/10000*c,PRECIS1,colorstick;中户 :(T2-REF(T2,1))*capital/10000*c,PRECIS1,colorstick;大户 :(T3-REF(T3,1))*capital/10000*c,PRECIS1,colorstick;超大 :(T4-REF(T4,1))*capital/10000*c,PRECIS1,colorstick; drawtextrel(0,997,'净额(万元)');drawtextrel(0,998.5,' 分类 ');drawtextrel(10,998,'#RULER10'),COLORYELLOW;drawtextrel(20,998,'#RULER10'),COLORYELLOW; drawtextrel(30,998,'#RULER10'),COLORYELLOW;drawtextrel(40,998,'#RULER10'),COLORYELLOW;{SVYY -引用指标 }原散户 :TOPVIEW(1430,0,100);原中户 :TOPVIEW(1431,0,100);原大户 :TOPVIEW(1432,0,100);原超大 :TOPVIEW(1433,0,100);昨日原散户 :REF( 原散户 ,1);昨日原中户 :REF( 原中户 ,1);昨日原大户 :REF( 原大户 ,1);昨日原超大 :REF( 原超大 ,1);{SVQS -超赢盘中趋势}昨天的超大 :="SVYY. 昨日原超大 #day";昨天的大户 :="SVYY. 昨日原大户 #day";昨天的中户 :="SVYY. 昨日原中户 #day";昨天的散户 :="SVYY. 昨日原散户 #day";当日超大 1:=(ordervol(1,3)-ordervol(2,3))/capital*100;当日大户1:=((ordervol(1,2)-ordervol(2,2))-(ordervol(1,3)-ordervol(2, 3)))/capital*100;当日中户1:=((ordervol(1,1)-ordervol(2,1))-(ordervol(1,2)-ordervol(2, 2)))/capital*100;当日散户 1:=0- 当日中户 1- 当日大户 1- 当日超大 1;当日散户 :=sum( 当日散户 1,0);当日中户 :=sum( 当日中户 1,0);当日大户 :=sum( 当日大户 1,0);当日超大 :=sum( 当日超大 1,0);最新超大 := 昨天的超大 +当日超大 ;最新大户 := 昨天的大户 +当日大户 ;最新中户 := 昨天的中户 +当日中户 ;最新散户 := 昨天的散户 +当日散户 ;回归后散户仓位:=1/(exp(50)/100*exp(-(50+(最新散户-50)/20))+0.01);回归后中户仓位:=1/(exp(50)/100*exp(-(50+(最新中户-50)/20))+0.01);回归后大户仓位:=1/(exp(50)/100*exp(-(50+(最新大户-50)/20))+0.01);回归后超大仓位:=1/(exp(50)/100*exp(-(50+(最新超大-50)/20))+0.01);归百 :=100/( 回归后散户仓位 +回归后中户仓位 +回归后大户仓位 +回归后超大仓位 );超大 :=回归后超大仓位*归百 ;大户 :=回归后大户仓位*归百 ;中户 :=回归后中户仓位*归百 ;散户 :=回归后散户仓位*归百 ;盘中变化 :大户 +超大 -ref( 大户 ,1)-ref( 超大,1),colorstICK,LINETHICK2;超赢趋势 :sum( 盘中变化 ,0);{SVFL -超赢分类统计}refline:0,25,50,75;T1:=topview(1430);T2:=topview(1431);T3:=topview(1432);T4:=topview(1433);散户 :percentbar(T1,REF(T1,1)),COLORGREEN;中户 :percentbar(T2,REF(T2,1)),COLORBLUE;大户 :percentbar(T3,REF(T3,1)),COLORCYAN;超大 :percentbar(T4,REF(T4,1)),COLORRED; drawtextrel(0,997,'比例%');drawtextrel(0,998.5,' 分类 ');drawtextrel(10,997,numtostrn(T1,1)),COLORGREEN;drawtextrel(20,997,numtostrn(T2,1)),COLORBLUE; drawtextrel(30,997,numtostrn(T3,1)),COLORCYAN; drawtextrel(40,997,numtostrn(T4,1)),COLORRED; drawtextrel(10,998,'#RULER10'),COLORYELLOW; drawtextrel(20,998,'#RULER10'),COLORYELLOW; drawtextrel(30,998,'#RULER10'),COLORYELLOW;drawtextrel(40,998,'#RULER10'),COLORYELLOW;{SVPH -分类排行 }散户 :=topview(1430);中户 :=topview(1431);大户 :=topview(1432);超大 :=topview(1433);P1 日前散户 :=REF( 散户 ,P1);散户持仓 :percentbar( 散户 ,P1 日前散户 ); P2 日前中户 :=REF( 中户 ,P2);中户持仓 :percentbar( 中户 ,P2 日前中户 ); P3 日前大户 :=REF( 大户 ,P3);大户持仓 :percentbar( 大户 ,P3 日前大户 ); P4 日前超大 :=REF( 超大 ,P4);超大持仓 :percentbar( 超大 ,P4 日前超大 );散户增减 :散户 -P1 日前散户 ;中户增减 :中户 -P2 日前中户 ;大户增减 :大户 -P3 日前大户 ;超大增减 :超大 -P4 日前超大 ;活跃资金增减 :大户 +超大 -ref( 大户 ,1)-ref( 超大 ,1);{TRT -顺势交易 }variable:p1=0;c1:=INTPART(cyc(5)*100*0.96)/100;p2:=intpart(ref(cyc(5),1)*100)/100;p3:=intpart(ref(cyc(5),1)*0.96*100)/100;vv:=intpart(min(capital*0.05,ref(ma(vol,34),1))/100);p40:=intpart(maxcyc*100)/100;p41:=intpart(ref(MAXCYC,1)*100)/100;p4:=p1=0 and c>p2 or(ref(vol/100,1)intpart(p2*0.98*100)/100 andvol>min(capital*0.05,ref(ma(vol,34),1)));p5:=p1=1 and c<min(p3,p41);p1:=if(p4=1,1,if(p5=1,0,ref(p1,1)));STICKLINE(p1=1 and co,c,o,8,1),colorffff54;STICKLINE(p1=0 and c>o,c,h,0.5,0),colorffff54;STICKLINE(p1=0 and c>o,l,o,0.5,0),colorffff54;DRAWTEXT(cross(p1,0),l*0.9,'B'),coloryellow,LINETHICK3;DRAWTEXT(cross(1,p1),h*1.05,'S'),COLORgreen,LINET HICK3;DRAWFLAGTEXT(p1=0 and (p2*0.98-c)/c>0.1,c,'持币');DRAWFLAGTEXT(p1=0 and (p2*0.98-c)/c<=0.1 andref(vol/100,1)<vv,c,' 明日收盘价超过'+str(p2)+'; 或收盘价超过'+str(intpart(p2*0.98*100)/100)+' 且成交量大于 '+str(vv)+'买入 ');DRAWFLAGTEXT(p1=0 and (p2*0.98-c)/c=vv,c,' 明日收盘价超过 '+str(p2)+' 买入 ');DRAWFLAGTEXT(p1=1 and (c-min(c1,p40))/min(c1,p40)>0.1 ,c,' 持股 ');DRAWFLAGTEXT(p1=1 and (c-min(c1,p40))/min(c1,p40)<=0.1 ,c,' 明日收盘价跌破'+str(min(c1,p40))+' 卖出 ');;{SUPL - 主力资金线 }variable:eye=0;eye:=(BIGORDER(1)-BIGORDER(2))*vol/capital*100;eyes:=sum(eye,0);gold:=eyes+50;主力资金 :gold,color0093f5;STICKLINE(eye>0 and eye=2,gold,gold+eye,4,0),colorred;STICKLINE(eye>-0.5 andeye<=0,gold+eye,gold,0.5,0),COLORCYAN;STICKLINE(eye-1,gold+eye,gold,2,0)SUZL,COLORCYAN;STICKLINE(eye-2,gold+eye,gold,3,0),COLORCYAN;STICKLINE(eye=0.3,gold+eye,'当日主力净买入力度'+NUMTOSTR(intpart(eye*100)/100)+'%'),colorred;drawflagtext(eye<=-0.3,gold+eye,'当日主力净卖出力度'+NUMTOSTR(intpart(eye*100)/100)+'%'),colorgreen;{每日大单 }每日大单:(bigorder(1)-bigorder(2))*vol/capital*100,color3d;{超赢买入- 选股公式 }DDX:=(BIGORDER(1)-BIGORDER(2))*vol/capital*100;DDX>0.1 and DYNAINFO(14)0.1 ANDCOUNT(DDX>0,10)>=3 and ddx>0.15;。
【股票指标公式下载】-【大智慧】预测收盘(预测当天最低价、预测收盘价)
【大智慧】预测收盘(预测当天最低价、预测收盘价)-指标公式源码DRAWGBKLAST(1,STRIP(RgB(10,10,50),RGB(50,10,10),0)); MA3:MA(CLOSE,3); MA4:MA(CLOSE,4); MA5:MA(C,5),colorwhite;MA10:MA(C,10),COLORYELLOW; 警报:=CROSS(MA4,MA3);DRAWTEXT(警报,H*1.05,'↓'),LINETHICK6,ALIGN1,COLORFFFFFF;安全:=CROSS(MA3,MA4);DRAWTEXT(安全,L*0.95,'↑'),LINETHICK6,ALIGN1,colorRED; SD:=HHV(HIGH,13)=HIGH AND HIGH>REF(HIGH,1);{17}x9:FORCAST(c,9),Colorwhite,LINETHICK2;llx:=llv(FORCAST(c,9),2);PARTLINE(x9,x9=llx,rgb(255,205,0),x9<>llx,rgb(255,0,0)),linethick3; MA21:MA(C,21),LINETHICK1,COLORE66878;VC:=(HIGH+LOW+OPEN+2*CLOSE)/5;明日突破:=VC+(HIGH-LOW);明日反转:=VC-(HIGH-LOW);DRAWTEXTABS(15,71,'明日突破: '+NUMTOSTRN(明日突破,2)+' 元'),COLOR0000FF;DRAWTEXTABS(15,90,'明日反转: '+NUMTOSTRN(明日反转,2)+' 元'),COLORffff00;HHVALL(HIGH)*1.1,COLOR000000;LLVALL(LOW)*0.9,COLOR000000;{预测当天最低价公式}A1:=REF(O,1);A2:=ABS((REF(C,1)-A1)/A1);A3:=ABS((REF(H,1)-A1)/A1);A4:=ABS((REF(L,1)-A1)/A1);B1:=ABS((A2+A3+A4)/3);B2:=O*B1;今日最高:=O+B2;预测低一:O-B2,linethick0;{预测当天收盘价公式}开盘价1:=open;开盘价2:=REF(open,1);最高价1:=high;最高价2:=REF(high,1);最低价1:=low;最低价2:=REF(low,1);收盘价1:=CLOSE;收盘价2:=REF(CLOSE,1);AA:=最高价2;BB:=最低价2;CC:=开盘价2;DD:=收盘价2;EE:=(AA+BB+CC+2*DD)/5;AAA:=EE+(AA-BB);BBB:=2*EE-BB;CCC:=2*EE-AA;DDD:=EE-(AA-BB);上升突破价:=AAA;上升阻力价:=BBB;下跌支撑价:=CCC;下跌反转价:=DDD;EEE:=(EE+上升突破价+上升阻力价+下跌支撑价+下跌反转价)/5;心理价:=EEE;FFF:=(EEE+开盘价1)/2;GGG:=(预测低一+FFF)/2;预测低二:GGG,colorffffff,LINETHICK0;高:=今日最高;收:=FFF;DRAWTEXTABS(15,35,'预测低一: '+NUMTOSTRN(预测低一,2)+'元'),COLORWHITE ,linethick1;DRAWTEXTABS(15,53,'预测低二: '+NUMTOSTRN(预测低二,2)+'元'),COLORWHITE ,linethick1;a:="[email=LTFunc5@FORLT2]LTFunc5@FORLT2[/email]";s1:="[email=LTFunc5@LT_S1]LTFunc5@LT_S1[/email]";p1:="[email=LTFunc5@LT_P1]LTFunc5@LT_P1[/email]";drawbmp(p1=1 and ref(p1,1)=0,l,'buy1.bmp'),align1,valign0; drawbmp(p1=0 and ref(p1,1)=1,h,'sell1.bmp'),align1,valign2;drawbmp(s1=1 and ref(s1,1)=0 and(p1+ref(p1,1))<>1,l,'bs.bmp'),align1,valign0;drawbmp(s1=0 and ref(s1,1)=1 and(p1+ref(p1,1))<>1,h,'ss.bmp'),align1,valign2;{一品资料说明}WW:=BARSLAST(DISPSTATUS=1);低涨:(C/LLV(LOW,WW)-1)*100,COLOR0000FF,LINETHICK0,PRECIS2;天:BARSLAST(L=LLV(LOW,WW)),COLOR00FFFF,LINETHICK0,PRECIS0; DRAWTEXTABS(210,15,'◇低点至今上涨:'+NUMTOSTRN(低涨,2)+'%'+NUMTOSTRN(天,0)+'天'),COLOR0000FF;DRAWTEXTABS(210,32,'◇目前可见K线:'+NUMTOSTRN(WW+1,0)+'天'),COLORYELLOW;DRAWTEXTABS(15,15,'预测今日最高价: '+NUMTOSTRN(ref(今日最高,0),2)+'元'),COLORF00FF0,linethick1;DRAWTEXTREL(680,950,'预测今日收盘价: '+NUMTOSTRN(ref(FFF,0),2)+'元'),COLORF00FF0,linethick1;{43}DRAWGBK(c,'7' );Var3:=LLV(H,240);Var4:=100*(C-Var3)/Var3;Var5:=(C-LLV(L,528))/(HHV(H,528)-LLV(L,528))*100;Var6:=(C-LLV(C,530))/(HHV(C,530)-LLV(C,530))*100;{Var7:=0;}Var8:=MA(HHV(C-REF(C,1),0),34)/MA(ABS(C-REF(C,1)),7)*100;Var9:=MA(HHV(C-REF(C,1),0),13)/MA(ABS(C-REF(C,1)),13)*100;VarA:=BARSCOUNT(C);VarB:=Var8<20 AND Var9<23 AND VarA>35;VarC:=VarB AND COUNT(VarB,1)=1;VarD:=EMA(C,21)-EMA(C,8);VarE:=EMA(VarD,5);VarF:=TROUGH(3,6,1)<4 AND CROSS(VarD,VarE);Var10:=IF(TROUGH(3,16,1)=0 AND H>L+0.04,4,0);Var11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);Var12:=ZIG(3,6)<REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);Var13:=ZIG(3,22)>REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1)<=REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2)<=REF(ZIG(3,22),3);Var14:=ZIG(3,22)<REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1)>=REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);Var15:=ZIG(3,51)>REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)<=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)<=REF(ZIG(3,51),3);Var16:=ZIG(3,51)<REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)>=REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2)>=REF(ZIG(3,51),3);Var17:=ZIG(3,72)>REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)<=REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2)<=REF(ZIG(3,72),3);Var18:=ZIG(3,72)<REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)>=REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2)>=REF(ZIG(3,72),3);Var19:=EMA(C,2)-EMA(C,150);Var1A:=EMA(Var19,100);Var1B:=2*(Var19-Var1A);Var1C:=POW(Var1B,3)*0.1+POW(Var1B,1);Var1D:=SQRT(SQRT(L*H*O*C));Var1E:=EMA(Var1D*0.97,3);Var1F:=(H+L+C)/3;Var20:=(Var1F-MA(Var1F,14))/(0.015*AVEDEV(Var1F,14));Var21:=CROSS(Var1E,L);买点1:=Var10;买点2:=(Var11+Var13+Var15+Var17);卖点1:=(Var12+Var14+Var16+Var18);Var22:=买点1 AND VarF AND VarC AND Var21 AND Var4<0AND Var5=0 AND Var6=0 AND Var20<(-110);DRAWTEXT(买点1>0,L-0.15,'B'),LINETHICK4,ALIGN1,colorred;{B} DRAWTEXT(买点2>0,L-0.25,{'B'}'买'),LINETHICK2,ALIGN1,COLOR00FFFF;{B} DRAWTEXT(卖点1>0,H+0.95,{'S'}'卖'),LINETHICK2,ALIGN1,COLOR33FF33;{S}闪:EMA(c+(h-l)*0.618,3),Color0099FF,LINETHICK0;进:EMA((o+h+l)/3,4),COLORCYAN,LINETHICK0;预测明日买点:=EMA((o+h+l)/3,4)+((h+l)/2-ref((o+h+l)/3,3))/4; DRAWTEXTREL(250,0,' ◇测今日低点:'+NUMTOSTRN(ref(预测明日买点,1),2 )),ColorGREEN,linethick1;预测明日卖点:=EMA(c+(h-l)*0.618,3)+(EMA(c+(h-l)*0.618,3)-进)*0.618; DRAWTEXTREL(15,0,'♂测今日高点:'+NUMTOSTRN(ref(预测明日卖点,1),2 )),Colorred,linethick1;{预测明日涨跌}C1:=REF(CLOSE,1);C2:=HHV(C1,2);C3:=LLV(C1,1);ET:=HHV(C1,2);ET1:=REF(ET,1);XB:=LLV(C1,1);XB1:=REF(XB,1);M:=BARSLAST(((CLOSE < XB) AND (C1 >= XB1)));M11:=REF(M,1);N9:=BARSLAST(((CLOSE > ET) AND (C1 <= ET1)));N1:=REF(N9,1);M21:=(BARSLAST((((M - N9) > 0) AND (M11 <= N1))) + 1);N2:=(BARSLAST((((N9 - M) > 0) AND (N1 <= M11))) + 1);ET2:=HHV(ET,M21);XB2:=LLV(XB,N2);A:=IF((((M - N9) > 0) AND (M11 <= N1)),1,IF((((N9 - M) > 0) AND (N1 <= M11)),0,2));H1:=IF(((M - N9) > 0),CLOSE,ET2);H2:=IF((A = 1),CLOSE,C2);H3:=IF(((M - N9) < 0),CLOSE,XB2);H4:=IF((A = 1),CLOSE,XB2);H5:=IF((((M - N9) > 0) OR (A = 1)),CLOSE,H3);H6:=REF(H5,1);H7:=REF(H5,2);H8:=(H5 > H6);H9:=(((H4 = REF(H4,1)) AND (REF(H4,1) < REF(H4,2))) AND (H5 > REF(H5,2))); H10:=(((H2 = REF(H2,1)) AND (H4 = REF(H4,1))) AND (H5 = REF(H5,2))); W:=((H8 OR H9) OR H10);T9:=((H5 < H6) AND (H5 < REF(H5,2)));T10:=((H4 = REF(H4,1)) AND (H5 < REF(H5,2)));T11:=((H3 > REF(H3,1)) AND (H5 < REF(H5,1)));T12:=((H5 = REF(H5,1)) AND (H3 = H4));T13:=((H2 = REF(H2,1)) AND (H2 = H5));TW:=((((T9 OR T10) OR T11) OR T12) OR T13);PK:=((AMOUNT * (((OPEN + CLOSE) + HIGH) + LOW)) / 4);PK1:=IF((VOL > 0),(PK / AMOUNT),((((OPEN + CLOSE) + HIGH) + LOW) / 4)); BBP:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); DRAWTEXT(((DISPSTATUS=2 AND W) AND (BBP < 96.5)),(H5 * 1.022),' 明日看涨'),MOVE1,colorFF00ff;DRAWTEXT(((DISPSTATUS=2 AND TW) AND (BBP > 1)),((H5 + H4) / 2),' 明日看跌'),MOVE0,colorffFF00;{支撑压力}gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100); 明日阻力:=l+(gj-l)+(c-l);明日支撑:=l+(c-gj);明日阻力:=l+(gj-l)+(c-l);明日支撑:=l+(c-gj);今日阻力:=REF(明日阻力 , 1);今日支撑:=REF(明日支撑 , 1);STICKLINE(DISPSTATUS=2 and c>=今日阻力,今日阻力,今日阻力,30,0),Color0000FF;STICKLINE(DISPSTATUS=2 and c<今日阻力,今日阻力,今日阻力,30,0),Color00FF00;STICKLINE(DISPSTATUS=2 and c>=今日支撑,今日支撑,今日支撑,30,0),ColorFF00FF;STICKLINE(DISPSTATUS=2 and c<今日支撑,今日支撑,今日支撑,30,0),ColorFF0000;下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100); aRSV:=SMA(下档线,3,1);aK:=SMA(aRSV,3,1);aD:=((3 * aRSV) - (2 * aK));aJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100); aRSV24:=SMA(aJ12,3,1);aK24:=SMA(aRSV24,3,1);aD24:=((3 * aRSV24) - (2 * aK24));撑压位:=IF(CROSS(aD24,aD),HIGH,REF(HIGH,BARSLAST(CROSS(aD24,aD)))){,LINET HICK2,COLORFFFFFF};底:=LLV(HIGH,30){,COLOR00FF00,LINETHICK2};STICKLINE(BARSTATUS=2 ,撑压位,撑压位,30,1),LINETHICK1,COLORFFFFFF; DRAWTEXT(BARSTATUS=2 ,撑压位,' 撑压'),COLORFFFFFF,VALIGN1; STICKLINE(BARSTATUS=2 ,底,底,30,1),COLOR00FF00,LINETHICK1;【大智慧】预测收盘(预测当天最低价、预测收盘价)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】凯恩斯线(涨幅、振幅)
【大智慧】凯恩斯线(涨幅、振幅)-指标公式源码DRAWTEXTREL(4,0,'流通A股:'+NUMTOSTRn(FINANCE2(37),0)+'万'+' 市净率:'+NUMTOSTRn(DYNAINFO(58),2)+' 昨:'+NUMTOSTRn(DYNAINFO(3),2)+' 开:'+NUMTOSTRn(DYNAINFO(4),2)+' 高:'+NUMTOSTRn(DYNAINFO(5),2)+'低:'+NUMTOSTRn(DYNAINFO(6),2)+'收:'+NUMTOSTRn(DYNAINFO(7),2)),colorWhite;DRAWTEXTREL(4,80,''+'涨幅:'+NUMTOSTRn((DYNAINFO(14) * 100),2)+'%'+' 振幅:'+NUMTOSTRn((DYNAINFO(13) * 100),2)+'%'+' 换手率:'+NUMTOSTRn((DYNAINFO(37) * 100),2)+'%'),color00FFFF; DRAWTEXTREL(630,80,'黄点工作线 | 第一止损线'),color00FFFF; DRAWTEXTREL(4,160,'黄点工作线 '),colorYellow;DRAWTEXTREL(4,560,'粉色K线 | 大量放出'),colorMagenta; DRAWTEXTREL(4,640,'多空止赢 | 停损线'),colorMagenta; DRAWTEXTREL(4,240,'线上:工作 | 线下:休息'),color00FFFF; DRAWTEXTREL(120,160,' | 最低点靠近工作线低吸'),colorYellow; DRAWTEXTREL(420,80,STKLABEL+' '+STKNAME),Color00FFFF; DRAWTEXTREL(4,480,'空心:阳线 | 实体:阴线'),color0000FF; DRAWTEXTREL(4,320,'线上阴线买 | 买错也要买'),color00FFFF; DRAWTEXTREL(4,400,'线下阳线卖 | 卖错也要卖'),color00FFFF;七天线:MA(C,7),ColorFFFFFF;工作线:EMA(C,14),POINTDOT,linethick4,coloryellow;生命线:MA(C,22),linethick2,colorFF00FF;季线:ma(c,66),linethick2,color0000FF;半年线:ma(c,120),linethick2,colorFFFF00;长期趋势线:ma(c,240),CIRCLEDOT,ColorEEBBEE;A0:="cpzb.zp";A1:="cpzb.cp";A2:="cpzb.DP";STICKLINE((A2>=2.1),H,L,0.8,1),colorGreen;STICKLINE(((A2>=2.1) AND (C>REF(C,1))),O,C,8,1),colorGreen; STICKLINE(((A2>=2.1) AND (C<REF(C,1))),C,O,8,0),colorGreen; STICKLINE(((A2>0) AND (A2<5)),H,L,0.8,1),colorRed;STICKLINE((((A2>0) AND (A2<5)) AND (C>REF(C,1))),O,C,8,0),colorRed; STICKLINE((((A2>0) AND (A2<5)) AND (C<REF(C,1))),C,O,8,1),colorRed; STICKLINE(((C>=工作线) AND (C>REF(C,1))),H,L,0.5,1),colorRed; STICKLINE(((C>=工作线) AND (C>REF(C,1))),O,C,8,1),colorRed; STICKLINE(((C>=工作线) AND (C<REF(C,1))),H,L,0.5,0),colorRed; STICKLINE(((C>=工作线) AND (C<REF(C,1))),O,C,8,0),colorRed; STICKLINE(((C<工作线) AND (C>REF(C,1))),H,L,0.5,1),colorGreen; STICKLINE(((C<工作线) AND (C>REF(C,1))),O,C,8,1),colorGreen; STICKLINE(((C<工作线) AND (C<REF(C,1))),H,L,0.5,0),colorGreen; STICKLINE(((C<工作线) AND (C<REF(C,1))),O,C,8,0),colorGreen; DRAWTEXT(A0,L,' ̄ ̄'),linethick2,ALIGN1,ColorFFFFFF;DRAWTEXT(A0,L*0.98,' B-B'),linethick5,ALIGN1,colorFFFFFF; DRAWTEXT(A1,H,' ̄ ̄'),linethick2,ALIGN1,colorcyan;DRAWTEXT(A1,H*1.03,' S-S'),linethick5,colorcyan;STICKLINE(A1,C,O,8,0),colorFFFF00;STICKLINE(A1,H,L,1,0),colorFFFF00;STICKLINE(A0,C,O,8,0),ColorFFFFFF;STICKLINE(A0,H,L,1,0),ColorFFFFFF;STICKLINE((A2>=10 and A2<30),C,O,0,0),ColorFFBBFF;STICKLINE((A2>=10 and A2<30),C,O,8,0),colorMagenta;STICKLINE((A2>=10 and A2<30),C,O,7,0),ColorFF22FF;STICKLINE((A2>=10 and A2<30),C,O,6,0),ColorFF44FF;STICKLINE((A2>=10 and A2<30),C,O,5,0),ColorFF66FF;STICKLINE((A2>=10 and A2<30),C,O,4,0),ColorFF88FF;STICKLINE((A2>=10 and A2<30),C,O,3,0),ColorFF99FF;STICKLINE((A2>=10 and A2<30),C,O,2,0),ColorFFAAFF;STICKLINE((A2>=10 and A2<30),C,O,1,0),ColorFFBBFF;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);DRAWTEXT((CROSS(A4,A3)),L,'△'),linethick2,ALIGN1,colorYellow; DRAWTEXT(A7,H,'○'),linethick3,colorGreen;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;DRAWTEXT((A22 = 0.6),L,'◇'),ALIGN1,colorYellow;DRAWTEXT((A20 = 1),L,'◇'),ALIGN1,colorWhite;【大智慧】凯恩斯线(涨幅、振幅)-指标公式效果图(文档来源:若水财经社区)。
【炒股必备】大智慧超级资金指标公式
大智慧超级资金指标公式{N(0,100,21)}散户套牢:(100 * (1 - WINNER(CLOSE))),colorFFFFFF,LINETHICK4;STICKLINE((CLOSE > 1),散户套牢,0,0.5,0),colorFFFFFF;KDCM:=(100 * WINNER(CLOSE));主力控盘:KDCM,STICK,colorAA0033,linethick4;STICKLINE((CLOSE > 1),KDCM,0,8,1),LINETHICK2,colorAA0033;STICKLINE((CLOSE > 1),KDCM,0,7,0),color330000;STICKLINE((CLOSE > 1),KDCM,0,6,0),color440011;STICKLINE((CLOSE > 1),KDCM,0,5,0),color550022;STICKLINE((CLOSE > 1),KDCM,0,4,0),color660033;STICKLINE((CLOSE > 1),KDCM,0,3,0),color770044;STICKLINE((CLOSE > 1),KDCM,0,2,0),color880055;STICKLINE((CLOSE > 1),KDCM,0,1,0),color990066;DDCM:=EMA((100 * WINNER(CLOSE)),13);STICKLINE(((CLOSE > 1) AND (DDCM < KDCM)),KDCM,DDCM,8,1),LINETHICK2,colorAA0033;STICKLINE(((CLOSE > 1) AND (DDCM < KDCM)),KDCM,DDCM,7,0),colorFF0000; STICKLINE(((CLOSE > 1) AND (DDCM < KDCM)),KDCM,DDCM,6,0),color11FF00; STICKLINE(((CLOSE > 1) AND (DDCM < KDCM)),KDCM,DDCM,5,0),color22FF00; STICKLINE(((CLOSE > 1) AND (DDCM < KDCM)),KDCM,DDCM,4,0),color33FF00; STICKLINE(((CLOSE > 1) AND (DDCM < KDCM)),KDCM,DDCM,3,0),color44FF00; STICKLINE(((CLOSE > 1) AND (DDCM < KDCM)),KDCM,DDCM,2,0),color55FF00; STICKLINE(((CLOSE > 1) AND (DDCM < KDCM)),KDCM,DDCM,1,0),color66FF00; DRAWICON((KDCM < 2),0,10);VAR1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;VAR2:=2*ABS(VAR1);底部资金: IF(VAR1<0,VAR2,0),COLOR00FFFF, LINESTICK;获利平均值:=MA(COST(99),5);获利99:=MA(COST(80),5);获利80:=MA(CLOSE,5);均线5日:=MA(COST(20),5);获利20:=MA(COST(1),5);获利1:=(((获利平均值- 获利99) / 获利99) * 100);A1:=(((获利99 - 均线5日) / 均线5日) * 100);A2:=(((均线5日- 获利20) / 获利20) * 100);AA3:=IF((A1 < 10),100,0);A4:=IF((A1 < 15),50,0);A5:=IF((A1 < 20),25,0);密集度:A1,color0000FF;高密集:AA3,color00CCFF;中密集:A4,color0000CC;低密集:A5,color00FFFF;A6:=HHV(KDCM,N);乖离:EMA(((100 + KDCM) - A6),3),colorFF00FF;成本乖离:(((CLOSE / COST(50)) - 1) * 100),colorFFFF00;。
大智慧】资金详细源码(当日资金流入、主力资金进出、控盘度)
大智慧】资金详细源码(当日资金流入、主力资金进出、控盘度)大智慧】资金详细源码(当日资金流入、主力资金进出、控盘度)-股票指标公式下载S1X:=10;S1Y:=15;HS:=vol/capital;DD:=BIGORDER(1,3)-BIGORDER(2,3);DT:=HS*DD*100;特大户 := (DT * capital) * DYNAINFO(11)/10000;DRAWMOVETEXT(1,'当日资金流入特大:'+NUMTOSTRN(特大户,0)+'万元'),colorred;DRAWTEXTABS(S1X,S1Y*1,'特大资金进出');DRAWTEXTABS(S1X,S1Y*2,'3日流入:'+NUMTOSTRN(sum (特大户,3),0)+'万元'),colorred;DRAWTEXTABS(S1X,S1Y*3,'5日流入:'+NUMTOSTRN(sum (特大户,5),0)+'万元'),colorred;DRAWTEXTABS(S1X,S1Y*4,'10日流入:'+NUMTOSTRN(sum (特大户,10),0)+'万元'),colorred;DRAWTEXTABS(S1X,S1Y*5,'20日流入:'+NUMTOSTRN(sum (特大户,20),0)+'万元'),colorred;DRAWTEXTABS(S1X,S1Y*6,'30日流入:'+NUMTOSTRN(sum (特大户,30),0)+'万元'),colorred;DRAWTEXTABS(S1X,S1Y*7,'60日流入:'+NUMTOSTRN(sum (特大户,60),0)+'万元'),colorred;HS1:=vol/capital;DD1:=(BIGORDER(1,2)-BIGORDER(2,2))-(BIGORDER(1,3)-BIGORDER(2,3));DT1:=HS1*DD1*100;大户 := (DT1 * capital) * DYNAINFO(11)/10000;s2x:=s1x+130;s2y:=15;DRAWMOVETEXT(1,'大户:'+NUMTOSTRN(大户,0)+'万元'),colorred;DRAWTEXTABS(s2X,S2Y*1,'大户资金进出');DRAWTEXTABS(S2X,S2Y*2,'3日流入:'+NUMTOSTRN(sum (大户,3),0)+'万元'),colorred;DRAWTEXTABS(S2X,S2Y*3,'5日流入:'+NUMTOSTRN(sum (大户,5),0)+'万元'),colorred;DRAWTEXTABS(S2X,S2Y*4,'10日流入:'+NUMTOSTRN(sum (大户,10),0)+'万元'),colorred;DRAWTEXTABS(S2X,S2Y*5,'20日流入:'+NUMTOSTRN(sum (大户,20),0)+'万元'),colorred;DRAWTEXTABS(S2X,S2Y*6,'30日流入:'+NUMTOSTRN(sum (大户,30),0)+'万元'),colorred;DRAWTEXTABS(S2X,S2Y*7,'60日流入:'+NUMTOSTRN(sum (大户,60),0)+'万元'),colorred;HS2:=vol/capital;dd2:=(BIGORDER(1,1)-BIGORDER(2,1))-(BIGORDER(1,2)-BIGORDER(2,2));DT2:=HS2*DD2*100;中户 := (DT2 * capital) * DYNAINFO(11)/10000;s3x:=s2x+130;s3y:=15;DRAWMOVETEXT(1,'中户:'+NUMTOSTRN(中户,0)+'万元'),colorgreen;DRAWTEXTABS(S3X,S3Y*1,'中户资金进出');DRAWTEXTABS(S3X,S3Y*2,'3日流入:'+NUMTOSTRN(sum (中户,3),0)+'万元'),colorgreen;(中户,5),0)+'万元'),colorgreen;DRAWTEXTABS(S3X,S3Y*4,'10日流入:'+NUMTOSTRN(sum (中户,10),0)+'万元'),colorgreen;DRAWTEXTABS(S3X,S3Y*5,'20日流入:'+NUMTOSTRN(sum (中户,20),0)+'万元'),colorgreen;DRAWTEXTABS(S3X,S3Y*6,'30日流入:'+NUMTOSTRN(sum (中户,30),0)+'万元'),colorgreen;DRAWTEXTABS(S3X,S3Y*7,'60日流入:'+NUMTOSTRN(sum (中户,60),0)+'万元'),colorgreen;HS3:=vol/capital;dd3:=-(BIGORDER(1,1)-BIGORDER(2,1));DT3:=HS3*DD3*100;散户 := (DT3 * capital) * DYNAINFO(11)/10000;s4x:=s3x+130;s4y:=15;DRAWMOVETEXT(1,'散户:'+NUMTOSTRN(散户,0)+'万元'),colorgreen;DRAWTEXTABS(S4X,S4Y*1,'散户资金进出');DRAWTEXTABS(S4X,S4Y*2,'3日流入:'+NUMTOSTRN(sum (散户,3),0)+'万元'),colorgreen;DRAWTEXTABS(S4X,S4Y*3,'5日流入:'+NUMTOSTRN(sum (散户,5),0)+'万元'),colorgreen;DRAWTEXTABS(S4X,S4Y*4,'10日流入:'+NUMTOSTRN(sum (散户,10),0)+'万元'),colorgreen;DRAWTEXTABS(S4X,S4Y*5,'20日流入:'+NUMTOSTRN(sum (散户,20),0)+'万元'),colorgreen;DRAWTEXTABS(S4X,S4Y*6,'30日流入:'+NUMTOSTRN(sum (散户,30),0)+'万元'),colorgreen;(散户,60),0)+'万元'),colorgreen;HS4:=vol/capital;dd4:=BIGORDER(1,2)-BIGORDER(2,2);DT4:=HS4*DD4*100;主力 := (DT4 * capital) * DYNAINFO(11)/10000;主力买入手数 := (capital*DT4);s5x:=s4x+130;s5y:=15;DRAWMOVETEXT(1,'主力:'+NUMTOSTRN(主力,0)+'万元'+ ' 占流通盘:'+主力买入手数/CAPITAL+'%'+' 占成交量:'+主力买入手数/vol+'%'),colorred;DRAWTEXTABS(S5X,S5Y*1,'主力资金进出 (特大户+大户)');DRAWTEXTABS(S5X,S5Y*2,'3日流入:'+NUMTOSTRN(sum (主力,3),0)+'万元' + ' 占流通盘:'+sum(主力买入手数,3)/CAPITAL+'%'+' 占成交量:'+sum(主力买入手数,3)/sum(vol,3)+'%'),colorred;DRAWTEXTABS(S5X,S5Y*3,'5日流入:'+NUMTOSTRN(sum (主力,5),0)+'万元'+ ' 占流通盘:'+sum(主力买入手数,5)/CAPITAL+'%'+' 占成交量:'+sum(主力买入手数,5)/sum(vol,5)+'%'),colorred;DRAWTEXTABS(S5X,S5Y*4,'10日流入:'+NUMTOSTRN(sum (主力,10),0)+'万元'+ ' 占流通盘:'+sum(主力买入手数,10)/CAPITAL+'%'+' 占成交量:'+sum(主力买入手数,10)/sum(vol,10)+'%'),colorred;DRAWTEXTABS(S5X,S5Y*5,'20日流入:'+NUMTOSTRN(sum (主力,20),0)+'万元'+ ' 占流通盘:'+sum(主力买入手数,20)/CAPITAL+'%'+' 占成交量:'+sum(主力买入手数,20)/sum(vol,20)+'%'),colorred;DRAWTEXTABS(S5X,S5Y*6,'30日流入:'+NUMTOSTRN(sum(主力,30),0)+'万元'+ ' 占流通盘:'+sum(主力买入手数,30)/CAPITAL+'%'+' 占成交量:'+sum(主力买入手数,30)/sum(vol,30)+'%'),colorred;DRAWTEXTABS(S5X,S5Y*7,'60日流入:'+NUMTOSTRN(sum (主力,60),0)+'万元'+ ' 占流通盘:'+sum(主力买入手数,60)/CAPITAL+'%'+' 占成交量:'+sum(主力买入手数,60)/sum(vol,60)+'%'),colorred;。
【大智慧】被认加了密的自用分笔指标源码
【大智慧】被认加了密的自用分笔指标源码
被认加了密的自用分笔指标源码
来自:理想论坛()
作者:林生qiling
浏览:27182源码【指标源码】
实盘
当年学习复盘写的指标,被人加密,给使用者带来困扰,现把源码发出来。
SUMV:= sum(v,0);
竞价量:ref(SUMV,BARSLAST(TIME<093000));
开盘一分钟量:ref(SUMV,BARSLAST(TIME=093000));
开盘第一笔主买:ref(v,BARSSINCE(time>=093000));
竞价换手:竞价量/capital * 100;
竞价主买占比: 竞价主买/竞价量* 100;
开盘主买占比: 开盘一分主买/开盘一分钟量* 100;
开盘换手:开盘一分钟量/capital * 100;实盘中竞价就不要用这些,当然实盘还有更精彩的使用,很奇妙,大家去悟!。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
【大智慧】神秘买卖(每股公积金、振幅、主力线、中户线)-指标公式源码
DRAWTEXTREL(200,180,'金叉买入.死叉卖出'),LINETHICK4,Coloryellow; DRAWTEXTREL(10,10,'总股本:'+NUMTOSTRN(FINANCE2(35),0)+'流通A
股:'+NUMTOSTRN(FINANCE2(37),0)+'每股收益:'+NUMTOSTRN(FINANCE2(3),3)+'元'+'每股公积金:'+NUMTOSTRN(FINANCE2(7),2)+'元'+'
昨:'+NUMTOSTRN(DYNAINFO(3),2)+'开:'+NUMTOSTRN(DYNAINFO(4),2)+'
高:'+NUMTOSTRN(DYNAINFO(5),2)+'低:'+NUMTOSTRN(DYNAINFO(6),2)+'
收:'+NUMTOSTRN(DYNAINFO(7),2)+'涨
幅:'+NUMTOSTRN((DYNAINFO(14)*100),2)+'%'+'振
幅:'+NUMTOSTRN((DYNAINFO(13)*100),2)+'%'+'换手
率:'+NUMTOSTRN((DYNAINFO(37)*100),2)+'%'),Color3300FF,LINETHICK2; DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));
主力线:ema(c,3),colorred,linethick2;
中户线:ema(c,5),colorwhite,linethick2;
散户线:ema(中户线,5),color00ff00,linethick2;
Var1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
Var2:=REF(Var1,1);
Var3:=SMA((close-Var2),6,1)/SMA(ABS(close-Var2),6,1)*100;
Var4:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
Var5:=EMA(0.667*REF(Var4,1)+0.333*Var4,5);
Var6:=IF(VOL>=1.3*MA(VOL,5) AND COUNT(Var4>=Var5 and Var4<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0);
Var7:=SMA(MAX(CLOSE-ref(c,1),0),6,1)/SMA(ABS(CLOSE-ref(c,1)),6,1)*100 ;
Var8:=SMA(MAX(Var1-Var2,0),10,1)/SMA(ABS(Var1-Var2),10,1)*100;
Var9:=IF(COUNT(Var8<20,5)>=1 AND COUNT(Var1=LLV(Var1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
DRAWICON(FILTER(ref(Var3,1)>81 and Var3<80 OR
CROSS(82,Var7),5),high,2);
DRAWTEXT(FILTER(ref(Var3,1)>81 and Var3<80 OR CROSS(82,Var7),5),high,'快卖'),coloryellow;
DRAWTEXT(FILTER(Var9 OR Var6,5),low,'买进'),colorred;
DRAWICON(FILTER(CROSS(主力线,中户线)and 散户线>=ref(散户线,1)and
Var3<50,5),主力线,1);
【大智慧】神秘买卖(每股公积金、振幅、主力线、中户线)-指标公式效果图
(文档来源:若水财经社区)。