《股票-同花顺多空生命线买卖指标公式.docx》由会员分享,可在线阅读,更多相关《股票-同花顺多空生命线买卖指标公式.docx(6页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、同花顺多空生命线买卖指标公式多空生命线:EMA(CLOSE,55),colorred,CIRCLEDOT;Var1:=(HIGH+LOW+OPEN+CLOSE)/4;生命线:MA(3*Var1-2*SMA(Var1,2,1),12),;Var2:=IF(Var1生命线,Var1,生命线);Var3:=2*EMA(LLV(Var1,7),10)-Var1;多空线:3*Var3-2*SMA(Var3,10,1),colorgreen;A1:=REF(CLOSE,1)REF(OPEN,2);A2:=CLOSEOPEN;A3:=REF(HIGH,1)REF(LOW,2);Aa4:=HIGHREF(LO
2、W,1);DRAWTEXT(TROUGHBARS(3,15,1)=0ANDHIGHLOW+0.01ANDA1ANDA2=0ANDA3=0ANDAa4=0,(LOW-0.3),震仓),color0000FF;Va1:=EMA(CLOSE,8);Va2:=EMA(Va1,20);Va3:=CROSS(Va1,Va2);Va4:=VOL/SUM(VOL,13);Va5:=DMA(CLOSE,Va4);Va6:=Va1MA(CLOSE,120);A3a:=Va3ANDVa6AND(CLOSE-Va5)/Va5*100/2.5A4a:=CROSS(CLOSE-Va5)/Va5*100/2.5,0)AND
3、(CLOSE-Va5)/Va5*100/2.51.5;DRAWTEXT(A4a0ORA3a0,L-0.3,追涨),colorwhite;STICKLINE(A4a0ORA3a0,(LOW-0.2),(LOW-0.5),4,0),colorwhite;VV1:=(CLOSE-LLV(LOW,60)/(HHV(HIGH,60)-LLV(LOW,60)*100;VV2:=SMA(VV1,7,1);VV3:=SMA(VV2,12,1);VV4:=CROSS(VV3,VV2);VV5:=VV388ORVV2VV6:=VV4ANDVV5;STICKLINE(VV6ORCROSS(REF(VV2,1),VV
4、2)ANDVV295,(HIGH+0.5),(HIGH+1.2),8,0),COLOR00ff00;DRAWTEXT(VV6ORCROSS(REF(VV2,1),VV2)ANDVV295,H+1.2,逃顶),color00ff00;VB1:=LLV(LOW,5)=LLV(LOW,45)ANDCLOSE=OPEN*1.04;VB2:=CLOSE(REF(HIGH,1)+REF(LOW,1)/2;VB3:=VB1ANDVB2;DRAWTEXT(VB3,LOW,买入点),colorwhite;DRAWTEXT(CROSS(REF(HIGH,1)+REF(LOW,1)/2,MA(CLOSE,20)+2
5、*STD(CLOSE,20),HIGH*1.02,落袋为安),colorwhite;V2:=REF(CLOSE,1);V3:=SMA(MAX(CLOSE-V2,0),6,1)/SMA(ABS(CLOSE-V2),6,1)*100;DRAWTEXT(CROSS(84,V3),HIGH*1.03,见顶),coloryellow;V4:=SMA(MAX(CLOSE-V2,0),12,1)/SMA(ABS(CLOSE-V2),12,1)*100;DRAWTEXT(CROSS(V4,20),LOW*0.98,见底),colorred;a:=(3*C+L+O+H)/6;x1:=(20*a+19*REF(a
6、,1)+18*REF(a,2)+17*REF(a,3)+16*REF(a,4)+15*REF(a,5)+14*REF(a,6)+13*REF(a,7)+12*REF(a,8)+11*REF(a,9)+10*REF(a,10)+9*REF(a,11)+8*REF(a,12)+7*REF(a,13)+6*REF(a,14)+5*REF(a,15)+4*REF(a,16)+3*REF(a,17)+2*REF(a,18)+REF(a,20)/210;x2:=EMA(x1,6);x3:=EMA(x2,5);STICKLINE(x2=x3,H,L,0,1),COLOR0000FF;STICKLINE(x2
7、=x3ANDC=O,O,C,5,0),COLOR0000FF;STICKLINE(x2=x3ANDCO,O,C,5,1),COLOR0000FF;STICKLINE(x2x3,H,L,1,0),COLOR00BB00;STICKLINE(x2x3ANDCO,O,C,5,0),COLOR00BB00;STICKLINE(x2x3ANDC=O,O,C,5,1),COLOR00BB00;STICKLINE(Cx3ANDx2=x3,H,L,0,1),COLORFFBB00;STICKLINE(Cx3ANDx2=x3ANDC=O,O,C,5,0),COLORFFBB00;STICKLINE(Cx3ANDx2=x3ANDCO,O,C,5,1),COLORFFBB00;STICKLINE(C=x3ANDx2x3),H,L,0,1),COLORFF00FF;STICKLINE(C=x3ANDx2x3)ANDC=O,O,C,5,0),COLORFF00FF;STICKLINE(C=x3ANDx2x3)ANDCO,O,C,5,1),COLORFF00FF;同花顺多空生命线买卖指标公式实例图解:同花顺多空生命线买卖指标公式
限制150内