风中铃 发表于 2010-10-17 11:45

史上最牛的做T+0的分时指标(公式源码)

雪山牦牛 发表于 2010-10-17 11:55

学习!!!!!!!!!!!!!

鲁霜 发表于 2010-10-17 13:04

二一日换手:=SUM(换手,21);
二二换手:=SUM(换手,22);
二三换手:=SUM(换手,23);
二四换手:=SUM(换手,24);

二五换手:=SUM(换手,25);
二六换手:=SUM(换手,26);
二七换手:=SUM(换手,27);
二八换手:=SUM(换手,28);
二九换手:=SUM(换手,29);
三十换手:=SUM(换手,30);
三一换手:=SUM(换手,31);
三二换手:=SUM(换手,32);
六十换手:=SUM(换手,60);
七十换手:=SUM(换手,70);
八十换手:=SUM(换手,80);
九十换手:=SUM(换手,90);
一百换手:=SUM(换手,100);
一百一换手:=SUM(换手,110);
一百二换手:=SUM(换手,120);
二百四换手:=SUM(换手,240);
三百换手:=SUM(换手,240);






二一日换手:=SUM(换手,21);
二二换手:=SUM(换手,22);
二三换手:=SUM(换手,23);
二四换手:=SUM(换手,24);

二五换手:=SUM(换手,25);
二六换手:=SUM(换手,26);
二七换手:=SUM(换手,27);
二八换手:=SUM(换手,28);
二九换手:=SUM(换手,29);
三十换手:=SUM(换手,30);
三一换手:=SUM(换手,31);
三二换手:=SUM(换手,32);
六十换手:=SUM(换手,60);
七十换手:=SUM(换手,70);
八十换手:=SUM(换手,80);
九十换手:=SUM(换手,90);
一百换手:=SUM(换手,100);
一百一换手:=SUM(换手,110);
一百二换手:=SUM(换手,120);
二百四换手:=SUM(换手,240);
三百换手:=SUM(换手,240);









二一日换手:=SUM(换手,21);
二二换手:=SUM(换手,22);
二三换手:=SUM(换手,23);
二四换手:=SUM(换手,24);

二五换手:=SUM(换手,25);
二六换手:=SUM(换手,26);
二七换手:=SUM(换手,27);
二八换手:=SUM(换手,28);
二九换手:=SUM(换手,29);
三十换手:=SUM(换手,30);
三一换手:=SUM(换手,31);
三二换手:=SUM(换手,32);
六十换手:=SUM(换手,60);
七十换手:=SUM(换手,70);
八十换手:=SUM(换手,80);
九十换手:=SUM(换手,90);
一百换手:=SUM(换手,100);
一百一换手:=SUM(换手,110);
一百二换手:=SUM(换手,120);
二百四换手:=SUM(换手,240);
三百换手:=SUM(换手,240);






二一日换手:=SUM(换手,21);
二二换手:=SUM(换手,22);
二三换手:=SUM(换手,23);
二四换手:=SUM(换手,24);

二五换手:=SUM(换手,25);
二六换手:=SUM(换手,26);
二七换手:=SUM(换手,27);
二八换手:=SUM(换手,28);
二九换手:=SUM(换手,29);
三十换手:=SUM(换手,30);
三一换手:=SUM(换手,31);
三二换手:=SUM(换手,32);
六十换手:=SUM(换手,60);
七十换手:=SUM(换手,70);
八十换手:=SUM(换手,80);
九十换手:=SUM(换手,90);
一百换手:=SUM(换手,100);
一百一换手:=SUM(换手,110);
一百二换手:=SUM(换手,120);
二百四换手:=SUM(换手,240);
三百换手:=SUM(换手,240);





二一日换手:=SUM(换手,21);
二二换手:=SUM(换手,22);
二三换手:=SUM(换手,23);
二四换手:=SUM(换手,24);

二五换手:=SUM(换手,25);
二六换手:=SUM(换手,26);
二七换手:=SUM(换手,27);
二八换手:=SUM(换手,28);
二九换手:=SUM(换手,29);
三十换手:=SUM(换手,30);
三一换手:=SUM(换手,31);
三二换手:=SUM(换手,32);
六十换手:=SUM(换手,60);
七十换手:=SUM(换手,70);
八十换手:=SUM(换手,80);
九十换手:=SUM(换手,90);
一百换手:=SUM(换手,100);
一百一换手:=SUM(换手,110);
一百二换手:=SUM(换手,120);
二百四换手:=SUM(换手,240);
三百换手:=SUM(换手,240);

