飞狐魔鬼线主图指标公式,飞狐机构筹码分析指标公式
admin888
|飞狐魔鬼线主图指标公式,飞狐机构筹码分析指标公式
飞狐魔鬼线主图指标公式
P1:=15;
stICKLINE(CLOSE>=OPEN,OPEN,CLOSE,7,1),colorFF;
STICKLINE(OPEN>CLOSE,CLOSE,OPEN,7,0),colorFF00;
STICKLINE(CLOSE>=OPEN,CLOSE,HIGH,0,1),colorFF;
STICKLINE(CLOSE>=OPEN,OPEN,LOW,0,1),colorFF;
STICKLINE(OPEN>CLOSE,CLOSE,LOW,0,0),colorFF00;
STICKLINE(OPEN>CLOSE,OPEN,HIGH,0,0),colorFF00;
魔鬼线:ma(CLOSE,P1),LINETHICK0,colorFF;
DRAWTEXT(REF(魔鬼线,1)>魔鬼线,魔鬼线,'*'),PXUP2,colorFF00;
DRAWTEXT(REF(魔鬼线,1)<魔鬼线,魔鬼线,'*'),PXUP2,colorFF;
一家精品:=ema(EMA(EMA(CLOSE,2),2),2);
绝:MA(一家精品,13)*0.99,LINETHICK2,color6699;
胜:MA(一家精品,13)*0.999,LINETHICK2,colorDDDDDD;
司:6*HHV(绝,3)-5*绝,LINETHICK2,colorFFFF;
南:6*HHV(胜,4)-5*胜,LINETHICK2,colorFF0033;
M1:=MA(CLOSE,5);
M2:=MA(CLOSE,10);
M3:=MA(CLOSE,20);
M4:=MA(CLOSE,60);
M5:=MA(CLOSE,120);
PM3:=MA(CLOSE,30);
DRAWICON(M1>M2 AND M2>M3 AND M2>M4 AND M2>M5 AND M2>PM3 AND REF(M1,1)
BB:=BARPOS=SYSPARAM(1);
VARIABLE:WDAY[7]='星期六';
WDAY[1]:='星期日';
WDAY[2]:='星期一';
WDAY[3]:='星期二';
WDAY[4]:='星期三';
WDAY[5]:='星期四';
WDAY[6]:='星期五';
FY:=YEAR;
FM:=MONTH;
FD:=DAY;
WD:=WEEkdAY;
P:=SYSPARAM(1);
STR1:='今天是:'+NUMTOSTR(FY[P],0)+'年'+NUMTOSTR(FM[P],0)+'月'+NUMTOSTR(FD[P],0)+'日, '+WDAY[WD[P]+1];
EXPLAIN(BARPOS=P,STR1),colorFF;
EXPLAIN(1,STKLABEL+STKNAME+'\n所属板块:'+BLKNAME),colorFFFF80;
EXPLAIN(CLOSE>0,'〓 K 线形态分析 〓 '),colorFFFFFF;
★早晨之星:=REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)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
★长十字:=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)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
★射击之星:=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
★锤头:=HIGH=MAX(OPEN,CLOSE) AND HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE
★吊颈:=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 CLOSEREF(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(OPEN,1)>1.03 AND CLOSE/OPEN<0.97 AND OPEN>REF(CLOSE,1) AND CLOSE
★曙光初现:=REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.03 AND OPENREF(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)
★十字胎:=(ABS(REF(CLOSE,1)-REF(OPEN,1)))/REF(CLOSE,1)>0.04 AND CLOSE=OPEN AND CLOSE
★平顶:=(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
★红三兵:=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,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 CLOSE>=OPEN AND (CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) AND OPEN<=REF(CLOSE,1) AND (MAX(CLOSE,REF(CLOSE,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2))<=1/100;
★多方炮:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)OPEN;
★出水芙蓉:=(OPEN
★上升三部曲:=REF(CLOSE,4)/REF(OPEN,4)>1.03 AND REF(CLOSE,3)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(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 AND CLOSE
★跳空缺口:=HIGHREF(HIGH,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
★好友反攻:=REF(CLOSE,1)OPEN AND (ABS(CLOSE-REF(CLOSE,1)))/CLOSE<0.002 OR REF(CLOSE,1)>REF(OPEN,1) AND CLOSE
★倾盆大雨:=REF(CLOSE,1)/REF(OPEN,1)>=1.03 AND OPENREF(OPEN,1) AND CLOSE
EXPLAIN(★倾盆大雨,'★倾盆大雨★见顶信号;'),colorFFFF00;
EXPLAIN(★大阴烛,'★大阴烛★后市向淡,发生逆转;'),colorFFFF00;
EXPLAIN(★好友反攻,'★好友反攻★底部反转;'),colorFF;
EXPLAIN(★跳空缺口,'★跳空缺口★注意向上还是向下跳空;'),colorFFFFFF;
EXPLAIN(★光脚阴线,'★光脚阴线★下跌信号;'),colorFFFF00;
EXPLAIN(★光头阳线,'★光头阳线★后市看涨;'),colorFF;
EXPLAIN(★三只乌鸦,'★三只乌鸦★可能见顶回落;'),colorFFFF00;
EXPLAIN(★分离,'★分离★注意看涨分离和看跌分离;'),colorFFFFFF;
EXPLAIN(★长下影,'★长下影★持续下跌后出现,有可能止跌回升;在升势末期
出现,须多加留意;'),colorFF;
EXPLAIN(★长上影,'★长上影★表明行情上档压力沉重,升势受阻;'),colorFFFF00;
EXPLAIN(★下跌三部曲,'★下跌三部曲★下跌信号;'),colorFF;
EXPLAIN(★上升三部曲,'★上升三部曲★上涨信号;'),colorFFFF00;
EXPLAIN(★早晨之星,'★早晨之星★见底回升;'),colorFF;
EXPLAIN(★黄昏之星,'★黄昏之星★见顶回落;'),colorFFFF00;
EXPLAIN(★十字星,'★十字星★有转向意味,注意股价位置在顶部还是底部;
'),colorFFFFFF;
EXPLAIN(★长十字,'★长十字★注意在顶部还是底部;'),colorFFFFFF;
EXPLAIN(★垂死十字,'★垂死十字★下跌信号;'),colorFFFF00;
EXPLAIN(★早晨十字星,'★早晨十字星★上涨信号,见底回升;'),colorFF;
EXPLAIN(★黄昏十字星,'★黄昏十字星★下跌信号,见顶回落;'),colorFFFF00;
EXPLAIN(★射击之星,'★射击之星★可能见顶回落,可靠性低;'),colorFFFF00;
EXPLAIN(★倒转锤头,'★倒转锤头★可能见底回升;'),colorFF;
EXPLAIN(★锤头,'★锤头★可能见底回升,如有量配合,信号强烈;'),colorFF;
EXPLAIN(★吊颈,'★吊颈★上升行情中见顶回落,顶部出现,见顶信号;'),colorFFFF00;
EXPLAIN(★平顶,'★平顶★温和的反转;'),colorFFFF00;
EXPLAIN(★穿头破脚,'★穿头破脚★顶部出现,见顶回落信号;'),colorFFFF00;
EXPLAIN(★乌云盖顶,'★乌云盖顶★见顶回落信号;'),colorFFFF00;
EXPLAIN(★曙光初现,'★曙光初现★后市见底回升;'),colorFF;
EXPLAIN(★身怀六甲,'★身怀六甲★出现在底部,是见底回升信号;出现在顶部
,是见顶回落信号;'),colorFF;
EXPLAIN(★十字胎,'★十字胎★'),colorFF;
EXPLAIN(★平底,'★平底★温和的反转;'),colorFF;
EXPLAIN(★大阳烛,'★大阳烛★看涨;'),colorFF;
EXPLAIN(★红三兵,'★红三兵★每日
收盘价上移,表示可能见底回升;'),colorFF;
EXPLAIN(★双飞乌鸦,'★双飞乌鸦★行情将见顶回落;'),colorFFFF00;
EXPLAIN(★孕育线,'★孕育线★注意股价位置;'),colorFFFFFF;
EXPLAIN(★多方炮,'★多方炮★在底部出现有上涨可能,在中间出现有可能是
上涨中继,顶部出现是复合见顶信号;'),colorFF;
EXPLAIN(★出水芙蓉,'★出水芙蓉★见底回升;'),colorFF;
A001:=CLOSE-REF(CLOSE,6);
A002:=MA(A001,6);
A003:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
A004:=SMA(A003,3,1);
A005:=SMA(A004,3,1);
A006:=EMA(3*A004-2*A005,2);
A007:=(HIGH+LOW+CLOSE)/3;
A008:=(A007-MA(A007,14))/(0.015*AVEDEV(A007,14))/2;
A009:=(A008+EMA((-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))+100)/100,3)*200-100)/2;
A010:=A009-REF(A009,14);
A011:=A009-REF(A009,26);
A012:=(A009+A010+A011)/3;
KKM:=EMA(A012,4);
A013:=HHV(HIGH,34);
A014:=(2*CLOSE+HIGH+LOW)/4;
A015:=LLV(LOW,34);
A016:=EMA((A014-A015)/(A013-A015)*100,13);
A017:=EMA(0.667*REF(A016,1)+0.333*A016,2);
KKMD:=A016-A017>1 AND A016<30 AND A017<30;
KKML:=A016-A017<0 AND A016>80 AND A017>80 AND REF(A016-A017,1)>0;
KKMQ:=COUNT(A016-A017>0,2)=2;
KKAL:=A016-A017<0;
生命线:=MA(CLOSE,20);
取舍线:=MA(CLOSE,10);
EXPLAINICON(KKMD,4);
EXPLAINICON(KKAL,1);
EXPLAIN(KKMD,'最佳买入时机');
EXPLAIN(KKML,'最佳卖出时机');
EXPLAIN(KKMQ,'持仓区');
EXPLAIN(KKAL,'空仓区');
EXPLAIN(CLOSE/REF(CLOSE,1)>INDEXC/REF(INDEXC,1),'该股强于大盘');
EXPLAIN(CLOSE/REF(CLOSE,1),'该股强于大盘');
EXPLAIN(crOSS(MA(CLOSE,5),MA(CLOSE,10)),'可出手');
EXPLAIN(CROSS(MA(CLOSE,10),MA(CLOSE,5)),'收手了');
EXPLAIN(KKM>EMA(KKM,4) AND KKM>REF(KKM,1),'快速介入');
EXPLAIN(KKM>EMA(KKM,4) AND KKM
EXPLAIN(KKM
EXPLAIN(KKM
飞狐机构筹码分析指标公式
W: (SMA(WINNER(CLOSE),3,1) * 100),LINETHICK1,colorFF8080;
(Sma(WINNER(CLOSE),10,1) * 100),colorFF00;
PARTLINE(1,100),SHIFT6,colorFF8080;
PARTLINE(1,1),SHIFT6,colorFF8080;
PARTLINE(1,50),SHIFT6,colorFF8080;
W1:IF((W >= 10),W,0),LINETHICK0,colorFFFFFF;
W2:IF(((W >= 1) AND (W < 10)),(W * 10),0),LINETHICK0,colorFFFF;
W3:IF(((W >= 0.1) AND (W < 1)),(W * 100),0),LINETHICK0,colorFFFF00;
W4:IF(((W >= 0.01) AND (W < 0.1)),(W * 1000),0),LINETHICK0,colorFF80FF;
W5:IF(((W >= 0.001) AND (W < 0.01)),(W * 10000),0),LINETHICK0,colorFF0000;
W6:IF(((W >= 0.0001) AND (W < 0.001)),(W * 100000),0),LINETHICK0,colorFF00;
W7:IF(((W >= 0.00001) AND (W < 0.0001)),(W * 1000000),0),LINETHICK0,colorFF00FF;
stICKLINE(W1,0,W1,0.1,1),colorFFFFFF;
STICKLINE(W2,0,W2,3,1),colorFFFF;
STICKLINE(W3,0,W3,3,1),colorFFFF00;
STICKLINE(W4,0,W4,6,1),colorFF80FF;
STICKLINE(W5,0,W5,6,1),colorFF0000;
STICKLINE(W6,0,W6,6,1),colorFF00;
STICKLINE(W7,0,W7,6,1),colorFF00FF;
STICKLINE(((W * 100) = 0),0,36,8,1),colorFF;
PARTLINE(W1,W1),colorFFFFFF;
DRAWTEXT((BArslAST((W1 = 0)) = 1),0,'1'),colorFFFFFF;
DRAWTEXT((BARSLAST((W2 = 0)) = 1),0,'2'),colorFFFF;
DRAWTEXT((BARSLAST((W3 = 0)) = 1),0,'3'),colorFFFF00;
DRAWTEXT((BARSLAST((W4 = 0)) = 1),0,'4'),colorFF80FF;
DRAWTEXT((BARSLAST((W5 = 0)) = 1),0,'5'),colorFF0000;
DRAWTEXT((BARSLAST((W6 = 0)) = 1),0,'6'),colorFF00;
DRAWTEXT((BARSLAST((W7 = 0)) = 1),0,'7'),colorFF00FF;
DRAWTEXT((BARSLAST(((W * 100) = 0)) = 1),0,'8'),colorFF;
AA:=(WINNER((CLOSE + ((CLOSE * 15) / 100))) * 100);
BB:=(WINNER((CLOSE + ((CLOSE * 0) / 100))) * 100);
CC:=(AA - BB);
DD:=((WINNER((CLOSE - ((CLOSE * 0.1) / 100))) - WINNER((CLOSE - ((CLOSE * 15) / 100)))) * 100);
EE:=(((CC < 3) AND (DD < 0.5)) AND (OPEN <> LOW));
A1:=DYNAINFO(6);
A2:=IF((LOW > A1),0,IF((HIGH < A1),1,(((A1 - LOW) + 0.01) / ((HIGH - LOW) + 0.01))));
A3:=(vol/ WINNER(LOW));
A4:=REF(HHV(CLOSE,120),1);
A5:=REF(LLV(CLOSE,120),1);
A6:=((100 * (CLOSE - A5)) / (A4 - A5));
A7:=((A2 > 0) OR (A2 = 1));
A8:=((A7 AND ((A3 / REF(A3,3)) >= 3)) AND (A6 < 80));
A9:=(((REF(A8,1) OR REF(A8,2)) OR REF(A8,3)) OR REF(A8,4));
A10:=(A8 AND A9);
A11:=IF(FILTER(A8,3),5,0);
A12:=IF((FILTER(A10,3) OR EE),10,0);
进场:STICKLINE(A11,0,5,5,0),colorFF7700;
加仓:STICKLINE(A12,0,15,5,0),colorFF00FF;
STICKLINE(A11,0,5,5,0),colorFF7700;
STICKLINE(A11,0,5,4.5,0),colorFF8800;
STICKLINE(A11,0,5,4,0),colorFF9900;
STICKLINE(A11,0,5,3.5,0),colorFFAA00;
STICKLINE(A11,0,5,3,0),colorFFBB00;
STICKLINE(A11,0,5,2.5,0),colorFFCC00;
STICKLINE(A11,0,5,2,0),colorFFDD00;
STICKLINE(A11,0,5,1,0),colorFFEE00;
STICKLINE(A12,0,15,4.5,0),color102099;
STICKLINE(A12,0,15,4,0),color1020AA;
STICKLINE(A12,0,15,3.5,0),color1020BB;
STICKLINE(A12,0,15,3,0),color1020CC;
STICKLINE(A12,0,15,2.5,0),color1020DD;
STICKLINE(A12,0,15,2,0),color1020EE;
STICKLINE(A12,0,15,1,0),color1020FF;
DRAWTEXT(A11,8,'进场'),colorFFFF00;
DRAWTEXT(A12,17,'加仓'),colorFFFF;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。