当前位置: 首页 > 文章教程  > 股票财经 > 炒股公式

飞狐通道精灵主图指标公式

5/13/2018 10:06:50 PM 人评论

AA:=FFT((C+O+L+H)/4,25);PARTLINE(AA<REF(AA,1),AA),COLORCYAN;PARTLINE(AA>REF(AA,1),AA),COLORRED;趋势线:=AA;TD上轨:=FFT(aa,30)*1.1;TD下轨:=FFT(aa,30)*0.9;PARTLINE(TD上轨 >REF(TD上轨,1),TD上轨),COLORWHITE;PARTLINE(TD上轨<=REF(TD上轨,1),TD上轨…

AA:=FFT((C+O+L+H)/4,25);
PARTLINE(AA<REF(AA,1),AA),COLORCYAN;
PARTLINE(AA>REF(AA,1),AA),COLORRED;
趋势线:=AA;
TD上轨:=FFT(aa,30)*1.1;
TD下轨:=FFT(aa,30)*0.9;
PARTLINE(TD上轨 >REF(TD上轨,1),TD上轨),COLORWHITE;
PARTLINE(TD上轨<=REF(TD上轨,1),TD上轨),COLOR999999;
PARTLINE(TD下轨 >REF(TD下轨,1),TD下轨),COLORFFFF00;
PARTLINE(TD下轨<=REF(TD下轨,1),TD下轨),COLOR00AAFF;
底位关注:CROSS(TD下轨,L),LINETHICK;
DRAWICON(底位关注,TD下轨*0.98,12);
高位警惕:CROSS(H,TD上轨),LINETHICK;
DRAWICON(高位警惕,TD上轨*1.04,10);
☆:=TD下轨>REF(TD下轨,1) AND REF(TD下轨,1)<REF(TD下轨,2);
DRAWICON(☆,TD下轨*0.95,8);
★:=TD下轨<REF(TD下轨,1) AND REF(TD下轨,1)>REF(TD下轨,2);
DRAWICON(★,TD上轨*1.02,9);
{符号熟记时可关闭}
DRAWTEXT(底位关注,TD下轨*0.94,'底\n位\n关\n注'),SHIFT0,COLORYELLOW;
DRAWTEXT(高位警惕,TD上轨*1.16,'高\n位\n警\n惕'),SHIFT0,COLORCYAN;
DRAWTEXT(☆,TD下轨*0.93,'上\n拐\n参\n考'),SHIFT0,COLORRED;
DRAWTEXT(★,TD上轨*1.02,'下拐\n参考'),SHIFT1,COLORGREEN;
{均线通道}
下轨:MA(L,4),COLORYELLOW;
上轨:MA(H,4),COLORYELLOW;
中轨:(下轨+上轨)/2,PRECISION2,LINEDOT,COLORGREEN;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,5))/(0.015*AVEDEV(TYP,5));
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
主力潜伏:=COUNT(MACD<0,10)=10,COLORRED, ;
STICKLINE(主力潜伏,0,MACD*2 ,1 ,0),COLORRED;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
J1:=REVERSE(J);
AA:=REF(MA(C,1),10)>REF(MA(C,60),10);
买点:=CROSS(J,J1) AND AA;
VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
VAR03:=CROSS(VAR02,VAR01);
VAR04:=REF(VAR02,2)<REF(VAR02,1) AND VAR02<REF(VAR02,1);
VAR05:=COUNT(VAR03,7)>0 AND VAR04;
VAR06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR07:=SMA(ABS(LOW-VAR06),13,1)/SMA(MAX(LOW-VAR06,0),10,1);
VAR08:=EMA(VAR07,10);
VAR09:=EMA(C,5);
VAR10:=LLV(LOW,33);
VAR11:=EMA(IF(LOW<=VAR10,VAR09,0),3)*40;
VAR12:=IF(VAR11>100,VAR11*0.312,VAR11);
底线:=VAR02,COLORGREEN;
趋势:=VAR01,COLORCYAN;
//STICKLINE(VAR05 AND COUNT(VAR05,5)=1,0,VAR12,4,0),COLORRED;
//sss:=(买点 or VAR05 AND COUNT(VAR05,5)=1) ;
Var7Bb:=ref(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,1);/////
VAR4J:=Var7Bb=1;
sss:=VAR4J;
sos:=filter(exist(sss,2) and exist(主力潜伏,2),10);
VARF8:=TROUGHBARS(3,15,1)<10;
VAR4J:=VARF8=1;
股必涨:=VAR4J ;//AND COUNT(VAR4J,60)=1
mm:sos and VAR4J ;
STICKLINE(mm,0,0.3 ,6,0),COLOR0000FF;
STICKLINE(mm,0.3 , 0.6 ,8,0),COLORWHITE;
STICKLINE(mm,0.6 ,0.8 ,10,0),COLORYELLOW;
DRAWTEXT(mm,0.4 ,'买'),COLORFF00FF;

飞狐通道精灵主图指标公式

相关教程

  • 飞狐主力净买量指标公式

    A:=VOL*CLOSE;B:=SUM(A,2)/SUM(VOL,2);B1:=EMA(B,7);M:=(B-B1);STICKLINE(M>0,0,M,2,0),COLORRED;STICKLINE(M<0,0,M,2,0),COLORGREEN;主力净买量:M,COLORYELLOW;三日均量:EMA(M,3),COLORWHITE;

    5/13/2018 10:07:24 PM
  • 飞狐MACD与KDJ综合指标公式

    DIFZ:=EMA(C,12)-EMA(C,26);DEAZ:=EMA(DIFZ,9);MACDZ:=8*(DIFZ-DEAZ);RSV:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*247.2-123.6;SQX:=(C-MA(CLOSE,13))*10;DIF:=EMA(MA(SQX,7),1);DEA:=EMA(DIF,7);MACD:=(DIF-DEA)*2;STICKLINE(MACD>0 AND MACD>REF(M…

    5/13/2018 10:07:22 PM
  • 飞狐MACD和KDJ主图指标公式

    INPUT:N(18),S(26),P(12),M(9);DRAWGBK(CLOSE=CLOSE,COLORRGB(80,130,130),COLORRGB(30,30,60),1);A:=EMA(CLOSE,S);T:=EMA(CLOSE,P);B:=EMA(A,M);T1:=EMA(T,M);DEA:=EMA(T-(T1-T),2),COLORFF8866,LINETHICK2;DIFF:=DEA-EMA(((A-B)-(T-T1)),1)*6,COLORFFFF66,LINETHICK2;F…

    5/13/2018 10:07:20 PM
  • 飞狐将军参谋指标公式

    Var1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;Var2:=2*ABS(Var1);Var3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var4:=100-3*SMA((OP…

    5/13/2018 10:07:19 PM

共有条评论 网友评论

验证码: 看不清楚?