飞狐双周期MACD指标公式,飞狐草上飞主图指标公式
admin888
|飞狐双周期MACD指标公式,飞狐草上飞主图指标公式
飞狐双周期MACD指标公式
difF:ema(CLOSE,24) - Ema(CLOSE,52),COLORCC33CC;
DEA:EMA(DIFF,18),color66CC00;
FILLRGN(DIFF>DEA,DIFF,DEA),COLORCC33CC;
FILLRGN(DIFF
DIFF本:EMA(CLOSE,12) - EMA(CLOSE,26),COLORWHITE,LINETHICK1;
DEA本:EMA(DIFF本,9),COLORYELLOW,LINETHICK1;
macd:2*(DIFF本-DEA本),COLORstICK ;
A2:=IF(crOSS(0,DEA本),1,0);
A12:=IF(DIFF本>0 AND CROSS(DIFF本,DEA本),1,0);
SS2:=IF(A2,SUM(A12,0),0);
SSB2:=HHV(SS2,0);
SSS2:=SUM(A12,0);
轴上第1次金叉:=IF(SSS2-SSB2=1 AND SSS2>REF(SSS2,1),1,0);
DRAWTEXT(FILTER(轴上第1次金叉>0,5),DIFF本,'轴上第1次'),COLORWHITE;
A22:=IF(CROSS(DEA本,0),1,0);
A212:=IF(DIFF本<0 AND CROSS(DIFF本,DEA本),1,0);
SS22:=IF(A22,SUM(A212,0),0);
SSB22:=HHV(SS22,0);
SSS22:=SUM(A212,0);
轴下第2次金叉:=IF(SSS22-SSB22>1 AND SSS22>REF(SSS22,1),1,0);
DRAWTEXT(FILTER(轴下第2次金叉>0,5),DEA,'轴下2次'),COLORYELLOW;
DRAWTEXT(REF(MacD,1)>0 AND MACD<0,MACD,'1');
DRAWTEXT(REF(MACD,2)>0 AND REF(MACD,1)<0 AND MACD<0,MACD,'2');
DRAWTEXT(REF(MACD,3)>0 AND REF(MACD,2)<0 AND REF(MACD,1)<0 AND MACD<0,MACD,'3');
DRAWTEXT(REF(MACD,4)>0 AND REF(MACD,3)<0 AND REF(MACD,2)<0 AND REF(MACD,1)<0 AND MACD<0,MACD,'4');
DRAWTEXT(REF(MACD,5)>0 AND REF(MACD,4)<0 AND REF(MACD,3)<0 AND REF(MACD,2)<0 AND REF(MACD,1)<0 AND MACD<0,MACD,'5');
DRAWTEXT(REF(MACD,6)>0 AND REF(MACD,5)<0 AND REF(MACD,4)<0 AND REF(MACD,3)<0 AND REF(MACD,2)<0 AND REF(MACD,1)<0 AND MACD<0,MACD,'6');
倍量:=(V/REF(V,1)>=1.91 AND COUNT(C>O,1)) OR (L>REF(H,1) AND COUNT(O>C,1) AND V/REF(V,1)>=1.91);
百日低量:=REF(V,1)<=REF(LLV(V,100),1);
平量:=REF(V,2)<=REF(LLV(V,100),2) AND Abs(REF(V,1)-REF(V,2))/REF(V,2)<=0.03;
XG:=倍量 AND (百日低量 OR 平量);
QJJ:=vol/((H-L)*2-ABS(C-O));
XVL:=IF(C>O,QJJ*(H-L),IF(C
HSL:=XVL/23;
流量:=HSL+REF(HSL,1)+REF(HSL,2);
LLJX:=EMA(流量,3);
量:=REF(LLJX,1)<=0 AND LLJX>0 AND HSL>0 AND XG;
DRAWTEXT(FILTER(量>0,5),DIFF,'倍量'),COLORGREEN;
飞狐草上飞主图指标公式
A1:=(ema((OPEN+HIGH+LOW+CLOSE)/4,3)+Ema((OPEN+HIGH+LOW+CLOSE)/4,6)+EMA((OPEN+HIGH+LOW+CLOSE)/4,9))/3;
A2:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,5)+EMA((OPEN+HIGH+LOW+CLOSE)/4,10)+EMA((OPEN+HIGH+LOW+CLOSE)/4,20))/3;
A3:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,7)+EMA((OPEN+HIGH+LOW+CLOSE)/4,14)+EMA((OPEN+HIGH+LOW+CLOSE)/4,28))/3;
A4:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,9)+EMA((OPEN+HIGH+LOW+CLOSE)/4,18)+EMA((OPEN+HIGH+LOW+CLOSE)/4,36))/3;
A5:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,11)+EMA((OPEN+HIGH+LOW+CLOSE)/4,22)+EMA((OPEN+HIGH+LOW+CLOSE)/4,44))/3;
A6:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,13)+EMA((OPEN+HIGH+LOW+CLOSE)/4,26)+EMA((OPEN+HIGH+LOW+CLOSE)/4,52))/3;
A7:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,21)+EMA((OPEN+HIGH+LOW+CLOSE)/4,34)+EMA((OPEN+HIGH+LOW+CLOSE)/4,68))/3;
VAR1:=FORCAst(A1,6);
VAR2:=FORCAST(A2,6);
VAR3:=FORCAST(A3,6);
VAR4:=FORCAST(A4,6);
VAR5:=FORCAST(A5,6);
VAR6:=FORCAST(A6,6);
VAR7:=FORCAST(A7,6);
PARTLINE(VAR7>=REF(VAR7,1) ,VAR7)COLORRED LINETHICK2;
towERC:=FORCAST(EMA((3*CLOSE+2*OPEN+HIGH+LOW)/7,3),6);
DIRECTIONMAX:=MAX(REF(TOWERC,1),REF(TOWERC,1));
DIRECTIONMIN:=MIN(REF(TOWERC,1),REF(TOWERC,1));
STICKLINE(TOWERC>=REF(TOWERC,1),TOWERC,DIRECTIONMAX,4,0),COLOR0000FF;
if(TOWERC>=REF(TOWERC,1) and ref(TOWERC,1)
DRAWICON(TOWERC>=REF(TOWERC,1) and ref(TOWERC,1)
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。