%> 飞狐未来英豪主图指标公式_股票资源网
飞狐未来英豪主图指标公式 2354

input:S(7,1,100),M(60,3,300),N3(0.07000000029802,0,1),N(0.07,0,1),MQ(28,1,150),NQ(13,1,100);

A:=(FFT(CLOSE,M) * (1 + N3));

B:=(FFT(CLOSE,M) * (1 - N3));

PARTLINE((A > REF(A,1)),A),colorFF;

PARTLINE((B > REF(B,1)),B),colorFF;

PARTLINE((A <= REF(A,1)),A),colorFF00;

PARTLINE((B <= REF(B,1)),B),colorFF00;

AA:=(FFT(CLOSE,S) * (1 + (N3 / 2)));

BB:=(FFT(CLOSE,S) * (1 - (N3 / 2)));

PARTLINE((AA > REF(AA,1)),AA),colorEE7766;

PARTLINE((BB > REF(BB,1)),BB),colorEE7766;

PARTLINE((AA <= REF(AA,1)),AA),colorEE7766;

PARTLINE((BB <= REF(BB,1)),BB),colorEE7766;

input:S1(10,1,100),M1(60,3,300),N1(0.09000000029802,0,1);

A1:=(FFT(CLOSE,M1) * (1 + 1.2*N1));

B1:=(FFT(CLOSE,M1) * (1 - 1.2*N1));

PARTLINE((A1 > REF(A1,1)),A1),colorwhite,linethick2;

PARTLINE((B1 > REF(B1,1)),B1),colorwhite,linethick2;

PARTLINE((A1 <= REF(A1,1)),A1),colorFF00,linethick2;

PARTLINE((B1 <= REF(B1,1)),B1),colorFF00,linethick2;

A11:=(FFT(CLOSE,M1) * (1 + 0.7*N1));

B11:=(FFT(CLOSE,M1) * (1 - 0.7*N1));

PARTLINE((A11 > REF(A11,1)),A11),colorwhite,linethick2;

PARTLINE((B11 > REF(B11,1)),B11),colorwhite,linethick2;

PARTLINE((A11 <= REF(A11,1)),A11),colorFF00,linethick2;

PARTLINE((B11 <= REF(B11,1)),B11),colorFF00,linethick2;

MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;

牛线: (20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,,POINTDOT,colorFFFF;

马线:MA(牛线,6),colorFF,POINTDOT;

五日线:MA(CLOSE,5),POINTDOT,color1;

水平面:MA(CLOSE,60),POINTDOT,colorFFFF;

VAR2:=1;

VAR3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),18)/4;

VAR4:=IF(1,IF(VAR3>23.16,VAR3,0),0);

VAR5:=VAR3<10;

VAR6:=VAR3<2;

VAR7:=VAR5 OR VAR6;

DRAWICON(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW*0.98,1);

DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.02,2);

DRAWICON(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW*1.02,1);

{n 5}

V1:=MA(HIGH,30)*1.15;

V2:=MA(HIGH,3)*1.03;

V3:=MA(LOW,3)*0.97;

V4:=MA(LOW,30)*0.85;

{}

GET:ZIG(3,N),COLORYELLOW;

PL5:=ZIG(3,5);

EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);

EX1:=ZIG(3,5)<REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)>=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);

PL10:=ZIG(3,10);

EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3);

EX2:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3);

PL20:=ZIG(3,20);

EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3);

EX3:=ZIG(3,20)<REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)>=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);

PL40:=ZIG(3,40);

走强1:=BARSLAST(PL5<REF(PL5,1));

走弱1:=BARSLAST(PL5>REF(PL5,1));

走强2:=BARSLAST(PL10<REF(PL10,1));

走弱2:=BARSLAST(PL10>REF(PL10,1));

走强3:=BARSLAST(PL20<REF(PL20,1));

走弱3:=BARSLAST(PL20>REF(PL20,1));

ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);

ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);

DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0);

DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0);

ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);

ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);

DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);

DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);

DRAWTEXT(EN1 AND DTJZ5=1,L*0.98,'㈠'),COLORFFFF00;

DRAWTEXT(EX1 AND DTJD5=2,H*1.02,'㈡'),COLORFFFF00;

DRAWTEXT(EN2 AND ZTJZ5=1,L*0.98,'㈢'),COLORFFFF00;

DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJD5=1,H*1.02,'⑴'),COLOR0000FF;

DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2,L*0.98,'⑵'),COLOR0000FF;

DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJZ5=2,H*1.02,'⑶'),COLOR0000FF;

DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=3,L*0.98,'⑷'),COLOR0000FF;

DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.02,'⑸'),COLOR0000FF;

DRAWTEXT(EN2 AND DTJZ10=1,L*0.94,'Ⅰ'),COLORFF6000;

DRAWTEXT(EX2 AND DTJD10=2,H*1.06,'Ⅱ'),COLORFF6000;

DRAWTEXT(EN3 AND ZTJZ10=1,L*0.94,'Ⅲ'),COLORFF6000;

DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.06,'①'),LINETHICK3,COLOR00FFFF;

DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2,L*0.94,'②'),LINETHICK3,COLOR00FFFF;

DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=2 OR (ZTJD10=0 OR ZTJD10=2) AND EX2,H*1.06,'③'),LINETHICK3,COLOR00FFFF;

DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=3,L*0.94,'④'),LINETHICK3,COLOR00FFFF;

A1:=AMOUNT / VOL;

A2:=LOW < (A1 * 0.9);

A3:=(((CLOSE - (REF(CLOSE,1))) / (REF(CLOSE,1))) * 100) > 1.2;

A4:=LOW < ((MA(CLOSE,5)) * 0.921);

A5:=VOL < ((MA(VOL,5)) * 1.5);

FF1:((A2 AND A3) AND A4) AND A5,linethick0;

DRAWTEXT(FF1,(LOW * 0.95),'底在眼前'),linethick4,colorGreen;

{股票教程网-股票公式网站 www.gwgz.net}

A:=100-90*(HHV(HIGH,MQ)-CLOSE)/(HHV(HIGH,MQ)-LLV(LOW,MQ));

B:=100-MA(100*(HHV(HIGH,NQ)-CLOSE)/(HHV(HIGH,NQ)-LLV(LOW,NQ)),28);

DRAWICON(CROSS(A,B),LOW*0.988,10);

DRAWICON(CROSS(B,A),HIGH*1.017,12);

STICKLINE(A>=B,LOW,HIGH,1,0),colorFF;

STICKLINE(A>=B,CLOSE,OPEN,8,0),colorAA;

STICKLINE(A>=B,CLOSE,OPEN,3,0),colorCC;

STICKLINE(A>=B,CLOSE,OPEN,2,0),colorDD;

STICKLINE(A>=B,CLOSE,OPEN,1,0),colorFF;

STICKLINE(A<B,HIGH,LOW,0.5,0),colorFF00;

STICKLINE(A<B,CLOSE,OPEN,8,1),colorFF00;

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.96),'短进'),COLORyellow;

DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW*0.978,'★买') ,LINETHICK2,COLOryellow;

DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.02,'★卖'),COLORyellow;

DRAWTEXT(CROSS(ZIG(3,14),REF(ZIG(3,14),1)),LOW*1.006,'底 '),COLORwhite;

DRAWTEXT(CROSS(REF(ZIG(3,13),1),ZIG(3,13)),HIGH*1.04,'顶 '),COLORWHITE;


 

{股票教程网-http://gpzyw.net承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}