飞狐两上一下指标公式,飞狐中分线指标公式
admin888
|飞狐两上一下指标公式,飞狐中分线指标公式
飞狐两上一下指标公式
X1:=ema(((2*C+H+L)/4-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,13)-21;
X2:=Ema(0.618*REF(X1,1)+0.382*X1,3);
if(x2>x1,x1,x1),colorff00ff;
if(x1>x2,x2,x1),color00ff00;
lmx1:=WINNER(CLOSE)*100;
lmx2:=100-lmx1;
lmx3:=Abs(lmx1-lmx2);
TD:=Backset(ISLAstBAR,1);
P:=SYSPARAM(1);
STICKLINE(TD,lmx3[P],0,3,0),COLORMAGENTA,shift2,align0,PXUP20;
STICKLINE(TD,lmx2[P],0,3,0 ),COLORCYAN,shift1,align0,PXUP20;
STICKLINE(TD,lmx1[P],0,3,0),COLORRED,shift3,align0,PXUP20;
DRAWTEXT(TD AND lmx1,lmx1[P],'牛'),COLORRED,shift3,align0,PXUP30;
DRAWTEXT(TD AND lmx2,lmx2[P],'熊'),COLORCYAN,shift1,align0,PXUP30;
DRAWTEXT(TD AND lmx3,lmx3[P],'马'),COLORMAGENTA,shift2,align0,PXUP30;
飞狐中分线指标公式
VAR1:=(ema(CLOSE,12)-Ema(CLOSE,26))*100+50;
VAR2:=EMA(VAR1,9);
VAR3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
VAR4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR5:=SMA(VAR4,13,8);
光阴:CEILING(SMA(VAR5,13,8));
VAR6:=SMA(VAR3,21,8);
各自睡觉(竖): IF(LONGcrOSS(VAR2,VAR1*0.95,7) AND VAR1>60,100,60),COLOR00FF00,stICK,LINETHICK2;
60,COLOR000000,STICK,LINETHICK2;
搂搂抱抱(横): IF(光阴-VAR6<-65,5,0),COLORFF00FF,CIRCLEDOT;0,CIRCLEDOT,COLOR000000;
开始打炮(竖): IF(LONGCROSS(VAR1,VAR2*1.05,15) AND VAR1<40,20,0),COLORRED,STICK,LINETHICK2;
0,COLOR000000,STICK,LINETHICK2;
高潮迭起(横): IF(光阴-VAR6>85,95,90),CIRCLEDOT,COLOR00FF00;90,CIRCLEDOT,COLOR000000;
90, POINTDOT;
0, POINTDOT;
中分线: 45, POINTDOT;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。