- 金币:
-
- 奖励:
-
- 热心:
-
- 注册时间:
- 2005-3-7
|
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 zwp518598 于 2017-8-6 16:19 编辑
五线图(主图)
N:8
-----------------------------------------------------
ma5:ma(close,5),coloryellow;
ma14:EMA(C,14),colorff00ff;
ma25:EMA(C,25),colorff00ff,DASHLINE;
ma55:EMA(C,55) ,COLORRED,DASHLINE;
ma144:EMA(CLOSE,144),colorblue;
四五三:EMA(CLOSE,453),COLOrgray;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
DRAWTEXT(ref(v,1)<vol and ref(v,2)<vol and ref(v,3)<vol and vol>EMA(VOL ,55 )*1.25 and vol<EMA(VOL ,55 )*1.9 and vol>EMA(VOL ,20 ) and vol>EMA(VOL ,10 ) and high>ref(hhv(high,3),1) and ref(high,1)<ref(hhv(high,3),2) or
ref(v,1)<vol and ref(v,2)<vol and ref(v,3)<vol and vol>EMA(VOL ,55 )*1.25 and vol<EMA(VOL ,55 )*1.9 and vol>EMA(VOL ,20 ) and vol>EMA(VOL ,10 ) and high>ref(hhv(high,3),1) and ref(high,1)<ref(hhv(high,3),2) ,low,' 主力'),colorff00ff;
DRAWTEXT( high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and ref(close,1)<ref(ma(close,5),1) and ref(high,1)<ref(hhv(high,4),1) and SMA(RSV,3,1)<70 or high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and ref(close,2)<ref(ma(close,5),2) and ref(high,1)<ref(hhv(high,4),1) and SMA(RSV,3,1)<70 or high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and ref(close,3)<ref(ma(close,5),3) and ref(high,1)<ref(hhv(high,4),1) and SMA(RSV,3,1)<70 ,high,' B'),colorff00ff;
STICKLINE( high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and ref(close,1)<ref(ma(close,5),1) and ref(high,1)<ref(hhv(high,4),1) and SMA(RSV,3,1)<70 or high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and ref(close,2)<ref(ma(close,5),2) and ref(high,1)<ref(hhv(high,4),1) and SMA(RSV,3,1)<70 or high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and ref(close,3)<ref(ma(close,5),3) and ref(high,1)<ref(hhv(high,4),1) and SMA(RSV,3,1)<70 ,CLOSE,OPEN,5,500),colorred;
STICKLINE( high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and ref(close,1)<ref(ma(close,5),1) and ref(high,1)<ref(hhv(high,4),1) and SMA(RSV,3,1)<70 and vol>EMA(VOL ,10 ) and vol>EMA(VOL ,55 ) or high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and ref(close,2)<ref(ma(close,5),2) and ref(high,1)<ref(hhv(high,4),1) and SMA(RSV,3,1)<70 and vol>EMA(VOL ,10 ) and vol>EMA(VOL ,55 ) or high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and ref(close,3)<ref(ma(close,5),3) and ref(high,1)<ref(hhv(high,4),1) and SMA(RSV,3,1)<70 and vol>EMA(VOL ,10 ) and vol>EMA(VOL ,55 ) ,CLOSE,OPEN,5,500),colorff00ff;
drawtext((ref(low,2)-ref(close,1))/ref(close,1)>0.02 and (ref(low,1)-close)/close>0.02 and (close-ref(close,1))/ref(close,1)>-9.9/100 or (ref(low,1)-close)/close>0.01 and (ref(low,2)-close)/close>0.04 and (ref(low,2)-ref(close,1))/ref(close,1)>0.04 and (close-ref(close,1))/ref(close,1)>-9.9/100 or (ref(low,2)-ref(close,1))/ref(close,1)>0.013 and (ref(low,2)-close)/close>0.04 and (ref(low,1)-close)/close>0.01 and (close-ref(close,1))/ref(close,1)>-9.9/100,low,'接筹'),colorff00ff;
DRAWTEXT( high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and ref(close,1)<ref(ma(close,5),1) and ref(high,1)<ref(hhv(high,4),1) and close>ref(hhv(high,3),1) and vol>ref(hhv(vol,14),1) or ref(close,2)<ref(ma(close,5),2) and ref(high,1)<ref(hhv(high,4),1) and close>ref(hhv(high,3),1) and vol>ref(hhv(vol,14),1) and high>ref(high,1) and high>ref(high,2) and high>ref(high,3) or high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and ref(close,3)<ref(ma(close,5),3) and ref(high,1)<ref(hhv(high,4),1) and close>ref(hhv(high,3),1) and vol>ref(hhv(vol,14),1)
or high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and ref(close,1)<ref(ma(close,5),1) and ref(high,1)<ref(hhv(high,4),1) and close>ref(hhv(high,3),1) and hhv(high,14)<hhv(high,34) or ref(close,2)<ref(ma(close,5),2) and ref(high,1)<ref(hhv(high,4),1) and close>ref(hhv(high,3),1) and hhv(high,14)<hhv(high,34) and high>ref(high,1) and high>ref(high,2) and high>ref(high,3) or high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and ref(close,3)<ref(ma(close,5),3) and ref(high,1)<ref(hhv(high,4),1) and close>ref(hhv(high,3),1) and hhv(high,14)<hhv(high,34)
or high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and ref(close,1)<ref(ma(close,5),1) and ref(high,1)<ref(hhv(high,4),1) and close>ref(hhv(close,3),1) and hhv(high,14)<hhv(high,34) or ref(close,2)<ref(ma(close,5),2) and ref(high,1)<ref(hhv(high,4),1) and close>ref(hhv(close,3),1) and hhv(high,14)<hhv(high,34) and high>ref(high,1) and high>ref(high,2) and high>ref(high,3) or high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and ref(close,3)<ref(ma(close,5),3) and ref(high,1)<ref(hhv(high,4),1) and close>ref(hhv(close,3),1) and hhv(high,14)<hhv(high,34) ,high
,' 进场'),coloryellow;
DRAWTEXT( high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and ref(close,1)<ref(ma(close,5),1) and ref(high,1)<ref(hhv(high,4),1) and close>ref(hhv(close,3),1) and hhv(high,14)<hhv(high,34) and close<ref(hhv(high,3),1) or ref(close,2)<ref(ma(close,5),2) and ref(high,1)<ref(hhv(high,4),1) and close>ref(hhv(close,3),1) and hhv(high,14)<hhv(high,34) and high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and close<ref(hhv(high,3),1) or high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and ref(close,3)<ref(ma(close,5),3) and ref(high,1)<ref(hhv(high,4),1) and close>ref(hhv(close,3),1) and hhv(high,14)<hhv(high,34) and close<ref(hhv(high,3),1) ,low
,' 小心'),coloryellow;
DRAWTEXT( high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and ref(close,1)<ref(ma(close,5),1) and ref(high,1)<ref(hhv(high,4),1) and close>ref(hhv(high,3),1) and vol<ref(hhv(vol,14),1) and hhv(high,14)>ref(hhv(high,34),14) or high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and ref(close,2)<ref(ma(close,5),2) and ref(high,1)<ref(hhv(high,4),1) and close>ref(hhv(high,3),1) and vol<ref(hhv(vol,14),1) and hhv(high,14)>ref(hhv(high,34),14) or high>ref(high,1) and high>ref(high,2) and high>ref(high,3) and ref(close,3)<ref(ma(close,5),3) and ref(high,1)<ref(hhv(high,4),1) and close>ref(hhv(high,3),1) and vol<ref(hhv(vol,14),1) and hhv(high,14)>ref(hhv(high,34),14) ,high
,' 反抽'),coloryellow;
DRAWTEXT( low<ref(low,1) and low<ref(low,2) and low<ref(low,3) and ref(close,1)>ref(ma(close,5),1) and ref(low,1)>ref(llv(low,4),1) and close< ref(llv(low,3),1) or low<ref(low,1) and low<ref(low,2) and low<ref(low,3) and ref(close,2)>ref(ma(close,5),2) and ref(low,1)>ref(llv(low,4),1) and close< ref(llv(low,3),1) or low<ref(low,1) and low<ref(low,2) and low<ref(low,3) and ref(close,3)>ref(ma(close,5),3) and ref(low,1)>ref(llv(low,4),1) and close< ref(llv(low,3),1),low ,' 空仓'),coloryellow;
DRAWTEXT( low<ref(low,1) and low<ref(low,2) and low<ref(low,3) and ref(close,1)>ref(ma(close,5),1) and ref(low,1)>ref(llv(low,4),1) and close< ref(llv(close,3),1) or low<ref(low,1) and low<ref(low,2) and low<ref(low,3) and ref(close,2)>ref(ma(close,5),2) and ref(low,1)>ref(llv(low,4),1) and close< ref(llv(close,3),1) or low<ref(low,1) and low<ref(low,2) and low<ref(low,3) and ref(close,3)>ref(ma(close,5),3) and ref(low,1)>ref(llv(low,4),1) and close< ref(llv(close,3),1) ,high
,' 注意'),coloryellow;
DRAWTEXT(barslast(low=llv(low,16))=11 or llvBARS(low,16)=11 ,high,'12'),coloryellow ;
DRAWTEXT(barslast(low=llv(low,16))=12 or llvBARS(low,16)=12 ,high,'13'),coloryellow ;
DRAWTEXT(barslast(low=llv(low,30))=19 or llvBARS(low,30)=19 ,high,'20'),coloryellow ;
DRAWTEXT(barslast(high=HHV(HIGH,30))=11 or HHVBARS(HIGH,30)=11 or barslast(high=HHV(HIGH,16))=11 or HHVBARS(HIGH,16)=11,low,'12'),colorff00ff;
DRAWTEXT(barslast(high=HHV(HIGH,30))=12 or HHVBARS(HIGH,30)=12 or barslast(high=HHV(HIGH,16))=12 or HHVBARS(HIGH,16)=12,low,'13'),colorff00ff;
DRAWTEXT(barslast(high=HHV(HIGH,30))=15 or HHVBARS(HIGH,30)=15 or barslast(high=HHV(HIGH,130))=15 or HHVBARS(HIGH,30)=15,low,'16'),colorff00ff;
DRAWTEXT(barslast(high=HHV(HIGH,30))=19 or HHVBARS(HIGH,30)=19 or barslast(high=HHV(HIGH,30))=19 or HHVBARS(HIGH,30)=19,low,' 20'),colorff00ff;
DRAWTEXT( BARSLAST(LOW=LLV(LOW,12))=7 OR LLVBARS(LOW,12)=7 ,HIGH,'8'),coloryellow ;DRAWTEXT( BARSLAST(HIGH=HHV(HIGH,13))=7 OR HHVBARS(HIGH,1)=7,LOW,'8'),colorff00ff;
DRAWTEXT( BARSLAST(HIGH=HHV(HIGH,13))=6 OR HHVBARS(HIGH,1)=6,LOW,'7'),colorff00ff;
DRAWTEXT( BARSLAST(LOW=LLV(LOW,12))=4 OR LLVBARS(LOW,12)=4 ,HIGH,'5'),coloryellow ;DRAWTEXT( BARSLAST(HIGH=HHV(HIGH,13))=4 OR HHVBARS(HIGH,1)=4,LOW,'5'),colorff00ff;
{向下跳空缺口}
I1:=0;
flag1:=0;
while I1<BARSLAST(DISPSTATUS=1)-BARSLAST(DISPSTATUS=2)
DO
IF REF(H,I1)<REF(L,I1+1) AND REF(L,I1+1)>HHV(H,I1+1)
THEN BEGIN FLAG1:=1;
S1:=I1;
I1:=BARSLAST(DISPSTATUS=1);
END
ELSE I1:=I1+1;
STICKLINE(FLAG1,REF(L,S1+1),HHV(H,S1+1),(s1+1)*20,0),ColorC0C0C0,ALIGN1,LAYER7;
DRAWTEXT(flag1,REF(L,s1+1),NUMTOSTRN(ref(l,s1+1),2)+'-'+NUMTOSTRN(hhV(h,S1+1),2)),ALIGN2,COLORgreen;
{向上跳空缺口}
I:=0;
flag:=0;
while I<BARSLAST(DISPSTATUS=1)-BARSLAST(DISPSTATUS=2)
DO
IF REF(L,I)>REF(H,I+1) AND REF(H,I+1)<LLV(LOW,I+1)
THEN BEGIN FLAG:=1;
S:=I;
I:=BARSLAST(DISPSTATUS=1);
END
ELSE I:=I+1;
STICKLINE(FLAG,REF(h,S+1),LLV(LOW,S+1),20*(s+1),500),ColorC0C0C0,ALIGN1,LAYER7;
DRAWTEXT(FLAG,REF(H,s+1),NUMTOSTRN(ref(h,s+1),2)+'-'+NUMTOSTRN(LLV(LOW,S+1),2)),ALIGN2,COLORred;
|
|
|