手机端
当前位置:爱约股 > 飞狐 > 提示主图飞狐指标公式

提示主图飞狐指标公式

提示主图:
LW05:=MA(C,5);
LW10:=MA(C,10);
LW30:=MA(C,30);
五日乖离率:=(C-LW05)/LW05*100;
三拾日乖离率:=(C-LW30)/LW30*100;
JL05:=ATAN((LW05/REF(LW05,1)-1)*100)*180/3.1416;
JL10:=ATAN((LW10/REF(LW10,1)-1)*100)*180/3.1416;
JL30:=ATAN((LW30/REF(LW30,1)-1)*100)*180/3.1416;
速度5:=SMA(EMA((LW05-REF(LW05,1))/REF(LW05,1),3)*100,3,1);
加速度5:=EMA((速度5-REF(速度5,1)),3);
强势狙击:=FILTER(JL30>30 AND JL10>45 AND CROSS(JL05,60),10);
加仓:=FILTER(COUNT(CROSS(JL05,30),5)>=1 AND LW05>REF(LW05,1)AND 三拾日乖离率
>REF(三拾日乖离率,1) AND LW10>REF(LW10,1)AND 加速度5>REF(加速度5,1) AND
速度5>REF(速度5,1),10) ;
清仓:=FILTER(COUNT(CROSS(30,JL05),5)>=1 AND (C>LW30 OR O>LW30) AND LW05<
REF(LW05,1)AND 三拾日乖离率<REF(三拾日乖离率,1) AND LW10<REF(LW10,1),10);
MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND
LW05>REF(LW05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<LW30;
JL:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) AND LW10>REF(LW10,1) ;
减仓:=FILTER(JL,10);
买入:=FILTER(MR,10);
DRAWTEXT(减仓,HIGH*1.02,'减仓'),COLORFF99FF;
DRAWTEXT(加仓 ,LOW*0.98,'←加仓'),COLORRED;
DRAWTEXT(买入,LOW*0.98,'←买入'),COLORYELLOW;
DRAWTEXT(清仓,HIGH*1.02,'←清仓'),COLORGREEN;
DRAWTEXT(强势狙击,LOW*0.98,'←强势狙击'),COLORYELLOW;

GKDZ:=O>ref(h,1) and (o/REF(C,1)-1)*100>5 and (C/REF(C,1)-1)*100<4 and
VOL>REF(VOL, 1)*2;
DRAWTEXT(GKDZ,HIGH*1.02,'☆'),COLORGREEN;
EXPLAIN(GKDZ,'高位出现是见顶信号'),colorFFFF;
DKGZ:=O<ref(l,1) and (o/REF(C,1)-1)*100>5 and (C/REF(C,1)-1)*100>3 and
VOL>REF(VOL, 1)*2;
DRAWTEXT(DKGZ ,LOW*0.98,'★'),COLORRED;
EXPLAIN(DKGZ,'低位出现是见底信号'),colorFFFF;

DRAWTEXT(CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20))
,HIGH*1.01,'☆');
VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;
VAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);
DRAWICON(CROSS(VAR2,VAR3),HIGH*1.035,2);
DRAWTEXT(CROSS(VAR2,VAR3),HIGH*1.02,'卖出'), COLORGREEN;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
买入线:=IF(CROSS(K,15),100,0);
DRAWTEXT(买入线,L*0.99,'←KD底'),colorff00ff;
买出线:=IF(CROSS(K,80),100,0);
DRAWTEXT(买出线,h*1.02,'←KD顶'), colorwhite ;

LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100;
买入线:=IF(CROSS(RSI1,20),100,0);
DRAWTEXT(买入线,L*0.99,'←RSI底'), COLORRED ;
买出线:=IF(CROSS(RSI1,80),100,0);
DRAWTEXT(买出线,h*1.02,'←RSI顶'),COLORCYAN;
WR:="W&R"(14);
DRAWICON(FILTER(CROSS(WR,(0 - 81)),10),L,4);//威廉买点↑ ↓
DRAWICON(FILTER(CROSS((0 -19),WR),10),H*1.01,5);//威廉卖点
DRAWTEXT(FILTER(CROSS(WR,(0 - 81)),21),L*0.99,'威廉买'),ALIGN0,COLORRED;//威廉买点
DRAWTEXT(FILTER(CROSS(0 -19,WR),21),H*1.01,'威廉卖'),ALIGN2,COLORGREEN;//威廉卖点

