资源描述:
《大智慧形态图源码》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、大智慧形态图源码1.早晨之星:a1:=abs(close-open)/open<0.005and(high-low)/abs(close-open)>2;a2:=count(a1,2)=1andcount(a1,1)=0;a3:=ref(low,1)=llv(low,13)andref(c,1)=llv(c,13);backset(a2anda3,3)=3;2.黄昏之星:a1:=abs(close-open)/open<0.005and(high-low)/abs(close-open)>2;a2:=
2、count(a1,2)=1andcount(a1,1)=0;a3:=ref(high,1)=hhv(high,13)andref(c,1)=hhv(c,13);backset(a2anda3,3)=3;3.长十字:CLOSE=OPENANDHIGH<>closeandlow<>closeandHIGH/LOW>1.03;4.垂死丁字:CLOSE=OPENANDCLOSE=LOWANDCLOSE<>HIGH;5.早晨十字星:BACKSET(REF(CLOSE,2)/REF(OPEN,2)<0.95AND
3、REF(OPEN,1)[1.05ANDCLOSE>REF(CLOSE,2),3);6.黄昏十字星:BACKSET(REF(CLOSE,2)/REF(OPEN,2)>1.05ANDREF(OPEN,1)>REF(CLOSE,2)ANDREF(OPEN,1)=REF(CLOSE,1)ANDCLOSE/OPEN<0.95ANDCLOSE]4、LOSE)=LOWANDHIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW)ANDCLOSE>MA(CLOSE,5);8.倒转锤头:MIN(OPEN,CLOSE)=LOWANDHIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW)ANDCLOSE3*(HIGH-MIN(OPEN,CLOSE))ANDCLOSE5、E)ANDHIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE))ANDCLOSE>MA(CLOSE,5);11.穿头破脚:BACKSET((REF(CLOSE,1)/REF(OPEN,1)>1.03ANDCLOSE/OPEN<0.96ANDCLOSE[REF(CLOSE,1))OR(REF(CLOSE,1)/REF(OPEN,1)<0.97ANDCLOSE/OPEN>1.04ANDCLOSE>REF(OPEN,1)ANDOPEN]6、)),2);12.乌云盖顶:a1:=ref(close,1)/ref(open,1)<1.03andref(c,1)>ref(c,2);a2:=open>ref(close,1)andhigh>ref(high,1)andclose<(ref(close,1)+ref(open,1))/2;a3:=hhv(high,13)=high;backset(a1anda2anda3,2);13.曙光初现:a1:=ref(close,2)/ref(open,2)<0.95andref(c,2)7、;a2:=ref(open,1)[ref(close,2)andref(close,1)>(ref(close,2)+ref(open,2))/2;a3:=close>ref(close,1);a4:=llv(low,13)=ref(low,1);backset(a1anda2anda3anda4,3);14.身怀六甲:BACKSET(ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)>0.04ANDABS(CL]
8、OSE-OPEN)/CLOSE<0.005ANDMAX(CLOSE,OPEN)MIN(REF(CLOSE,1),REF(OPEN,1)),2);15.十字胎:BACKSET(ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)>0.04ANDCLOSE=OPENANDCLOSE