当前位置:首页 > 同花顺公式 > 内容

同花顺万能副图源码

作者:公式在线网   更新时间:2015-06-09   

1:macd指标注意小买小卖和背离技术,下边柱变短上边柱变长是一个波段。具体不说了,比较复杂慢慢体会。
2、0轴上边的柱子说明:(1)粗白柱和粗洋红色柱出现,表示有主力资金进入,大户收集筹码,短期比上涨,也许第二天或者第三天就上涨,可以先关注,实时买入后期必涨。
 (2)几个细白柱子出现,表示一个区域,是主力建仓区域,主力在买卖收集筹码,可以关注,一旦开始上涨,立即介入,可结合macd买日信号出现买入。
 (3)细绿色柱子出现,表示短线买点出现,尾盘买入第二天必涨稳赚,注意必须尾盘买入,否则第二天上涨也不一定能赚。如果均线系统完美,可以中线持有,如果横盘或者下降趋势行情,必须短线出局。
 (4)粗黄色柱子和粗绿色柱子,都是强势股追涨涨停板,结合分时量能情况选出可靠能封涨停板的股,在涨停前几秒钟买入比较可靠。要结合均线系统选股,最好选泽低位股涨停板或者放了突破涨停板,太高位的涨停板追入要谨慎,仓位要轻,以防不封不板回调被套

 万:=((3*C+H+L+O)/6+0.618*REF((3*C+H+L+O)/6,1)+0.382*REF((3*C+H+L+O)/6,2)+0.236*REF((3*C+H+L+O)/6,3)+0.146*REF((3*C+H+L+O)/6,4))/2.382;
点:=EMA((MA(HHV((3*C+H+L+O)/6,2),5)+MA(HHV((3*C+H+L+O)/6,2),13)+MA(HHV((3*C+H+L+O)/6,2),21)+MA(HHV((3*C+H+L+O)/6,2),32))/4,21),COLOR004000,LINETHICK2;
行情:=EMA((MA(LLV((3*C+H+L+O)/6,2),5)+MA(LLV((3*C+H+L+O)/6,2),13)+MA(LLV((3*C+H+L+O)/6,2),21)+MA(LLV((3*C+H+L+O)/6,2),32))/4,21),COLOR004000,LINETHICK2;
软件:=(行情+点)/2;
股神:=MA((SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0)-SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0)-0.5*SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0)),1)/REF(MA((SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0)-SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0)-0.5*SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0)),1),1)>1;
人:=REF(MA((SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0)-SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0)-0.5*SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0)),1)/REF(MA((SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0)-SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0)-0.5*SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0)),1),1)>1,1)<1 AND MA((SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0)-SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0)-0.5*SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0)),1)/REF(MA((SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0)-SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0)-0.5*SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0)),1),1)>1;
发财:=人 AND (EMA(MA(DVOL*DCLOSE/100,2),2))/100000>REF((EMA(MA(DVOL*DCLOSE/100,2),2))/100000,1) AND (EMA(MA(DVOL*DCLOSE/100,2),2))/100000/REF((EMA(MA(DVOL*DCLOSE/100,2),2))/100000,1) ;
短线稳赚:=C>MA(AMOUNT/V/100,3) AND MA(AMOUNT/V/100,3)<REF(MA(AMOUNT/V/100,3),1) AND REF(MA(AMOUNT/V/100,3),1)<REF(MA(AMOUNT/V/100,3),2)
 AND REF(MA(AMOUNT/V/100,3),2)<REF(MA(AMOUNT/V/100,3),3) AND 发财;
STICKLINE(短线稳赚>0 AND 短线稳赚>=REF(短线稳赚,1),0,短线稳赚,4,0),colorgreen;
 RSV:=(CLOSE - LLV(LOW,18))/(HHV(HIGH,18) - LLV(LOW,18))*100;
 K:=EMA(RSV,3);
 D:=EMA(K,3);
 J:=(3*K-2*D);
关注:IF(J<=0,-J*0.08,0),LINETHICK0,nodraw,colormagenta;
 STICKLINE(关注>0 AND 关注>=REF(关注,1),0,关注,8,0),colormagenta;
 RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
 RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21);
中线:=SMA(RSV2,5,1)+2*STD(CLOSE,37);
 RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
长线:=SMA(RSV3,5,1);
金坑:短线<20 AND 中线<20 AND 长线<20,colorwhite,nodraw;
 STICKLINE(金坑>0 AND 金坑>=REF(金坑,1),0,金坑,2,0),colorwhite;
 TJ1:=REF(C,3)/REF(C,2)>1.045 AND REF(C,2)<REF(O,2);
 TJ2:=BETWEEN(REF(C,1)/REF(O,1),1.005,0.995) AND REF(H,1)/REF(O,1)>1.025 AND REF(C,1)/REF(L,1)>1.025 AND REF(O,1)<REF(C,2);