鲁霜 发表于 2010-10-17 13:07

二一日换手:=SUM(换手,21);
二二换手:=SUM(换手,22);
二三换手:=SUM(换手,23);
二四换手:=SUM(换手,24);

二五换手:=SUM(换手,25);
二六换手:=SUM(换手,26);
二七换手:=SUM(换手,27);
二八换手:=SUM(换手,28);
二九换手:=SUM(换手,29);
三十换手:=SUM(换手,30);
三一换手:=SUM(换手,31);
三二换手:=SUM(换手,32);
六十换手:=SUM(换手,60);
七十换手:=SUM(换手,70);
八十换手:=SUM(换手,80);
九十换手:=SUM(换手,90);
一百换手:=SUM(换手,100);
一百一换手:=SUM(换手,110);
一百二换手:=SUM(换手,120);
二百四换手:=SUM(换手,240);
三百换手:=SUM(换手,240);

纯白星星 发表于 2010-10-17 13:37

VAR22:=REF(LOW,1);
VAR23:=((SMA(ABS((LOW - VAR22)),3,1) / SMA(MAX((LOW - VAR22),0),3,1)) * 100);
VAR24:=EMA(IF((CLOSE * 1.2),(VAR23 * 10),(VAR23 / 10)),3);
VAR25:=LLV(LOW,38);
VAR26:=HHV(VAR24,38);
VAR27:=IF(LLV(LOW,90),1,0);
VAR28:=((EMA(IF((LOW <= VAR25),((VAR24 + (VAR26 * 2)) / 2),0),3) / 618) * VAR27);
主力秘密筹码:STICKLINE(VAR28,0,VAR28,6,1),COLORRED;
动态底部:EMA(IF(L<= LLV(L,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(L,1),0),30,1),0),3)*10,STICK,COLORYELLOW,LINETHICK2;



VAR1:=1;
VAR3:=MA(CLOSE,13);
VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);
VAR5:=LLV(LOW,75);
VAR6:=HHV(HIGH,75);
VAR7:=(VAR6-VAR5)/100;
VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);
VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);
VARA:=3*VAR8-2*SMA(VAR8,15,1);
VARB:=3*VAR9-2*SMA(VAR9,15,1);
VARC:=100-VARB;
主力筹码趋向: (100-VARA)*VAR1,COLOR0099FF;
VARD:=主力筹码趋向>VAR4;
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR11:=EMA(VARF,30);
VAR12:=CLOSE-REF(CLOSE,1);
VAR13:=MAX(VAR12,0);
VAR14:=ABS(VAR12);
VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
VAR17:=BARSCOUNT(CLOSE);
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50;
STICKLINE(VARD,VAR4,主力筹码趋向,1,0),COLOR0099FF;
STICKLINE(VAR20,0,80,1,0),COLORRED,LINETHICK3 ;





















Q_1:=C-REF(C,1);
Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Z1:=L=LLV(L,BARSLAST(Q_3)+1);
Z2:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0);
Y1:=H=HHV(H,BARSLAST(Q_4)+1);
Y2:=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
Y4:=LLV(L,BARSLAST(Q_3)+1);
Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0);
X1:=LLV(Q_2,2)=LLV(Q_2,7) ;
X2:=COUNT(Q_2<0,2);
X3:=CROSS(Q_2,MA(Q_2,2));
X4:=REF(Q_B,1)<REF(Q_B,2);
X51:=Q_A>REF(Q_B,1);
买进:=(X1 AND X2 AND X3) AND X4 AND X51;
TJ:=IF(Q_B<REF(Q_B,1) Q_B="Q_A,1,0);
XXGREF(TJ,1)=0 AND TJ>=1)*100;
XG:=Q_B<REF(Q_B,1) Q_B="Q_A;








