金牛出现 哼哼哈嘿
本帖最后由 燎原之火火 于 2017-12-15 16:07 编辑老样子 废话不多说 上图
代码:DI:=EMA(CLOSE,5)-EMA(CLOSE,10);
DE:=EMA(DI,5);
MACD:=(DI-DE)*400,COLORSTICK;
VL:=REF(L,1);
VH:=REF(H,1);
VAR1:=SMA(ABS(H-VH),13,1)/SMA(MAX(H-VH,0),13,1)*100;
VAR2:=SMA(ABS(L-VL),13,1)/SMA(MAX(L-VL,0),13,1)*100;
VAR3:=MA(VAR1,13);
VAR4:=MA(VAR2,13);
VAR5:=LLV(L,34);
VAR6:=HHV(H,34);
VAR7:=EMA(IF(H>=VAR6,VAR3,0),3);
VAR8:=EMA(IF(L<=VAR5,VAR4,0),3);
VAR9:=(SMA(SMA((((C-LLV(L,54))/(HHV(H,54)-LLV(L,54)))*100),7,1),5,1));
VAR10:=((SMA(((C-LLV(L,54))/(HHV(H,54)-LLV(L,54))*100),7,1))*16.18)-(VAR9*10.9);
VAR11:=FILTER(IF(VAR10<=VAR9 AND VAR8>REF(VAR8,1),VAR8*8,0),55);
VAR21:=LLV(L,60);
VAR31:=HHV(H,60);
VAR41:=EMA((C-VAR21)/(VAR31-VAR21)*100,13);
VAR51:=EMA(0.667*REF(VAR41,1)+0.333*VAR41,21);
VARL2:=FILTER(CROSS(VAR51,VAR41) AND VAR41>84,13);
持股线:=MA(C,20);
持股:IF(MA(C,5)>持股线,持股线,DRAWNULL),COLOR00FF00,LINETHICK2;
上升:IF(MA(C,5)>持股线,持股线*1.04,DRAWNULL),COLOR00FF00,LINETHICK2,CROSSDOT;
持币:IF(MA(C,5)<持股线,持股线,DRAWNULL),COLOR3366CC,LINETHICK2;
QJJ:FILTER((CROSS(DI,DE) AND DE<0 AND CROSS(C,持股线)),90),NODRAW;
DRAWICON(HHV(VAR11,5)=1 AND (C=LLV(C,10) OR L=LLV(L,10)) AND C>REF(C,1)*0.905,
C*0.98,5);
DRAWICON(QJJ,H*1.05,1);
金牛:IF(QJJ=QJJ,0,0),COLOR0099FF;
DRAWICON(VARL2,H*1.03,2);
STICKLINE(QJJ,MA(C,20)*0.7,MA(C,20)*0.9,12,0),COLOR0099FF;
STICKLINE(QJJ,MA(C,20)*0.7,MA(C,20)*0.6,18,0),COLOR0099FF;
STICKLINE(QJJ,MA(C,20)*0.9,MA(C,20)*0.8,12,0),COLOR0099FF;
STICKLINE(QJJ,MA(C,20)*0.9,MA(C,20)*0.7,8,0),COLOR000000;
STICKLINE(QJJ,MA(C,20)*0.6,MA(C,20)*0.4,10,0),COLOR0099FF;
STICKLINE(QJJ,MA(C,20)*0.25,MA(C,20)*0.4,7,0),COLOR0099FF;
:
给:=EMA(C,2),COLORRED;
力:=EMA(SLOPE(C,9)*20+C,37);
买11:=CROSS(给,力);
卖11:=CROSS(力,给);
DRAWICON(买11,L*0.97,1);
DRAWTEXT(买11,L*0.95,'进攻'),COLORYELLOW;
AA17:=EMA(C,14)COLORWHITE,LINETHICK1;
A17X:=(AA17-REF(AA17,1))/REF(AA17,1)*100,NODRAW;
参考线试买:IF(A17X>=0,REF(EMA(C,14),BARSLAST(CROSS(A17X,0))+1),DRAWNULL)COLORGREEN,LINETHICK2;
DRAWTEXT(筹码集中买入,L*0.96,'↖↖--↖筹码集中买入'),COLORGREEN;
DRAWTEXT(参考线试买,L*0.96,'↖↖↖↖---------------参考线试买------'),COLORGREEN,LINETHICK4;
总额:=AMOUNT;
买:=IF(O=C AND (C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L)*2-ABS(O-C))*(C-L));
买%:=买/AMOUNT*100;
流入:=AMOUNT*买%/10000000000;
流出:=AMOUNT/100000000-流入;
净流:=(流入-流出);
总额3:=SUM(AMOUNT,3);
流入3:=SUM(流入,3);
流出3:=SUM(流出,3);
净流3:=SUM(流入-流出,3);
总额5:=SUM(AMOUNT,5);
流入5:=SUM(流入,5);
流出5:=SUM(流出,5);
净流5:=SUM(流入-流出,5);
总额10:=SUM(AMOUNT,10);
流入10:=SUM(流入,10);
流出10:=SUM(流出,10);
净流10:=SUM(流入-流出,10);
画:=CONST(FINDHIGH(总额10,0,190,1));
DRAWTEXT_FIX(1,0.71,0.07,0,'净流(亿):'),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.78,0.05,0,'1日'),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.83,0.05,0,'3日'),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.88,0.05,0,'5日'),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.93,0.05,0,'10日'),COLORMAGENTA,LINETHICK1;
DRAWNUMBER_FIX(1,0.78,0.10,0,CONST((净流))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.83,0.10,0,CONST((净流3))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.88,0.10,0,CONST((净流5))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.93,0.10,0,CONST((净流10))),COLORYELLOW;
E:=(H+L+O+2*C)/5;
CRTP:=E+(H-L);
CRZL:=2*E-L;
CRZC:=2*E-H;
CRFZ:=E-(H-L);
CRXL:=(E+CRTP+CRZL+CRZC+CRFZ)/5;
高:=CONST(CRTP),COLORRED;
阻:=CONST(CRZL),COLORC7C9FF;
支:=CONST(CRZC),COLOR7C9CFF;
反:=CONST(CRFZ),COLORDD00DD;
心理:=CONST(CRXL);
高压RAWLINE(S>1&&CURRBARSCOUNT=5+1,高,ISLASTBAR,高,1),COLOR0000FF;
阻力RAWLINE(S>1&&CURRBARSCOUNT=5+1,阻,ISLASTBAR,阻,1),COLOR0099FF;
支撑1RAWLINE(S>1&&CURRBARSCOUNT=5+1,支,ISLASTBAR,支,1),COLORGREEN;
反转价RAWLINE(S>1&&CURRBARSCOUNT=5+1,反,ISLASTBAR,反,1),COLORDD00DD;
次日心理价RAWLINE(S>1&&CURRBARSCOUNT=5+1,心理,ISLASTBAR,心理,1),COLORFFFFFF;
DRAWTEXT(ISLASTBAR,反,' 反 转少量买'),LINETHICK1,COLORDD00DD;
DRAWTEXT(ISLASTBAR,支,' 支 撑1'),LINETHICK1,COLOR00FF00;
DRAWTEXT(ISLASTBAR,阻,' 阻 力'),LINETHICK1,COLOR0099FF;
DRAWTEXT(ISLASTBAR,高,' 高 压'),LINETHICK1,COLOR0000FF;
DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIF,9);
AAA:=(DIF-DEA)*2*60;
启动:=CROSS(AAA-REF(AAA,1),15),COLORRED,LINETHICK2;
DRAWTEXT(启动,L*0.99,'↖金牛启动'),COLORGREEN,LINETHICK2;
ZT:=REF(C,1)*1.1-C<0.01 AND H=C;{涨停}
高位:=COST(99.9),COLORBROWN,NODRAW;
主力底仓:COST(1),COLORWHITE,LINETHICK2,NODRAW;
上突破:=高位>REF(高位,1) AND REF(高位,1)<=REF(高位,2);
下突破:=高位<=REF(高位,1) AND REF(高位,1)>REF(高位,2);
高点RAWLINE(上突破,REF(高位,1),REF(上突破,1),REF(REF(高位,1),1),1)COLORRED, LINETHICK2;
前高RAWLINE(下突破,高位,REF(下突破,1),REF(高位,1),1)COLORWHITE, LINETHICK2;
龙头启动:=CROSS(C,高点) OR CROSS(C,前高) AND ZT;
突破:=CROSS(C,前高);
DRAWTEXT(龙头启动,L,'↖龙头启动'),COLORGREEN;
回复 使用道具 评分 举报
东升123
明灯博士
Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18
威望8215 学分20122 预报涨停0 支
发消息
推荐
发表于 2017-10-18 20:26 | 只看该作者
MA30:=EMA(C,30);
MA800:EMA(C,800),COLORBROWN;
STICKLINE(MA30>MA800,MA30,MA800,1,0),COLORRED;
STICKLINE(MA30<MA800,MA30,MA800,1,0)COLORGREEN;
均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;
CC:C,COLORWHITE;
HH:=MAX(DYNAINFO(3),DYNAINFO(5));
LL:=MIN(DYNAINFO(3),DYNAINFO(6));
B:=HH-LL;
GG:=B*0.5/8+LL;
YY:=B*7/8+LL;
BB:=CROSS(GG,C);
SS:=CROSS(C,YY);
STICKLINE(BB,GG,GG*1.03,1,0),COLORRED;
STICKLINE(BB,GG,GG*1.02,1,0),COLORMAGENTA;
STICKLINE(BB,GG,GG*1.01,1,0),COLORYELLOW;
DRAWTEXT(BB,GG,'买★B'),COLORYELLOW;
DRAWTEXT(SS,YY,'卖★S')COLORMAGENTA; 给:=EMA(C,2),COLORRED;
力:=EMA(SLOPE(C,9)*20+C,37);
买11:=CROSS(给,力);
卖11:=CROSS(力,给);
DRAWICON(买11,L*0.97,1);
DRAWTEXT(买11,L*0.95,'进攻'),COLORYELLOW;
AA17:=EMA(C,14)COLORWHITE,LINETHICK1;
A17X:=(AA17-REF(AA17,1))/REF(AA17,1)*100,NODRAW;
参考线试买:IF(A17X>=0,REF(EMA(C,14),BARSLAST(CROSS(A17X,0))+1),DRAWNULL)COLORGREEN,LINETHICK2;
DRAWTEXT(筹码集中买入,L*0.96,'↖↖--↖筹码集中买入'),COLORGREEN;
DRAWTEXT(参考线试买,L*0.96,'↖↖↖↖---------------参考线试买------'),COLORGREEN,LINETHICK4;
总额:=AMOUNT;
买:=IF(O=C AND (C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L)*2-ABS(O-C))*(C-L));
买%:=买/AMOUNT*100;
流入:=AMOUNT*买%/10000000000;
流出:=AMOUNT/100000000-流入;
净流:=(流入-流出);
总额3:=SUM(AMOUNT,3);
流入3:=SUM(流入,3);
流出3:=SUM(流出,3);
净流3:=SUM(流入-流出,3);
总额5:=SUM(AMOUNT,5);
流入5:=SUM(流入,5);
流出5:=SUM(流出,5);
净流5:=SUM(流入-流出,5);
总额10:=SUM(AMOUNT,10);
流入10:=SUM(流入,10);
流出10:=SUM(流出,10);
净流10:=SUM(流入-流出,10);
画:=CONST(FINDHIGH(总额10,0,190,1));
DRAWTEXT_FIX(1,0.71,0.07,0,'净流(亿):'),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.78,0.05,0,'1日'),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.83,0.05,0,'3日'),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.88,0.05,0,'5日'),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.93,0.05,0,'10日'),COLORMAGENTA,LINETHICK1;
DRAWNUMBER_FIX(1,0.78,0.10,0,CONST((净流))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.83,0.10,0,CONST((净流3))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.88,0.10,0,CONST((净流5))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.93,0.10,0,CONST((净流10))),COLORYELLOW;
E:=(H+L+O+2*C)/5;
CRTP:=E+(H-L);
CRZL:=2*E-L;
CRZC:=2*E-H;
CRFZ:=E-(H-L);
CRXL:=(E+CRTP+CRZL+CRZC+CRFZ)/5;
高:=CONST(CRTP),COLORRED;
阻:=CONST(CRZL),COLORC7C9FF;
支:=CONST(CRZC),COLOR7C9CFF;
反:=CONST(CRFZ),COLORDD00DD;
心理:=CONST(CRXL);
高压RAWLINE(S>1&&CURRBARSCOUNT=5+1,高,ISLASTBAR,高,1),COLOR0000FF;
阻力RAWLINE(S>1&&CURRBARSCOUNT=5+1,阻,ISLASTBAR,阻,1),COLOR0099FF;
支撑1RAWLINE(S>1&&CURRBARSCOUNT=5+1,支,ISLASTBAR,支,1),COLORGREEN;
反转价RAWLINE(S>1&&CURRBARSCOUNT=5+1,反,ISLASTBAR,反,1),COLORDD00DD;
次日心理价RAWLINE(S>1&&CURRBARSCOUNT=5+1,心理,ISLASTBAR,心理,1),COLORFFFFFF;
DRAWTEXT(ISLASTBAR,反,' 反 转少量买'),LINETHICK1,COLORDD00DD;
DRAWTEXT(ISLASTBAR,支,' 支 撑1'),LINETHICK1,COLOR00FF00;
DRAWTEXT(ISLASTBAR,阻,' 阻 力'),LINETHICK1,COLOR0099FF;
DRAWTEXT(ISLASTBAR,高,' 高 压'),LINETHICK1,COLOR0000FF;
DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIF,9);
AAA:=(DIF-DEA)*2*60;
启动:=CROSS(AAA-REF(AAA,1),15),COLORRED,LINETHICK2;
DRAWTEXT(启动,L*0.99,'↖金牛启动'),COLORGREEN,LINETHICK2;
ZT:=REF(C,1)*1.1-C<0.01 AND H=C;{涨停}
高位:=COST(99.9),COLORBROWN,NODRAW;
主力底仓:COST(1),COLORWHITE,LINETHICK2,NODRAW;
上突破:=高位>REF(高位,1) AND REF(高位,1)<=REF(高位,2);
下突破:=高位<=REF(高位,1) AND REF(高位,1)>REF(高位,2);
高点RAWLINE(上突破,REF(高位,1),REF(上突破,1),REF(REF(高位,1),1),1)COLORRED, LINETHICK2;
前高RAWLINE(下突破,高位,REF(下突破,1),REF(高位,1),1)COLORWHITE, LINETHICK2;
龙头启动:=CROSS(C,高点) OR CROSS(C,前高) AND ZT;
突破:=CROSS(C,前高);
DRAWTEXT(龙头启动,L,'↖龙头启动'),COLORGREEN;
回复 使用道具 评分 举报
东升123
明灯博士
Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18
威望8215 学分20122 预报涨停0 支
发消息
推荐
发表于 2017-10-18 20:26 | 只看该作者
MA30:=EMA(C,30);
MA800:EMA(C,800),COLORBROWN;
STICKLINE(MA30>MA800,MA30,MA800,1,0),COLORRED;
STICKLINE(MA30<MA800,MA30,MA800,1,0)COLORGREEN;
均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;
CC:C,COLORWHITE;
HH:=MAX(DYNAINFO(3),DYNAINFO(5));
LL:=MIN(DYNAINFO(3),DYNAINFO(6));
B:=HH-LL;
GG:=B*0.5/8+LL;
YY:=B*7/8+LL;
BB:=CROSS(GG,C);
SS:=CROSS(C,YY);
STICKLINE(BB,GG,GG*1.03,1,0),COLORRED;
STICKLINE(BB,GG,GG*1.02,1,0),COLORMAGENTA;
STICKLINE(BB,GG,GG*1.01,1,0),COLORYELLOW;
DRAWTEXT(BB,GG,'买★B'),COLORYELLOW;
DRAWTEXT(SS,YY,'卖★S')COLORMAGENTA; {回踩黄金线选股}
{1.黄金柱}
JJ:=(3*C+H+L+O)/6;
VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);
LJL:=FILTER(TJ1,3);
黄金线:=REF(LOW,BARSLAST(LJL));
黄金柱:=FILTER(TJ1,3);
{2.倍量过左峰}
SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);
SR2:=FILTER(SR1,10);
SR3:=BACKSET(SR2,10+1);
HD:=FILTER(SR3,10);
前高:=REF(H,BARSLAST(HD));
倍量:=VOL/REF(VOL,1)>=2 AND COUNT(CLOSE>OPEN,1) OR LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>=2;
突破前高:=CROSS(C,前高);
倍量过左峰:= 突破前高 AND 倍量;
{3.凹口起柱}
T7:=REF(VOL,6)/REF(VOL,7)>=2;
T6:=REF(VOL,5)/REF(VOL,6)>=2;
T5:=REF(VOL,5)/REF(VOL,4)>=1.5;
T4:=REF(VOL,4)/REF(VOL,3)>=1.5;
T3:=REF(VOL,2)/REF(VOL,3)>=1.5;
T1:=V/REF(VOL,1)>2;
T0:=C>O AND C>REF(C,1);
凹口起柱:= T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0
OR T3 AND T1 AND T0 ;
{凹口起柱}
AKQZ:= 黄金柱 and 凹口起柱;
{4.前高低位}
X:=21;
TTY:=H;
AAT:=REF(TTY,X)=HHV(TTY,2*X+1);
BBT:=FILTER(AAT,X);
CCT:=BACKSET(BBT,X+1);
HD10T:=FILTER(CCT,X);
AA1T:=REF(TTY,X)=LLV(TTY,2*X+1);
BB1T:=FILTER(AA1T,X);
CC1T:=BACKSET(BB1T,X+1);
LD10T:=FILTER(CC1T,X);
前期高位:=REF(H,BARSLAST(HD10T));
前期低位:=REF(L,BARSLAST(LD10T));
{突破前高}
TPQG:= 黄金柱 and 倍量过左峰 and C>前期高位;
{选股}
XG: (count(TPQG,10) or count(AKQZ,10)) and count(CROSS(黄金线*1.01,L),3)>0 and L>=黄金线 and C>ref(C,1) and ref(C,2)>ref(C,1) and count(LJL,3)=0;
谢谢楼主分享 感谢楼主分享 金牛出现 哼哼哈嘿 学习学习学习
谢谢楼主分享.哼哼哈嘿
学习学习学习 1111111111111111111111111111111111111111111 cdfgghjkl;'fdghjkl 金牛出现 哼哼哈嘿 [ 感谢龙哥分享一下不错的指标 谢谢楼主精彩分享 感谢老师精彩分享
页:
[1]
2