追金停:C/REF(C,1)>1.09 AND C=H AND TJ1 AND TJ2,coloryellow,nodraw;
 STICKLINE(追金停>0 AND 追金停>=REF(追金停,1),0,追金停,10,0),coloryellow;
 TY:=H;AA1:=REF(TY,10)=HHV(TY,2*10+1);
 BA1:=FILTER(AA1,10);
 CA1:=BACKSET(BA1,10+1);
 HD:=FILTER(CA1,10);
前期高位:=REF(H,BARSLAST(HD));
 ZT:=C/REF(C,1)>1.09 AND C=H;
突破停:CROSS(C,前期高位) AND ZT,coloryellow,nodraw;
 STICKLINE(突破停>0 AND 突破停>=REF(突破停,1),0,突破停,10,0),coloryellow;
 T:=IF((BARSCOUNT(C) > 7),(100)*((MA(C,7))/(LLV(MA(C,7),7)) - 1),1);
 N:=IF((T > 0.35),6,65);
 W:=((-((100)*(HHV(H,N) - C))/(HHV(HIGH,N) - LLV(L,N))));
 RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
 RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
 J0:=(HIGH+LOW)/2;
 QJ:=EMA(J0,3);
 J1:=IF(CLOSE>QJ,VOL,0);
 J2:=IF(CLOSE<QJ,VOL,0);
 BB:=MA(SUM(J1-J2,22),3);
累加:=21*BB+20*REF(BB,1)+19*REF(BB,2)+18*REF(BB,3)+17*REF(BB,4)
 +16*REF(BB,5)+15*REF(BB,6)+14*REF(BB,7)+13*REF(BB,8)+12*REF
 (BB,9)+11*REF(BB,10)+10*REF(BB,11)+9*REF(BB,12)+8*REF(BB,13)
 +7*REF(BB,14)+6*REF(BB,15)+5*REF(BB,16)+4*REF(BB,17)+3*REF
 (BB,18)+2*REF(BB,19)+REF(BB,20);
 WMA1:=累加/(21+1)/21*2;
 CC:=WMA1;
 VAR3:=(BB-CC);VAR4:=SMA(RV,3,1);
 VAR5:=SMA(VAR4,3,1);
 KK:=EMA(SMA(RG,3,1),2);
 DD:=SMA(KK,3,1);
追银停:CROSS(W,-2) AND CROSS(VAR4,VAR5) AND CROSS(KK,DD),colorligreen,nodraw;
 STICKLINE(追银停>0 AND 追银停>=REF(追银停,1),0,追银停,10,0),colorligreen;
 TJ1:=REF(CROSS(MA(C,5),C),1) AND CROSS(C,MA(C,5));
 TJ2:=REF(CROSS(MA(C,10),C),1) AND CROSS(C,MA(C,10));
 TJ3:=REF(CROSS(MA(C,20),C),1) AND CROSS(C,MA(C,20));
 TJ4:=TJ1 OR TJ2 OR TJ3;
追宝停:REF(C,2)/REF(C,1)>=1.045 AND REF(C,1)<REF(O,1) AND C/REF(C,1)>1.09 AND C=H AND TJ4,colorgreen,nodraw;
 STICKLINE(追宝停>0 AND 追宝停>=REF(追宝停,1),0,追宝停,10,0),colorgreen;
个股:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),color1010FF;
黑马:IF(CROSS(个股,9),1,0)*0.5,STICK,linethick6,coloryellow;
 DRAWTEXT(CROSS(个股,9),1,'黑马!')*0.5,coloryellow;
 AA:=(O+H+L+C)/4;
 A1:=HHV(AA,15);
 A2:=LLV(AA,15);
 A3:=A1-A2;
 A4:=EMA((AA-A2)/A3,2)*9;
 RSV:= (HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*10;
空:=SMA(RSV,2,1)/5;
多:=A4;
 STICKLINE(空>1.3 AND 多<0.3 AND C*0.02<(EMA(C,5)-C),0,ABS(SMA(MAX(MACD,0),5,1)-ABS(MACD))*0.5,8,0),colorwhite;
抄底粗白:0,colorwhite;
 DIFF : EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite;
 DEA : EMA(DIFF,9),coloryellow;
 MACD=2*(DIFF-DEA);
 Zero : =0;
 gj:=MAX(C,O);
 STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,4,0),color0000ff;
 STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,4,0),colorffff00;
 STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,4,0),colorff00ff;
 STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,4,0),color00ff00;
 A0:=DIFF<0 AND DEA<0;
 A11:=A0>REF(A0,1);
 A3:=BARSLAST(A11);
 A4:=COUNT(DEA>0 AND DIFF >0,A3)=0;
 A5:=CROSS(DIFF ,DEA);
 A6:=BARSLAST(A5);
 A7:=REF(A6,A6+1)+A6;
 A8:=(DIFF+DEA)/2;
 A9:=(HIGH+LOW)/2;
 A10:=A5 AND A7<A3 AND A4 AND A8>REF(A8,A7) AND A9<REF(A9,A7) AND MACD>0;
 DRAWTEXT(A10,DIFF*0.95,'★金叉买入'),coloryellow;
 

同花顺万能副图源码

资源下载

相关文章

热门推荐

移动端首页 | PC端

© by Gszb.com Mobile Web