走向光明
-
相关简介:{走向光明} input:N(10,1,100); DRAWGBK(CLOSE0,COLORRGB(30,20,10),COLORRGB(233,233,233),0); VAR1:=EMA(VOL,12)-EMA(VOL,26); VAR2:=EMA(VAR1,9); VAR3:=(EMA(CLOSE,30)*2+MA(CLOSE,60))/3; VAR4:=VOL*CLOSE; VAR5:=EMA(VAR4,13)/EMA(VOL,13); VAR6:=EMA(VAR4,60)/EMA(VO
-
文章来源:择股网作者:股海网发布时间:2009-06-13浏览次数:
{走向光明}
input:N(10,1,100);
DRAWGBK(CLOSE>0,COLORRGB(30,20,10),COLORRGB(233,233,233),0);
VAR1:=EMA(VOL,12)-EMA(VOL,26);
VAR2:=EMA(VAR1,9);
VAR3:=(EMA(CLOSE,30)*2+MA(CLOSE,60))/3;
VAR4:=VOL*CLOSE;
VAR5:=EMA(VAR4,13)/EMA(VOL,13);
VAR6:=EMA(VAR4,60)/EMA(VOL,60);
VAR7:=EMA((VAR5+VAR6)/2,3);
YY:MA((VAR3+VAR7)/2,1),LINETHICK0,colorFF00;
DRAWICON(YY>REF(YY,1),YY,10);
DRAWICON(YY<REF(YY,1),YY,11);
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0),color55;
STICKLINE(CLOSE>=OPEN,LOW,HIGH,0.5,0),color55;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,8,0),colorFFFF00;
STICKLINE(CLOSE<OPEN,LOW,HIGH,0.5,0),colorFFFF00;
YK:SLOPE(EMA(CLOSE,1),13)*N+CLOSE,LINETHICK2,colorFF7700;
YD:EMA(SLOPE(CLOSE,13)*N+CLOSE,3),LINETHICK2,colorFFFF;
YJ:3*YK-2*YD,LINETHICK2,colorFF;
DD:=SYSPARAM(5);
HD:=SYSPARAM(4);
VAR1:=HD-DD;
A:=REF(HHV(CLOSE,250),1);
B:=REF(LLV(CLOSE,250),1);
NX:=100*(CLOSE-B)/(A-B);
DRAWTEXT(SYSPARAM(1)=BARPOS,HD*1.1,'年相对价位:'),ALIGN2,color3300;
DRAWNUMBER(SYSPARAM(1)=BARPOS AND CLOSE>0,HD*1.1,NX,2),color3300;
A1:=LLV(HIGH,250);
MYP:=100*(CLOSE-A1)/A1;
DRAWTEXT(SYSPARAM(1)=BARPOS,HD*1.15,'年最大收益:'),ALIGN2,color3300;
DRAWNUMBER(SYSPARAM(1)=BARPOS AND CLOSE>0,HD*1.15,MYP,2),color3300;
A2:=1.1*CLOSE;
B2:=0.9*CLOSE;
B1:=100*(WINNER(A2)-WINNER(B2));
B3:=100-B1;
DRAWTEXT(SYSPARAM(1)=BARPOS,HD*1.05,'锁定筹码 :'),ALIGN2,color3300;
DRAWNUMBER(SYSPARAM(1)=BARPOS AND CLOSE>0,HD*1.05,B3,2),color3300;
DRAWTEXT(SYSPARAM(2)=BARPOS AND CLOSE>0,CLOSE,'两岸猿声啼不住,\n轻舟已过万重山.'),ALIGN4,color88FF;
{田园春笋}
C0:=REF(CLOSE,2)*0.865;
C1:=REF(CLOSE,13)*0.772;
C2:=100*VOL/CAPITAL;
C3:=MIN(C0,C1);
春笋:IF((CLOSE-C3)/CLOSE<0.1 AND SUM(C2,5)/5<1.8,0.75*CLOSE+(MA(CLOSE,20)-0.75*CLOSE)/3,0.75*CLOSE),colorFF00;
田园:0.75*CLOSE,colorFFFF;
YNGS:0,LINETHICK0;
input:N(10,1,100);
DRAWGBK(CLOSE>0,COLORRGB(30,20,10),COLORRGB(233,233,233),0);
VAR1:=EMA(VOL,12)-EMA(VOL,26);
VAR2:=EMA(VAR1,9);
VAR3:=(EMA(CLOSE,30)*2+MA(CLOSE,60))/3;
VAR4:=VOL*CLOSE;
VAR5:=EMA(VAR4,13)/EMA(VOL,13);
VAR6:=EMA(VAR4,60)/EMA(VOL,60);
VAR7:=EMA((VAR5+VAR6)/2,3);
YY:MA((VAR3+VAR7)/2,1),LINETHICK0,colorFF00;
DRAWICON(YY>REF(YY,1),YY,10);
DRAWICON(YY<REF(YY,1),YY,11);
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0),color55;
STICKLINE(CLOSE>=OPEN,LOW,HIGH,0.5,0),color55;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,8,0),colorFFFF00;
STICKLINE(CLOSE<OPEN,LOW,HIGH,0.5,0),colorFFFF00;
YK:SLOPE(EMA(CLOSE,1),13)*N+CLOSE,LINETHICK2,colorFF7700;
YD:EMA(SLOPE(CLOSE,13)*N+CLOSE,3),LINETHICK2,colorFFFF;
YJ:3*YK-2*YD,LINETHICK2,colorFF;
DD:=SYSPARAM(5);
HD:=SYSPARAM(4);
VAR1:=HD-DD;
A:=REF(HHV(CLOSE,250),1);
B:=REF(LLV(CLOSE,250),1);
NX:=100*(CLOSE-B)/(A-B);
DRAWTEXT(SYSPARAM(1)=BARPOS,HD*1.1,'年相对价位:'),ALIGN2,color3300;
DRAWNUMBER(SYSPARAM(1)=BARPOS AND CLOSE>0,HD*1.1,NX,2),color3300;
A1:=LLV(HIGH,250);
MYP:=100*(CLOSE-A1)/A1;
DRAWTEXT(SYSPARAM(1)=BARPOS,HD*1.15,'年最大收益:'),ALIGN2,color3300;
DRAWNUMBER(SYSPARAM(1)=BARPOS AND CLOSE>0,HD*1.15,MYP,2),color3300;
A2:=1.1*CLOSE;
B2:=0.9*CLOSE;
B1:=100*(WINNER(A2)-WINNER(B2));
B3:=100-B1;
DRAWTEXT(SYSPARAM(1)=BARPOS,HD*1.05,'锁定筹码 :'),ALIGN2,color3300;
DRAWNUMBER(SYSPARAM(1)=BARPOS AND CLOSE>0,HD*1.05,B3,2),color3300;
DRAWTEXT(SYSPARAM(2)=BARPOS AND CLOSE>0,CLOSE,'两岸猿声啼不住,\n轻舟已过万重山.'),ALIGN4,color88FF;
{田园春笋}
C0:=REF(CLOSE,2)*0.865;
C1:=REF(CLOSE,13)*0.772;
C2:=100*VOL/CAPITAL;
C3:=MIN(C0,C1);
春笋:IF((CLOSE-C3)/CLOSE<0.1 AND SUM(C2,5)/5<1.8,0.75*CLOSE+(MA(CLOSE,20)-0.75*CLOSE)/3,0.75*CLOSE),colorFF00;
田园:0.75*CLOSE,colorFFFF;
YNGS:0,LINETHICK0;