X5:=EXPMA(CLOSE,3);
X10:=EXPMA(CLOSE,7);
X20:=EXPMA(CLOSE,20);
五日斜率:=(X5-REF(X5,1))*100/REF(X5,1),LINETHICK2,COLORYELLOW;
十日斜率:=(X10-REF(X10,1))*100/REF(X10,1),LINETHICK2,COLORBLUE;
二十斜率:=(X20-REF(X20,1))*100/REF(X20,1),LINETHICK2,COLORWHITE;
XX5:=XMA(五日斜率,5),LINETHICK2,COLORYELLOW;
XX10:=XMA(十日斜率,7),LINETHICK2,COLORBLUE;
XX200:=XMA(二十斜率,20);
AA1:=XX200>=0.7 AND REF(XX200,1) XX10 AND XX10>XX200
AND REF(XX5,2)<REF(XX10,2) AND ;
XX202:=XMA(二十斜率,22);
AA2:=XX202>=0.7 AND REF(XX200,1) XX10 AND XX10>XX202
AND REF(XX5,2)<REF(XX10,2) AND ;
XX204:=XMA(二十斜率,24);
AA3:=XX204>=0.7 AND REF(XX200,1) XX10 AND XX10>XX204
AND REF(XX5,2)<REF(XX10,2) AND ;
XX206:=XMA(二十斜率,26);
AA4:=XX206>=0.7 AND REF(XX200,1) XX10 AND XX10>XX206
AND REF(XX5,2)<REF(XX10,2) AND ;
XX207:=XMA(二十斜率,20);
AA7:=XX207>=0.7 AND REF(XX207,1)<XX207 AND
AND CROSS(REF(XX5,1),REF(XX207,1));
XX2071:=XMA(二十斜率,23);
AA71:=XX2071>=0.7 AND REF(XX2071,1)<XX2071 AND
AND CROSS(REF(XX5,1),REF(XX2071,1));
XX2072:=XMA(二十斜率,26);
AA72:=XX2072>=0.7 AND REF(XX2072,1)<XX2072 AND
AND CROSS(REF(XX5,1),REF(XX2072,1));
XX208:=XMA(二十斜率,20);
AA8:=XX208>=0.7 AND REF(XX208,1)<XX208 AND
AND CROSS(XX5,XX208);
XX2081:=XMA(二十斜率,23);
AA81:=XX2081>=0.7 AND REF(XX2081,1)<XX2081 AND
AND CROSS(XX5,XX2081);
XX2082:=XMA(二十斜率,26);
AA82:=XX2082>=0.7 AND REF(XX2082,1)<XX2082 AND
AND CROSS(XX5,XX2082);
AA?CCJ: IF((AA1 OR AA2 OR AA3 OR AA4 OR AA7 OR AA71 OR AA72 OR AA8 OR AA81
OR AA82)=1,100,0),STICK,COLORMAGENTA,LINETHICK2;
DRAWTEXT(AA1=1,10,'★AA1'),COLORRED;
DRAWTEXT(AA2=1,15,'★AA2'),COLORRED;
DRAWTEXT(AA3=1,20,'★AA3'),COLORRED;
DRAWTEXT(AA4=1,25,'★AA4'),COLORRED;
DRAWTEXT(AA7=1,30,'★AA7'),COLORRED;
DRAWTEXT(AA71=1,35,'★AA71'),COLORRED;
DRAWTEXT(AA72=1,40,'★AA72'),COLORRED;
DRAWTEXT(AA8=1,45,'★AA8'),COLORRED;
DRAWTEXT(AA81=1,50,'★AA81'),COLORRED;
DRAWTEXT(AA82=1,55,'★AA82'),COLORRED;

现价:=CONST(DYNAINFO(7)),POINTDOT;
M5:=CONST(MA(C,5)),,LINETHICK;
M10:=CONST(MA(C,10)),COLORYELLOW,,LINETHICK;
M20:=CONST(MA(C,20)),COLORMAGENTA,,LINETHICK;
M60:=CONST(MA(C,60)),,COLORFFFF00,LINETHICK;
M120:=CONST(MA(C,120)),,COLORWHITE,LINETHICK;
M250:=CONST(EMA(C,250)),,COLOR0099FF,LINETHICK;
STICKLINE(M120 AND CURRBARSCOUNT=8,M5+0.5,M250,20,1),COLORWHITE;
STICKLINE(M120 AND CURRBARSCOUNT=8,现价,M250,5,0),COLORRED;
STICKLINE(M250 AND CURRBARSCOUNT=8,M250,M250,18,0)COLORRED;
STICKLINE(M120 AND CURRBARSCOUNT=8,M120,M120,18,0),COLORWHITE;
STICKLINE(M60 AND CURRBARSCOUNT=8,M60,M60,18,0),COLORFFFF00;
STICKLINE(M20 AND CURRBARSCOUNT=8,M20,M20,10,0),COLORMAGENTA;
STICKLINE(M10 AND CURRBARSCOUNT=8,M10,M10,10,0),COLORYELLOW;
STICKLINE(M5 AND CURRBARSCOUNT=8,M5,M5,10,0),COLORGREEN;
STICKLINE(现价 AND CURRBARSCOUNT=8,现价,现价,24,0),COLORBROWN;
DRAWTEXT(CURRBARSCOUNT=5,M5,' M5'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=5,M10,' M10'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=5,M20,' M20 '),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=5,M60,' M60 '),COLORFFFF00;
DRAWTEXT(CURRBARSCOUNT=5,M120,' M120 '),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=5,M250,' M250 '),COLORRED;
DRAWTEXT(CURRBARSCOUNT=5,现价,' 现价 '),COLORBROWN;


