vol解盘指标公式源码[大智慧公式]
相关标签: al机构活跃度指标源代码 、 ai机构活跃度指标公式源码 、 机构活跃度指标源码 、 背离解盘主图通达信源码 、 通达信机构活跃度指标公式 、 活跃度指标公式副图 、 主力机构活跃度指标公式 、 机构活跃度指标 360 、 同花顺ai机构指标源码 、 expma两线指标公式源码 、 ai机构探测器指标源码 、 机构活跃度指标设置 、
喜欢解盘的朋友还可以在主图下面的“VOL"指标项添加解盘附注指标,复制以下源码粘贴到VOL指标源码里面,
原理解析:
源码:
早晨之星:=REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2);
黄昏之星:=REF(CLOSE,2)/REF(OPEN,2)>1.03 AND REF(OPEN,1)>REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2);
长十字:=CLOSE=OPEN AND HIGH/LOW >1.03;
垂死十字:=CLOSE=OPEN AND CLOSE=LOW AND CLOSE<>HIGH;
早晨十字星:=REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND
CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2);
黄昏十字星:=REF(CLOSE,2)/REF(OPEN,2)>1.05 AND REF(OPEN,1)>REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND
CLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2);
射击之星:=MIN(OPEN,CLOSE)=LOW AND HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE>MA(CLOSE,5);
倒转锤头:=MIN(OPEN,CLOSE)=LOW AND HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE<MA(CLOSE,5);
锤头:=HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE<MA(CLOSE,5);
吊颈:=HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5);
穿头破脚:=(REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.96 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1))
OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04 AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1));
乌云盖顶:=REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.97 AND OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1);
曙光初现:=REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.03 AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1);
身怀六甲:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)>0.04 AND ABS(CLOSE-OPEN)/CLOSE<0.005 AND
MAX(CLOSE,OPEN)<MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN)>MIN(REF(CLOSE,1),REF(OPEN,1));
十字胎:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)>0.04 AND CLOSE=OPEN AND
CLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE > MIN(REF(CLOSE,1),REF(OPEN,1));
平顶:=ABS(HIGH-REF(HIGH,1))/HIGH<0.001;
平底:=(ABS(LOW-REF(LOW,1))/LOW<0.001 AND ABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1)<=0.001);
大阳烛:=CLOSE/OPEN>1.05 AND HIGH/LOW<CLOSE/OPEN+0.018;
三个红武士:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND CLOSE>OPEN
AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1);
双飞乌鸦:=REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND CLOSE/OPEN<0.98;
孕育线:=REF(CLOSE,2)>REF(OPEN,2) AND (REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>=2/100 AND REF(OPEN,1)>=REF(CLOSE,1) AND
(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100 AND REF(OPEN,1)<=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND C>=OPEN AND
(CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) AND OPEN<=REF(CLOSE,1) AND (MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2))<=1/100;
多方炮:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN;
出水芙蓉:=(OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN<EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))
AND (V/MA(V,30)>1.2 AND C/REF(C,1)>1.049);
上升三部曲:=REF(CLOSE,4)/REF(OPEN,4)>1.03 AND REF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND
REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND
REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 AND CLOSE>REF(CLOSE,4);
下跌三部曲:= REF(CLOSE,4)/REF(OPEN,4)<0.97 AND REF(CLOSE,3)>REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) AND
REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 AND
CLOSE<REF(CLOSE,4);
跳空缺口:=HIGH<REF(LOW,1) OR LOW>REF(HIGH,1);
三只乌鸦:=REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND REF(CLOSE,1)<REF(CLOSE,2) AND CLOSE<REF(CLOSE,1);
光脚阴线:=LOW=CLOSE AND HIGH<>LOW;
光头阳线:=HIGH=CLOSE AND HIGH<>LOW;
分离:=OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))<0;
长下影:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667;
长上影:=(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667;
十字星:=CLOSE=OPEN AND HIGH<>LOW;
大阴烛:=OPEN/CLOSE > 1.05 AND HIGH/LOW < OPEN/CLOSE+0.018;
好友反攻:=(REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002)
OR (REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002);
倾盆大雨:=REF(C,1)/REF(O,1)>=1.03 AND O<REF(C,1) AND O>REF(O,1) AND C<REF(O,1);
VARBQ:=C=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<>HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND C<REF(C,1) AND C<REF(C,2);
主力吸筹:=VARBQ AND C>O AND H>=C AND L<=O;
AA:=CROSS(MA(C,5),MA(C,20)) AND CROSS(MA(C,5),MA(C,30)) AND CROSS(MA(C,5),MA(C,60));
BB:=MA(C,60)>MA(C,10) AND CROSS(MA(C,10),MA(C,30)) AND MA(C,30)>MA(C,20) AND ABS(MA(C,60)-MA(C,20))/MA(C,20)<0.05;
CC:=MA(C,30)>MA(C,5) AND CROSS(MA(C,5),MA(C,20)) AND MA(C,20)>MA(C,10);
DD:=ABS((MA(C,5)-MA(C,10))+(MA(C,10)-MA(C,20))+(MA(C,20)-MA(C,30)))<0.02 AND MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1);
EE:=MA(C,20)>MA(C,5) AND CROSS(MA(C,5),MA(C,10)) AND MA(C,10)>MA(C,60) AND ABS(MA(C,20)-MA(C,60))/MA(C,60)<0.05;
有庄出现:=AA OR BB OR CC OR DD OR EE ;
VAR6Q:=REF(CLOSE,1);
VAR7Q:=SMA(MAX(CLOSE-VAR6Q,0),6,1)/SMA(ABS(CLOSE-VAR6Q),6,1)*100;
注意卖出:=CROSS(84,VAR7Q);
TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);
筹码突破:=REF(count(C<TYX3,5)=5,1) AND C>TYX3 AND C>O;
粉变:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
DRAWFLAGTEXT(主力吸筹,4*V,'§主力吸筹,注意是在底部还是顶部!'),COLORWHITE;
DRAWFLAGTEXT(有庄出现,3*V,'庄家出现,关注!'),COLORFFFF00;
DRAWFLAGTEXT(买,3*V,'买入箭头,择机买入!'),COLOR0000FF;
DRAWFLAGTEXT(注意卖出,3*V,'▼注意卖出'),COLORGREEN;{http://www.cxh99.com}
DRAWFLAGTEXT(筹码突破,3*V,'筹码突破'),COLORYELLOW;{http://cxh99.com}
DRAWFLAGTEXT(粉变,3*V,'底部粉变,向上突破'),COLORFF00FF;
DRAWFLAGTEXT(粉变,3*V,'中期粉变,上涨继续'),COLORFF00FF;
DRAWFLAGTEXT(粉变,3*V,'顶部粉变,变盘向下'),COLORFF00FF;
DRAWFLAGTEXT(倾盆大雨,3*V,'倾盆大雨,见顶信号'),COLORFF00FF;
DRAWFLAGTEXT(大阴烛,3*V,'大阴烛,后市向淡,发生逆转'),COLORFF00FF;
DRAWFLAGTEXT(好友反攻,3*V,'好友反攻,底部反转'),COLORFF00FF;
DRAWFLAGTEXT(跳空缺口,3*V,'跳空缺口,注意向上还是向下跳空'),COLORFF00FF;
DRAWFLAGTEXT(光脚阴线,3*V,'光脚阴线,下跌信号'),COLORFFFF00;
DRAWFLAGTEXT(光头阳线,3*V,'光头阳线,后市看涨'),COLORFF00FF;
DRAWFLAGTEXT(三只乌鸦,3*V,'三只乌鸦,可能见顶回落'),COLORFFFF00;
DRAWFLAGTEXT(分离,3*V,'分离,注意看涨分离和看跌分离'),COLORWHITE;
DRAWFLAGTEXT(长下影,3*V,'长下影,持续下跌后出现,有可能止跌回升'),COLORWHITE;
DRAWFLAGTEXT(长下影,3*V,'长下影,在升势末期出现,须多加留意'),COLORFFFF00;
DRAWFLAGTEXT(长上影,3*V,'长上影,表明行情上档压力沉重,升势受阻'),COLORFFFF00;
DRAWFLAGTEXT(下跌三部曲,3*V,'下跌三部曲,下跌信号'),COLORFFFF00;
DRAWFLAGTEXT(上升三部曲,3*V,'上升三部曲,上涨信号'),COLORFF00FF;
DRAWFLAGTEXT(早晨之星,3*V,'早晨之星,见底回升'),COLORFF00FF;
DRAWFLAGTEXT(黄昏之星,3*V,'黄昏之星,见顶回落'),COLORFFFF00;
DRAWFLAGTEXT(十字星,c,'十字星,有转向意味,注意股价位置在顶部还是底部'),COLORFF00FF;
DRAWFLAGTEXT(长十字,c,'长十字,注意在顶部还是底部'),COLORFF00FF;
DRAWFLAGTEXT(垂死十字,c,'垂死十字,下跌信号'),COLORFFFF00;
DRAWFLAGTEXT(早晨十字星,c,'早晨十字星,上涨信号,见底回升'),COLORFF00FF;
DRAWFLAGTEXT(黄昏十字星,c,'黄昏十字星,下跌信号,见顶回落'),COLORFFFF00;
DRAWFLAGTEXT(射击之星,c,'射击之星,可能见顶回落,可靠性低'),COLORFFFF00;
DRAWFLAGTEXT(倒转锤头,c,'倒转锤头,可能见底回升'),COLOR0000FF;
DRAWFLAGTEXT(锤头,c,'锤头,可能见底回升,如有量配合,信号强烈'),COLOR0000FF;
DRAWFLAGTEXT(吊颈,c,'吊颈,上升行情中见顶回落,顶部出现,见顶信号'),COLORFFFF00;
DRAWFLAGTEXT(平顶,c,'平顶,温和的反转'),COLORWHITE;
DRAWFLAGTEXT(穿头破脚,c,'穿头破脚,顶部出现,见顶回落信号'),COLORFFFF00;
DRAWFLAGTEXT(乌云盖顶,c,'乌云盖顶,见顶回落信号'),COLORFFFF00;
DRAWFLAGTEXT(曙光初现,c,'曙光初现,后市见底回升'),COLOR0000FF;
DRAWFLAGTEXT(身怀六甲,c,'身怀六甲,出现在底部,是见底回升信号!'),COLORFF00FF;
DRAWFLAGTEXT(身怀六甲,c,'身怀六甲,出现在顶部,是见顶回落信号!'),COLORFF00FF;
DRAWFLAGTEXT(十字胎,c,'十字胎'),COLORFF00FF;
DRAWFLAGTEXT(平底,c,'平底,温和的反转'),COLORWHITE;
DRAWFLAGTEXT(大阳烛,c,'大阳烛,看涨'),COLOR0000FF;
DRAWFLAGTEXT(三个红武士,c,'三个红武士,每日收盘价上移,表示可能见底回升'),COLORFF00FF;
DRAWFLAGTEXT(双飞乌鸦,c,'双飞乌鸦,行情将见顶回落'),COLORFFFF00;
DRAWFLAGTEXT(孕育线,c,'孕育线,注意股价位置'),COLORWHITE;
DRAWFLAGTEXT(多方炮,c,'在底部的多方炮,有上涨意味'),COLOR0000FF;
DRAWFLAGTEXT(多方炮,c,'在中间的多方炮,可能是上涨中继'),COLOR0000FF;
DRAWFLAGTEXT(多方炮,c,'在顶部的多方炮,是复合见顶信号'),COLOR0000FF;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容