蓝色战法
二:C*1.023,NODRAW,COLOR00FFFF;三:C*1.033,NODRAW,COLORGREEN;
四:C*1.043,NODRAW,COLOR00FFFF;
五:C*1.053,NODRAW,COLORGREEN;
六:C*1.065,NODRAW;
七:C*1.073,NODRAW,COLOR00FFFF;
八:C*1.083,NODRAW;
九:C*1.093,NODRAW,COLORGREEN;
十:C*1.103,NODRAW;
十一:C*1.113,NODRAW,COLORRED;
十二:C*1.123,COLORYELLOW,NODRAW;
十五:C*1.153,NODRAW;
廿:C*1.204,NODRAW;
卅:C*1.304,NODRAW,COLORRED;
DRAWBAND(MA(C,18),RGB(150,10,10),MA(C,50),RGB(0,100,100));DRAWKLINE(H,O,L,C);
MA18:MA(C,18),COLORWHITE;
MA50:MA(C,50),COLORYELLOW;
F:=100*(C-REF(C,1))/REF(C,1);
TT2:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
TT1:=REF(EMA(TT2,3),1);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
今小昨:=IF(C<REF(O,1) AND F<0,1,0);
P1:=今小昨;
今小前:=IF(C<REF(O,2) AND F<0,1,0);
P2:=今小前;
STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,OPEN,CLOSE,1,0),COLORMAGENTA;
STICKLINE(P1=1 AND REF(P1,1)=0 AND P2=1AND REF(P2,1)=0,OPEN,CLOSE,1,0),COLORAAAAAA;
A1:=CLOSE;
A2:=OPEN;
STICKLINE(A1<A2 AND F<-2.9 AND F>-5,A1+(A2-A1)/3,A1+(A2-A1)/3,1,0),COLORRED;
STICKLINE(A1<A2 AND F<-2.9 AND F>-5,A1+2*(A2-A1)/3,A1+2*(A2-A1)/3,1,0),COLORRED;
STICKLINE(A1<A2 AND F<=-5 AND F>-7,A1+(A2-A1)/2,A1+(A2-A1)/2,1,0),COLORRED;
STICKLINE(A1<A2 AND F<=-7 AND F>-10,A1+2*(A2-A1)/3,A1+(A2-A1)/3,3,1),COLORRED;
STICKLINE(A1<A2 AND F<=-9.9,A2,A1,3,0),COLOR00FF00;
STICKLINE(A1>A2 AND F>2.9 AND F<5,A2+(A1-A2)/3,A2+(A1-A2)/3,1,0),COLORYELLOW;
STICKLINE(A1>A2 AND F>2.9 AND F<5,A2+2*(A1-A2)/3,A2+2*(A1-A2)/3,1,0),COLORYELLOW;
STICKLINE(A1>A2 AND F>=5 AND F<7,A2+(A1-A2)/2,A2+(A1-A2)/2,1,0),COLORYELLOW;
STICKLINE(A1>A2 AND F>=7 AND F<10,A2+2*(A1-A2)/3,A2+(A1-A2)/3,1,1),COLORYELLOW;
STICKLINE(A1>A2 AND F>=9.9,A1,A2,1,0),COLORYELLOW;
STICKLINE(F>7,C,O,2.2,0),COLORFFFFFF;{大白K线}
{当天蓝线位置 }
RL3:=(REF(L,1)*(1+4.3*0.01))-0.003,COLORFF0000;
DRAWNUMBER(ISLASTBAR,L*(1+4.3*0.01),RL3),COLORFF0000;
{出黄头}
STICKLINE(H>RL3,(O+C)/2,H,0.1,0),COLORYELLOW;
{金叉K线}
STICKLINE(CROSS(MA(C,18),MA(C,50)),H,C,0.05,0), COLOR0000FF;
STICKLINE(CROSS(MA(C,18),MA(C,50)),C,O,3,0), COLOR0066FF;
STICKLINE(CROSS(MA(C,18),MA(C,50)),O,L,0.05,0), COLOR0099FF;
{股价隧道日线}
V1:=MA(CLOSE,3);
V2:=MA(CLOSE,2*3);
V3:=MA(CLOSE,3*3);
V4:=MA(CLOSE,4*3);
V5:=MA(CLOSE,5*3);
V6:=MA((V1+V2+V3+V4+V5)/5,5);
上轨:V6*(1+6.5/100),COLORGREEN;
IF(H>=上轨 ,上轨,DRAWNULL),POINTDOT,COLOR000FFF,LINETHICK9;
FH:100*(H-REF(C,1))/REF(C,1),COLOR88AAFF,NODRAW;
{1.13}
HH:=IF(H>=HHV(H,3),LLV(L,7)*1.129,DRAWNULL) ;
STICKLINE(H>=HH,H,H*1.005,1,0),COLORRED;
{出黄头}
STICKLINE(H>RL3,(O+C)/2,H,0.1,0),COLOR00FFFF;
DRAWNUMBER(ISLASTBAR,L*(1+4.3*0.01),RL3),COLORLIRED;
M3:MA(C, 3),COLORRED;
M3赚4%:M3*1.043,NODRAW,COLORGREEN;
XG:=H>=HHV(H,5);
TF:=BARSLAST(XG);
L1:=IF(L<(0.989*REF(L,TF)),1,0);
L11:=L1 AND COUNT(L1,TF)<2 AND TF<30AND TF>0;
T2:=BARSLAST(L11);
L2:=IF(L<(0.989*REF(L,T2)),1,0);
L22:=L2 AND COUNT(L2,T2)<2 AND T2<30AND TF>0 AND T2>0;
T3:=BARSLAST(L22);
L3:=IF(L<(0.989*REF(L,T3)),1,0);
L33:=L3 AND COUNT(L3,T3)<2 AND T3<30AND TF>0 AND T2>0 AND T3>0 ;
{紫阳买信号}
ZY:=P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1;
跌后ZY:=ZY AND (REF(L22,1) ORREF(L33,1)OR REF(L33,2) ) ;
DRAWTEXT(跌后ZY,LOW,'买'),COLORRED;
页:
[1]