短线指标附图

2016-10-10 21:10:00来源:本站整理浏览:153

红箭头做多

RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
FASTK:=SMA(RSV,3,1);
A:SMA(FASTK,3,1);
A1:SMA(A,3,1);
A2:=SMA(A,5,1),COLORBLUE;

ZA:=A>A1 AND A1>REF(A1,1);
ZV:=A1>A AND A1<REF(A1,1);
ZA0:=CROSS(A,A1) AND A1>REF(A1,1) ;
ZV0:=CROSS(A1,A) AND A1>REF(A1,1);
YA:=80;
YV:=20,COLORGREEN;


DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,10);
ZA1:=DIFF>DEA AND DEA>REF(DEA,1);
ZV1:=DEA>DIFF AND DEA<REF(DEA,1);
ZA11:=CROSS(DIFF,DEA) AND DEA>REF(DEA,1) ;
ZV11:=CROSS(DEA,DIFF) AND DEA<REF(DEA,1) ;

MA1:=MA(CLOSE,1);
MA2:=MA(CLOSE,2);
MA3:=MA(CLOSE,3);
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA40:=MA(CLOSE,40);
MA60:=MA(CLOSE,60);
MA120:=MA(CLOSE,120);
MA250:=MA(CLOSE,250);
ZA2:=MA5>MA10 AND MA10>REF(MA10,1);
ZV2:=MA10>MA5 AND MA10<REF(MA10,1);

ZA22:=CROSS(MA5,MA10) AND MA10>REF(MA10,1);
ZV22:=CROSS(MA10,MA5) AND MA10<REF(MA10,1);

V0:=VOL;
MV5:=MA(VOL,5);
MV10:=MA(VOL,10);

OZA:=MV5>MV10 AND MV10>REF(MV10,1);
OZV:=MV10>MV5 AND MV10<REF(MV10,1);
OZA0:=CROSS(MV5,MV10) AND MV10>REF(MV10,1);
OZV0:=CROSS(MV10,MV5) AND MV10<REF(MV10,1);

{
AA4:=(ZA&&ZA1&&ZA2&&OZA);
AA5:=(ZA1&&ZA2&&OZA&&ZA);
AA6:=(ZA2&&OZA&&ZA&&ZA1);
AA7:=(ZA2&&OZA&&ZA&&ZA1);
AA8:=(ZAO&&ZA11&&ZA22&&OZAO);
AA9:=(ZA11&&ZA22&&OZAO&&ZAO);
AA10:=(ZA22&&OZAO&&ZAO&&ZA11);
AA11:=(OZAO&&ZAO&&ZA11&&ZA22);

VV4:=(ZV&&ZV1&&ZV2&&OZV);
VV5:=(ZV1&&ZV2&&OZV&&ZV);
VV6:=(ZV2&&OZV&&ZV&&ZV1);
VV7:=(OZV&&ZV&&ZV1&&ZV2);
VV8:=(ZVO&&ZV11&&ZV22&&OZVO);
VV9:=(ZV11&&ZV22&&OZVO&&ZVO);
VV10:=(ZV22&&OZVO&&ZVO&&ZV11);
VV11:=(OZVO&&ZVO&&ZV11&&ZV22);
AAA1:=(AA4+AA5+AA6+AA7+AA8+AA9+AA10+AA11);
VVV1:=(VV4+VV5+VV6+VV7+VV8+VV9+VV10+VV11);}

AA: (((MA(CLOSE,20))>(MA(CLOSE,40))) AND
((MA(CLOSE,20))>(MA(CLOSE,60))) AND
((MA(CLOSE,40))>(MA(CLOSE,60))))*6580 ,COLORRED;

BB: (((MA(CLOSE,20))<(MA(CLOSE,40))) AND
((MA(CLOSE,20))<(MA(CLOSE,60))) AND
((MA(CLOSE,40))<(MA(CLOSE,60))))*6580,COLORBLUE;

短线: (ZA AND ZA1 AND ZA2 AND OZA) AND (DIFF>0 AND MA5>MA20 AND MA10>MA20 AND MA20>REF(MA20,1)),COLORRED;
空1:(ZV AND ZV1 AND ZV2 AND OZV) AND (DIFF<0 AND MA5<MA20 AND MA10<MA20 AND MA20<REF(MA20,1)),COLORBLUE;

DRAWICON(短线,H*0.97,1);
DRAWICON(空1,L*1.03,2);

DRAWTEXT(短线,H*0.97,'开多');
DRAWTEXT(空1,L*1.03,'开空');


 


 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式