巨浪2型主图(飞狐)
<p>VAR41:= EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);<br />VAR42:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3);<br />
VAR4A:=REF(VAR41,1)>92 AND VAR41<92;<br />
ma5:ma(c,5),COLORFFCC00,linethick1;<br />
a:=(3*c+l+o+h)/6;<br />
巨浪2型:(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)<br />
+14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)<br />
+9*ref(a,11)+8*ref(a,12)+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)<br />
+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+ref(a,20))/210,COLORRED,LINETHICK1;<br />
多空线:ma(巨浪2型,13),colorwhite,LINETHICK2;{中长线看日,短线看60分钟分界线,跌破卖出,}<br />
DRAWICON(cross(ma5,多空线) and ma5>多空线,多空线,1);<br />
zar1:=SLOPE(EMA(CLOSE,2),5)*15+C;<br />
zar2:=EMA(zar1,5);<br />
zarA:=EMA(EMA(EMA(EMA(EMA(EMA(EMA(EMA(zar2,5),5),5),5),5),5),5),5);<br />
zarB:=BARSLAST(CROSS(CLOSE,zarA));<br />
zarC:=BARSLAST(CROSS(zarA,CLOSE));<br />
STICKLINE(CLOSE<zarA,REF(CLOSE,zarC),REF(CLOSE,zarC),12,0),linethick2,colorff6633;<br />
STICKLINE(CLOSE>zarA AND CLOSE>REF(CLOSE,zarB),REF(CLOSE,zarB),巨浪2型,1,0),colorff3399;</p>
<p>上涨注意消失:0,COLORFF3399,LINETHICK0;<br />
STICKLINE(CLOSE<zarA AND CLOSE<REF(CLOSE,zarC),REF(CLOSE,zarC),巨浪2型,1,0),COLORFFCC66;<br />
止盈止损:0,COLORFFCC66;<br />
DRAWTEXT(VAR4A,H*1.02,'短卖'),COLORYELLOW;</p>
<p>ma120:=ma(c,120);<br />
底部线:MA(CLOSE,80)-MA(CLOSE,10)/3,linethick2,POINTDOT,colorbbbbbb;<br />
庄控线:EMA(COST(81),10),COLOR0099FF,LINETHICK1;<br />
STICKLINE(C>多空线 and 巨浪2型>庄控线,HIGH,LOW,0.5,0),COLORff3399;<br />
强庄控盘:0,COLORFF3399;<br />
MID:=MA(CLOSE,26);<br />
上轨:MID+2.5*STD(CLOSE,26),coloryellow;<br />
下轨:MID-2.5*STD(CLOSE,26),colorFFCCCC;</p>
<p>mj:=cross(c,巨浪2型) and 巨浪2型>Ref(巨浪2型,1) and count(巨浪2型>ref(巨浪2型,1),8)=8;</p>
<p>STICKLINE(MJ,HIGH,HIGH*1.005,10,1),COLORYELLOW;</p>
<p></p>
<p> </p>
页:
[1]