文华K线形态解盘指标源码

[复制链接]
查看199 | 回复0 | 2021-8-22 16:23:47 | 显示全部楼层 |阅读模式

以下是文华K线形态解盘指标源码(无源码的请下载附件导入)

源码:
QQ:=ISLASTBAR;
 DRAWTEXT(QQ&&BACKSET(REF(CLOSE,2)/REF(OPEN,2)<0.95&&REF(OPEN,1)<REF(CLOSE,2)&&ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03&&CLOSE/OPEN>1.05&&CLOSE>REF(CLOSE,2),3),LOW,'早晨之星');
DRAWTEXT(QQ&&BACKSET(REF(CLOSE,2)/REF(OPEN,2)>1.03&&REF(OPEN,1)>REF(CLOSE,2)&&ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02&&CLOSE/OPEN<0.97&&CLOSE<REF(CLOSE,2),3),LOW,'黄昏之星');
DRAWTEXT(QQ&&CLOSE=OPEN&&HIGH<>LOW,LOW,'十字星');
DRAWTEXT(QQ&&CLOSE=OPEN&&HIGH/LOW>1.03,LOW,'长十字');
DRAWTEXT(QQ&&CLOSE=OPEN&&CLOSE=LOW&&CLOSE<>HIGH,LOW,'垂死十字');
DRAWTEXT(QQ&&BACKSET(REF(CLOSE,2)/REF(OPEN,2)<0.95&&REF(OPEN,1)<REF(CLOSE,2)&&REF(OPEN,1)=REF(CLOSE,1)&&CLOSE/OPEN>1.05&&CLOSE>REF(CLOSE,2),3),LOW,'早晨十字星');
DRAWTEXT(QQ&&BACKSET(REF(CLOSE,2)/REF(OPEN,2)>1.05&&REF(OPEN,1)>REF(CLOSE,2)&&REF(OPEN,1)=REF(CLOSE,1)&&CLOSE/OPEN<0.95&&CLOSE<REF(CLOSE,2),3),LOW,'黄昏十字星');
DRAWTEXT(QQ&&MIN(OPEN,CLOSE)=LOW&&HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW)&&CLOSE>MA(CLOSE,5),LOW,'射击之星');
DRAWTEXT(QQ&&MIN(OPEN,CLOSE)=LOW&&HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW)&&CLOSE<MA(CLOSE,5),LOW,'倒转锤头');
DRAWTEXT(QQ&&HIGH=MAX(OPEN,CLOSE)&&HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE))&&CLOSE<MA(CLOSE,5),LOW,'锤头');
DRAWTEXT(QQ&&HIGH=MAX(OPEN,CLOSE)&&HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE))&&CLOSE>MA(CLOSE,5),LOW,'吊颈');
DRAWTEXT(QQ&&BACKSET((REF(CLOSE,1)/REF(OPEN,1)>1.03&&CLOSE/OPEN<0.96&&CLOSE<REF(OPEN,1)&&OPEN>REF(CLOSE,1))||(REF(CLOSE,1)/REF(OPEN,1)<0.97&&CLOSE/OPEN>1.04&&CLOSE>REF(OPEN,1)&&OPEN<REF(CLOSE,1)),2),LOW,'穿头破脚');
DRAWTEXT(QQ&&BACKSET(REF(CLOSE,1)/REF(OPEN,1)>1.03&&CLOSE/OPEN<0.97&&OPEN>REF(CLOSE,1)&&CLOSE<REF(CLOSE,1),3),LOW,'乌云盖顶');
DRAWTEXT(QQ&&BACKSET(REF(CLOSE,1)/REF(OPEN,1)<0.97&&CLOSE/OPEN>1.03&&OPEN<REF(CLOSE,1)&&CLOSE>REF(CLOSE,1),2),LOW,'曙光初现');
DRAWTEXT(QQ&&BACKSET(ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)>0.04&&ABS(CLOSE-OPEN)/CLOSE<0.005&&MAX(CLOSE,OPEN)<MAX(REF(CLOSE,1),REF(OPEN,1))&&MIN(CLOSE,OPEN)>MIN(REF(CLOSE,1),REF(OPEN,1)),2),LOW,'身怀六甲');
DRAWTEXT(QQ&&BACKSET(ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)>0.04&&CLOSE=OPEN&&CLOSE<MAX(REF(CLOSE,1),REF(OPEN,1))&&CLOSE>MIN(REF(CLOSE,1),REF(OPEN,1)),2),LOW,'十字胎');
WWW.GSZB.COM:C,NODRAW;
 DRAWTEXT(QQ&&BACKSET(ABS(HIGH-REF(HIGH,1))/HIGH<0.001,2),LOW,'平顶');
