飞狐短线强弱公式源码是什么?
2016-5-16 10:27:21 股票入门 http://rumen.southmoney.com
飞狐短线强弱公式源码是什么?附:飞狐MA大多头指标公式 南方财富网小编为您提供
【飞狐短线强弱公式源码】
UP:=SMA(IF(CLOSE>REF(CLOSE,1), CLOSE-REF(CLOSE,1),0),3,1);
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">DN:=SMA(IF (CLOSE<=REF(CLOSE,1),ABS(CLOSE-REF(CLOSE,1)),0),3,1);
指标:=100*UP/(UP+DN);
强弱:EMA(指标,3),COLORRED;
平均:EMA(强弱,3),COLORGREEN;
风险:80,COLOR8887EA;
安全:20,COLOR8887EA;
分界:50,CIRCLEDOT,LINETHICK2,COLORGREEN;
VAR1:=1/WINNER(CLOSE);
VAR2:=MA(CLOSE,13);
VAR3:=100-ABS((CLOSE-VAR2)/VAR2*100);
VAR4:=LLV(LOW,75);
VAR5:=HHV(HIGH,75);
VAR6:=(VAR5-VAR4)/100;
VAR7:=SMA((CLOSE-VAR4)/VAR6,20,1);
VAR8:=SMA((OPEN-VAR4)/VAR6,20,1);
VAR9:=3*VAR7-2*SMA(VAR7,15,1);
VARA:=3*VAR8-2*SMA(VAR8,15,1);
VARB:=100-VARA;
VARC:=IF(900101<DATE AND DATE<99991230,1,0);
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
VAR11:=EMA(VAR10,30);
VAR12:=CLOSE-REF(CLOSE,1);
VAR13:=MAX(VAR12,0);
VAR14:=ABS(VAR12);
VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
VAR17:=BARSCOUNT(CLOSE);
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50;
VAR21:=(HIGH+LOW+CLOSE)/3;
VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));
VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70));
VAR24:=IF(VAR22>=150 AND VAR22<200 AND VAR23>=150 AND VAR23<200,10,0);
VAR25:=IF(VAR22<=-150 AND VAR22>-200 AND VAR23<=-150 AND VAR23>-200,-10,VAR24);
VAR26:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR27:=REVERSE(VAR26);
VAR28:=SMA(VAR26,3,1);
散户: SMA(VAR28,3,1)*VARC, , ;
主力: SMA(散户,3,1)*VARC, , COLORYELLOW;
附:【飞狐MA大多头指标公式】
TJ1:=BACKSET(ISLASTBAR,LLVBARS(LOW,N)+1);
TJ2:=COUNT(TJ1,0);
ZZ1:=TJ2=1 OR TJ2=3 OR TJ2=5 OR TJ2=8 OR TJ2=13 OR TJ2=21 OR TJ2=34 OR TJ2=55 OR TJ2=89 OR TJ2=144 OR TJ2=233 OR TJ2=377 OR TJ2=610 OR TJ2=987 OR TJ2=1597 OR TJ2=2584;
VERTLINE(ZZ1),POINTDOT,LINETHICK0,colorFFFF00;
DRAWNUMBER(ZZ1,HIGH*1.02,TJ2,0),ALIGN4,colorFFFF00;
TJ3:=BACKSET(ISLASTBAR,LLVBARS(LOW,0)+1);
TJ4:=COUNT(TJ3,0);
ZZ2:=TJ4=1 OR TJ4=3 OR TJ4=5 OR TJ4=8 OR TJ4=13 OR TJ4=21 OR TJ4=34 OR TJ4=55 OR TJ4=89 OR TJ4=144 OR TJ4=233 OR TJ4=377 OR TJ4=610 OR TJ4=987 OR TJ4=1597 OR TJ4=2584;
VERTLINE(ZZ2),POINTDOT,LINETHICK2,colorFFFF00;
DRAWNUMBER(ZZ2,HIGH*1.02,TJ4,0),ALIGN5,colorFFFF00;
M21:MA(CLOSE,21);
M233:MA(CLOSE,233);
PARTLINE((COUNT(M233>REF(M233,1),21))>11 AND CLOSE>M21*0.95 AND (COUNT(M21>M233,21))>5,M233),LINETHICK2,colorFF;
上1:(REF(MA(CLOSE,1)*1.02,8)+REF(MA(CLOSE,1)*1.02,13)+REF(MA(CLOSE,1)*1.02,21)+REF(MA(CLOSE,1)*1.02,34)+REF(MA(CLOSE,1)*1.02,55)+REF(MA(CLOSE,1)*1.02,89)+REF(MA(CLOSE,1)*1.02,144)+REF(MA(CLOSE,1)*1.02,233))/8,LINETHICK2;
更多飞狐公式源码相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。