VAR1M:="DMI.PDI"(12,6);
VAR2M:="DMI.MDI"(12,6);
VAR3M:=VAR1M>65 AND VAR1M>REF(VAR1M,1);
VAR4M:=LLV(VAR1M,0);
VAR5M:=BARSLAST(VAR4M=VAR1M);
VAR6M:=(0-REF(VAR2M,4))/(VAR4M-REF(VAR2M,VAR5M))>2;
VAR7M:=VAR1M>REF(VAR1M,1);
VAR8M:=VOL>2*MA(VOL,30);
VAR9M:="DMI.ADX"(12,6);
VARAM:="DMI.ADXR"(12,6);
VARBM:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;
VARCM:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
VARDM:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
VAREM:=0-"MACD.DIF"(7,21,3);
VARFM:=TROUGHBARS(3,15,1)<4;
VAR10M:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
VAR11M:=IF(VARFM=1,50,0);
VAR12M:=CROSS(VAR2M,VAR1M) AND CROSS(VARAM,VAR9M);
VAR13M:=CROSS(VAR2M,VAR1M) AND CROSS(VAR9M,VARAM);
VAR14M:=VARBM AND VARCM AND VARDM AND VAR10M AND VAR6M AND VAR7M AND VAR8M*50;
VAR15M:=BARSLAST(CROSS(VAR2M,VAR1M)=1);
VAR16M:=BARSLAST(CROSS(VAR1M,VAR2M)=1);
VAR17M:=HHV(VAR1M,VAR16M);
VAR18M:=BARSLAST(VAR1M=VAR17M);
多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
0,COLORRED;
STICKLINE(FILTER(VARFM=1,5) AND 多空<-10,100,0,15,0),COLORF00FF0;
STICKLINE(FILTER(VARFM=1,5),100,0,8,0),COLORYELLOW;
VAR19M:=VAR3M OR VAR12M OR VAR13M*100;
VAR1AM:=VAR13M*100;
DRAWTEXT(FILTER(VARFM=1,3),25,'会员★之星'),COLORRED ;

STICKLINE(多空<-10,0,多空,0.85,0),COLORYELLOW;
STICKLINE(多空>10,0,多空,0.95,0),COLORRED;

股道圆圆 发表于 2010-10-17 14:25

ddddddddddddddddddd

老兵新传 发表于 2010-10-17 15:19

学习、、、、、

黄大帅 发表于 2010-10-17 15:53

好好学习,天天向上!
:lol

金来 发表于 2010-10-17 23:57

那个贴可能会出现表情,这个没有,大家可以用这个公式

炒股要平常心 发表于 2010-10-24 08:46

谢谢楼主分享

寻找涨停 发表于 2010-10-24 08:52

回复 1# 淡定从容


    本帖隐藏的内容需要回复才可以浏览

好好女士 发表于 2010-10-24 09:36

史上最牛的做T+0的分时指标(公式源码)

董悦志 发表于 2010-10-24 10:07

ddddddddddddddddd

股林历练 发表于 2010-10-24 17:33

谢谢楼主分享

潘顺发 发表于 2010-10-24 17:54

回复 1# 淡定从容

分时指标好好
页: 30 31 32 33 34 35 36 37 38 39 [40] 41 42 43 44 45 46 47 48 49
查看完整版本: 史上最牛的做T+0的分时指标(公式源码)