DRAWTEXT(QQ&&BACKSET((ABS(LOW-REF(LOW,1))/LOW<0.001&&ABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1)<=0.001),2),LOW,'平底');
DRAWTEXT(QQ&&BACKSET(REF(CLOSE,2)>REF(OPEN,2)&&(REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>=2/100&&REF(OPEN,1)>=REF(CLOSE,1)&&(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100&&REF(OPEN,1)<=REF(CLOSE,2)&&REF(CLOSE,1)>=REF(OPEN,2)&&CLOSE>=OPEN&&(CLOSE-OPEN)/OPEN>=2/100&&CLOSE>=REF(OPEN,1)&&OPEN<=REF(CLOSE,1)&&(MAX(CLOSE,REF(CLOSE,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2))<=1/100,3),LOW,'孕育线');
DRAWTEXT(QQ&&BACKSET(REF(CLOSE,2)>REF(OPEN,2)&&REF(CLOSE,1)>REF(OPEN,1)&&CLOSE>OPEN&&REF(CLOSE,1)>REF(CLOSE,2)&&CLOSE>REF(CLOSE,1),3),LOW,'三个白武士');
DRAWTEXT(QQ&&BACKSET(REF(CLOSE,2)<REF(OPEN,2)&&REF(CLOSE,1)<REF(OPEN,1)&&CLOSE<OPEN&&REF(CLOSE,1)<REF(CLOSE,2)&&CLOSE<REF(CLOSE,1),3),LOW,'三只乌鸦');
DRAWTEXT(QQ&&BACKSET(REF(CLOSE,1)<REF(OPEN,1)&&CLOSE<OPEN&&CLOSE/OPEN<0.98,1),LOW,'双飞乌鸦');
DRAWTEXT(QQ&&(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667,LOW,'长下影');
DRAWTEXT(QQ&&(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667,LOW,'长上影');
DRAWTEXT(QQ&&BACKSET(OPEN=REF(OPEN,1)&&(CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))<0,2),LOW,'分离');
DRAWTEXT(QQ&&HIGH=CLOSE&&HIGH<>LOW,LOW,'光头阳线');
DRAWTEXT(QQ&&LOW=CLOSE&&HIGH<>LOW,LOW,'光脚阴线');
DRAWTEXT(QQ&&BACKSET(REF(CLOSE,4)/REF(OPEN,4)>1.03&&REF(CLOSE,3)<REF(OPEN,3)&&REF(CLOSE,2)<REF(OPEN,2)&&REF(CLOSE,1)<REF(OPEN,1)&&REF(LOW,4)<REF(LOW,3)&&REF(LOW,4)<REF(LOW,2)&&REF(LOW,4)<REF(LOW,1)&&REF(HIGH,4)>REF(HIGH,3)&&REF(HIGH,4)>REF(HIGH,2)&&REF(HIGH,4)>REF(HIGH,1)&&CLOSE/OPEN>1.03&&CLOSE>REF(CLOSE,4),5),LOW,'上升三部曲');
DRAWTEXT(QQ&&BACKSET(REF(CLOSE,4)/REF(OPEN,4)<0.97&&REF(CLOSE,3)>REF(OPEN,3)&&REF(CLOSE,2)>REF(OPEN,2)&&REF(CLOSE,1)>REF(OPEN,1)&&REF(LOW,4)<REF(LOW,3)&&REF(LOW,4)<REF(LOW,2)&&REF(LOW,4)<REF(LOW,1)&&REF(HIGH,4)>REF(HIGH,3)&&REF(HIGH,4)>REF(HIGH,2)&&REF(HIGH,4)>REF(HIGH,1)&&CLOSE/OPEN<0.97&&CLOSE<REF(CLOSE,4),5),LOW,'下跌三部曲');
DRAWTEXT(QQ&&CLOSE/OPEN>1.05&&HIGH/LOW<CLOSE/OPEN+0.018,LOW,'大阳烛');
DRAWTEXT(QQ&&OPEN/CLOSE>1.05&&HIGH/LOW<OPEN/CLOSE+0.018,LOW,'大阴烛');
DRAWTEXT(QQ&&BACKSET((REF(CLOSE,1)<REF(OPEN,1)&&CLOSE>OPEN&&ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002)||(REF(CLOSE,1)>REF(OPEN,1)&&CLOSE<OPEN&&ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002),2),LOW,'好友反攻');
DRAWTEXT(QQ&&BACKSET(HIGH<REF(LOW,1)||LOW>REF(HIGH,1),2),LOW,'跳空缺口');


点击复制上述代码粘贴到到公式管理器

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则