TYP := (HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
买入线:=IF(CROSS(CCI,-160),100,0);
DRAWTEXT(买入线,L*0.99,'←CCI底'),COLOR0099FF ;
买出线:=IF(CROSS(CCI,200),100,0);
DRAWTEXT(买出线,h*1.02,'←CCI顶'),COLORYELLOW ;
Var3:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
Var4:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
Var5:=Var3 AND Var4;
DRAWTEXT(Var5,LOW,'★ '),coloryellow , ;
极品底:=if((ma(c,5)-c)/c>0.04 and (ma(c,10)-ma(c,5))/ma(c,5)>0.04,50,0),COLORWHITE;
DRAWTEXT(极品底=50,LOW,'★ ');
压力:MA(C,12)*IF(CAPITAL=0,1.035,1.12),LINETHICK1;
支撑:MA(C,10)*IF(CAPITAL=0,0.965,0.92),LINETHICK1;
MA5:=MA(((SLOPE(C,4)*5)+C),5),COLORWHITE,LINETHICK2;
MA18:=MA(((SLOPE(C,10)*5)+C),18);
TJ1:=REF(MA5,1)<MA5 AND REF(MA5,1)<REF(MA5,2) AND REF(MA5,2)<REF(MA18,2) AND
RANGE(REF(MA5,2),REF(MA5,1),REF(MA5,3)) AND REF(支撑,1)/REF(MA5,1)>=0.98;
TJ2:=REF(MA5,1)>压力 AND REF(MA5,1)>REF(MA5,2) AND REF(MA5,1)>MA5;
DRAWICON(TJ1,LOW*0.94,1);
DRAWICON(TJ2,1.02*HIGH,2);

MASS:=SUM(EMA((HIGH-LOW),9)/EMA(EMA((HIGH-LOW),9),9),25);
XH01:=CROSS(26.5,MASS);
DRAWTEXT(XH01,h*1.02,'←MASS转向'),COLORYELLOW ;
EXPLAIN(XH01,'MASS指标提示走势小心转向!');
AA1:=AMOUNT/V;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
FF1:=BB1 AND CC1 AND DD1 AND EE1;
DRAWTEXT(FF1,(LOW* 0.97),'老鼠仓'),COLOR4080FF;
x1:=EMA(C,7);
drawtext(filter(MA(CLOSE,20) and MA(CLOSE,10) and count(x1<ref(x1,1),5)>2 and x1>ref(x1,1),3),l-0.01,'短↑进'),ColorFFFFFF;
TY:=C;
HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);
LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10);
A:=REF(C,BARSLAST(HD));
B:=REF(C,BARSLAST(LD));
T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
波浪顶:IF(T1,A,A),COLORFF00FF,POINTDOT,LINETHICK4;
{STICKLINE(T1,A,A,9,0),COLORFF00FF;}
波浪底:IF(T2,B,B),COLOR80FF00,POINTDOT,LINETHICK4;
s:=NUMTOSTR(DAYS1970-DATETOD1970(REF( DATE,BARSLAST(LD) ) ),0 );
s1:=NUMTOSTR(DAYS1970-DATETOD1970(REF( DATE,BARSLAST(HD) ) ),0 );
s2:=NUMTOSTR(H,2 );
s3:=NUMTOSTR(L,2 );
DRAWTEXT(HD,H*(1+0.03),s2),COLORRED,ALIGN0;
DRAWTEXT(LD,L*(1.001-0.03),s3),COLORGREEN,ALIGN0;
DRAWTEXT(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW*0.99,'←B') , COLORRED;
DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.008,'←S') ;

 

提示主图(飞狐)

 

提示主图(飞狐)的选股公式如下:

分享至:

相关推荐

股票推荐公式