网站首页 > 飞狐公式 正文
飞狐未来世界主图指标公式
input:N(10,1,88);
MA10:=MA(CLOSE,10);
MA30:=MA(CLOSE,30);
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,8,0),colorFF;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,3,0),colorFF;
STICKLINE((CLOSE > OPEN),HIGH,LOW,1,0),colorFF;
STICKLINE((CLOSE <= OPEN),CLOSE,OPEN,8,0),color6600;
STICKLINE((CLOSE <= OPEN),CLOSE,OPEN,3,0),color9900;
STICKLINE((CLOSE <= OPEN),HIGH,LOW,1,0),colorEE00;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,8,0),colorFF;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4,0),colorB0B0FF;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,2,0),colorFFFF;
STICKLINE((CLOSE >= OPEN),HIGH,LOW,0,0),colorFFFF;
STICKLINE((CLOSE <= OPEN),CLOSE,OPEN,8,0),colorFF2020;
STICKLINE((CLOSE <= OPEN),CLOSE,OPEN,4,0),colorFF6600;
STICKLINE((CLOSE <= OPEN),CLOSE,OPEN,2,0),colorFFFF00;
STICKLINE((CLOSE <= OPEN),HIGH,LOW,0,0),colorFFFF00;
流通盘:FINANCE(7),LINETHICK0;
每股净资产:FINANCE(34),LINETHICK0;
每股收益:FINANCE(33),LINETHICK0;
EXPLAIN(1,(((STKNAME + STKLABEL) + ) + BLKNAME));
DRAWTEXT((BARPOS = SYSPARAM(2)),HIGH,BLKNAME),ALIGN4,colorFF;
MA30:=MA(CLOSE,5);
A:=MA(CLOSE,20);
A1:=MA(CLOSE,10);
生命线:=1;
取舍线:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) * 100);
VAR1:=((CLOSE > OPEN) AND ((OPEN - LOW) > (HIGH - CLOSE)));
VAR2:=((REF(取舍线,1) < (0 - 20)) AND VAR1);
VAR3:=(((REF(取舍线,1) < (0 - 20)) AND (CLOSE > OPEN)) AND ((((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 1000) > 20));
VAR4:=FILTER((VAR2 OR VAR3),3);
VAR5:=((OPEN > CLOSE) AND ((HIGH - IF((CLOSE > OPEN),CLOSE,OPEN)) > (IF((OPEN < CLOSE),OPEN,CLOSE) - LOW)));
VAR6:=((REF(取舍线,1) > ABS((0 - 20))) AND VAR5);
VAR7:=(((REF(取舍线,1) > ABS((0 - 20))) AND (CLOSE < OPEN)) AND ((((REF(CLOSE,1) - CLOSE) / REF(CLOSE,1)) * 1000) > 20));
VAR8:=FILTER((VAR6 OR VAR7),3);
VAR9:=((CLOSE > OPEN) AND ((OPEN - LOW) > (HIGH - CLOSE)));
VARA:=((REF(取舍线,1) < (0 - 13)) AND VAR1);
VARB:=(((REF(取舍线,1) < (0 - 13)) AND (CLOSE > OPEN)) AND ((((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 1000) > 20));
VARC:=FILTER((VARA OR VARB),3);
VARD:=((OPEN > CLOSE) AND ((HIGH - IF((CLOSE > OPEN),CLOSE,OPEN)) > (IF((OPEN < CLOSE),OPEN,CLOSE) - LOW)));
VARE:=((REF(取舍线,1) > ABS((0 - 13))) AND VAR5);
VARF:=(((REF(取舍线,1) > ABS((0 - 13))) AND (CLOSE < OPEN)) AND ((((REF(CLOSE,1) - CLOSE) / REF(CLOSE,1)) * 1000) > 20));
VAR10:=FILTER((VARE OR VARF),3);
VAR8:=IF(((YEAR > 2004) AND (MONTH > 9)),0,VAR8);
生命线:=IF(((YEAR > 2004) AND (MONTH > 9)),0,生命线);
VAR10:=IF(((YEAR > 2004) AND (MONTH > 9)),0,VAR10);
VAR10,LINETHICK0;
VAR8,LINETHICK0;
生命线,LINETHICK0;
DRAWICON(((VAR8 * 生命线) > 0),HIGH,2);
DRAWTEXT(((VAR10 * 生命线) > 0),(0.99 * REF(CLOSE,1)),),colorFFFF00;
VAR11:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1));
VAR12:=(((REF(CLOSE,(VAR11 + 1)) > CLOSE) AND (REF("RSI.RSI1",(VAR11 + 1)) < "RSI.RSI1")) AND CROSS("RSI.RSI1","RSI.RSI2"));
VAR12:=IF(((YEAR > 2004) AND (MONTH > 9)),0,VAR12);
VAR12,LINETHICK0;
DRAWICON(FILTER((VAR12 > 0),5),(LOW * 0.98),1);
DRAWTEXT(FILTER((VAR12 > 0),5),(LOW * 0.98),),colorFFFF;
A3:=ISLASTBAR;
B3:=(REF(HIGH,N) = HHV(HIGH,((2 * N) + 1)));
V1:=FILTER(B3,N);
V2:=BACKSET(V1,(N + 1));
V3:=FILTER(V2,N);
V4:=(V3 OR A3);
V5:=(REF(LOW,N) = LLV(LOW,((2 * N) + 1)));
V6:=FILTER(V5,N);
V7:=BACKSET(V6,(N + 1));
V8:=FILTER(V7,N);
V9:=(V8 AND NOT(V3));
VA:=BACKSET(V4,(REF(BARSLAST(V9),1) + 1));
VB:=(VA > REF(VA,1));
VC:=BACKSET(VB,2);
VD:=(VC > REF(VC,1));
VE:=BACKSET((VD AND (COUNT(V4,(REF(BARSLAST(V9),1) + 2)) = 0)),(REF(BARSLAST(V9),1) + 2));
VF:=(VE > REF(VE,1));
V10:=BACKSET((VF AND (COUNT(V4,(REF(BARSLAST(V9),1) + 2)) = 0)),(REF(BARSLAST(V9),1) + 2));
V11:=(V10 > REF(V10,1));
V12:=IF(V4,COUNT(V9,(REF(BARSLAST(V4),1) + 1)),0);
V13:=IF(((V12 = 1) AND V4),BARSLAST(VD),0);
V14:=IF((V4 AND (REF(LOW,BARSLAST(VD)) >= REF(LOW,BARSLAST(VF)))),BARSLAST(VF),BARSLAST(VD));
V15:=IF(((V12 = 2) AND V4),V14,0);
V16:=IF(((V12 >= 3) AND V4),IF((V4 AND (REF(LOW,V14) >= REF(LOW,BARSLAST(V11)))),BARSLAST(V11),V14),0);
V17:=((V13 + V15) + V16);
V18:=BACKSET(V4,V17);
V19:=(V18 > REF(V18,1));
V1A:=BACKSET(V19,2);
V1B:=(V1A > REF(V1A,1));
V1C:=(V1B OR A3);
V1D:=BACKSET(V1C,(REF(BARSLAST(V4),1) + 1));
V1E:=(V1D > REF(V1D,1));
V1F:=BACKSET(V1E,2);
V20:=(V1F > REF(V1F,1));
V21:=BACKSET((V20 AND (COUNT(V1C,(REF(BARSLAST(V4),1) + 2)) = 0)),(REF(BARSLAST(V4),1) + 2));
V22:=(V21 > REF(V21,1));
V23:=BACKSET((V22 AND (COUNT(V1C,(REF(BARSLAST(V4),1) + 2)) = 0)),(REF(BARSLAST(V4),1) + 2));
V24:=(V23 > REF(V23,1));
V25:=IF(V1C,COUNT(V3,(REF(BARSLAST(V1C),1) + 1)),0);
V26:=IF(((V25 = 1) AND V1C),BARSLAST(V20),0);
V27:=IF((V1C AND (REF(HIGH,BARSLAST(V20)) <= REF(HIGH,BARSLAST(V22)))),BARSLAST(V22),BARSLAST(V20));
V28:=IF(((V25 = 2) AND V1C),V27,0);
V29:=IF(((V25 >= 3) AND V1C),IF((V1C AND (REF(HIGH,V27) <= REF(HIGH,BARSLAST(V24)))),BARSLAST(V24),V27),0);
V2A:=((V26 + V28) + V29);
V2B:=BACKSET(V1C,V2A);
V2C:=(V2B > REF(V2B,1));
V2D:=BACKSET(V2C,2);
V2E:=(V2D > REF(V2D,1));
DRAWLINE(V1B,LOW,V2E,HIGH,0),LINETHICK1;
DRAWLINE(V2E,HIGH,V1B,LOW,0),LINETHICK1;
V2F:=BACKSET(A3,(BARSLAST(V1B) + 1));
V30:=(V2F > REF(V2F,1));
V31:=BACKSET(A3,(BARSLAST(V2E) + 1));
V32:=(V31 > REF(V31,1));
V33:=IF((BARSLAST(V30) < BARSLAST(V32)),V30,V32);
V34:=IF((BARSLAST(V30) < BARSLAST(V32)),LOW,HIGH);
DRAWLINE(V33,V34,A3,CLOSE,0),LINETHICK1;
V35:=BACKSET(A3,(BARSLAST(V1B) + 1));
V36:=(V35 > REF(V35,1));
V37:=BACKSET(V36,(REF(BARSLAST(V1B),1) + 2));
V38:=(V37 > REF(V37,1));
DRAWLINE(V38,LOW,V36,LOW,1),POINTDOT,LINETHICK1,colorFFFF;
V39:=BACKSET(A3,(BARSLAST(V2E) + 1));
V3A:=(V39 > REF(V39,1));
V3B:=BACKSET(V3A,(REF(BARSLAST(V2E),1) + 2));
V3C:=(V3B > REF(V3B,1));
DRAWLINE(V3C,HIGH,V3A,HIGH,1),POINTDOT,LINETHICK1,colorFFFF;
XX1:REF(LOW,BARSLAST(V36)),LINETHICK2,colorCCFF99;
前低线:REF(LOW,BARSLAST(V38)),LINETHICK2,colorFF00FF;
YY1:REF(HIGH,BARSLAST(V3A)),LINETHICK2,colorCCFF99;
前高线:REF(HIGH,BARSLAST(V3C)),LINETHICK2,colorFF00FF;
DRAWNUMBER(ISLASTBAR,YY1,YY1,2);
DRAWNUMBER(ISLASTBAR,XX1,XX1,2);
DRAWNUMBER(ISLASTBAR,前低线,前低线,2);
DRAWNUMBER(ISLASTBAR,前高线,前高线,2);
V3D:=(REF(HIGH,N) = HHV(HIGH,((2 * N) + 1)));
V3E:=FILTER(V3D,N);
J:=BACKSET(V3E,(N + 1));
JA:=FILTER(J,N);
V3D:=(JA OR ISLASTBAR);
BB:=(REF(LOW,N) = LLV(LOW,((2 * N) + 1)));
J1:=FILTER(BB,N);
J2:=BACKSET(J1,(N + 1));
JA2:=FILTER(J2,N);
BB:=(JA2 AND NOT(JA));
BB2:=BACKSET(V3D,(REF(BARSLAST(BB),1) + 1));
J22:=(BB2 > REF(BB2,1));
EA:=BACKSET(J22,2);
EB:=(EA > REF(EA,1));
JF:=BACKSET((EB AND (COUNT(V3D,(REF(BARSLAST(BB),1) + 2)) = 0)),(REF(BARSLAST(BB),1) + 2));
JJ1:=(JF > REF(JF,1));
JF2:=BACKSET((JJ1 AND (COUNT(V3D,(REF(BARSLAST(BB),1) + 2)) = 0)),(REF(BARSLAST(BB),1) + 2));
JJ2:=(JF2 > REF(JF2,1));
JF3:=IF(V3D,COUNT(BB,(REF(BARSLAST(V3D),1) + 1)),0);
JJ3:=IF(((JF3 = 1) AND V3D),BARSLAST(EB),0);
JS:=IF((V3D AND (REF(LOW,BARSLAST(EB)) >= REF(LOW,BARSLAST(JJ1)))),BARSLAST(JJ1),BARSLAST(EB));
G1:=IF(((JF3 = 2) AND V3D),JS,0);
GA:=IF(((JF3 >= 3) AND V3D),IF((V3D AND (REF(LOW,JS) >= REF(LOW,BARSLAST(JJ2)))),BARSLAST(JJ2),JS),0);
G2:=((JJ3 + G1) + GA);
V3E:=BACKSET(V3D,G2);
G3:=(V3E > REF(V3E,1));
GG:=BACKSET(G3,2);
JB:=(GG > REF(GG,1));
JJ:=(JB OR ISLASTBAR);
LD:=BACKSET(JJ,(REF(BARSLAST(V3D),1) + 1));
LD1:=(LD > REF(LD,1));
HEA:=BACKSET(LD1,2);
HEB:=(HEA > REF(HEA,1));
HJF:=BACKSET((HEB AND (COUNT(JJ,(REF(BARSLAST(V3D),1) + 2)) = 0)),(REF(BARSLAST(V3D),1) + 2));
HJJ1:=(HJF > REF(HJF,1));
HJF2:=BACKSET((HJJ1 AND (COUNT(JJ,(REF(BARSLAST(V3D),1) + 2)) = 0)),(REF(BARSLAST(V3D),1) + 2));
HJJ2:=(HJF2 > REF(HJF2,1));
HJF3:=IF(JJ,COUNT(JA,(REF(BARSLAST(JJ),1) + 1)),0);
HJJ3:=IF(((HJF3 = 1) AND JJ),BARSLAST(HEB),0);
HJS:=IF((JJ AND (REF(HIGH,BARSLAST(HEB)) <= REF(HIGH,BARSLAST(HJJ1)))),BARSLAST(HJJ1),BARSLAST(HEB));
HG1:=IF(((HJF3 = 2) AND JJ),HJS,0);
HGA:=IF(((HJF3 >= 3) AND JJ),IF((JJ AND (REF(HIGH,HJS) <= REF(HIGH,BARSLAST(HJJ2)))),BARSLAST(HJJ2),HJS),0);
HG2:=((HJJ3 + HG1) + HGA);
HG3:=BACKSET(JJ,HG2);
HGG:=(HG3 > REF(HG3,1));
HJA:=BACKSET(HGG,2);
HJB:=(HJA > REF(HJA,1));
HJJ:=BACKSET(ISLASTBAR,(BARSLAST(JB) + 1));
HD:=(10 * (HJJ > REF(HJJ,1)));
UU:=BACKSET(ISLASTBAR,(BARSLAST(HJB) + 1));
VV:=(20 * (UU > REF(UU,1)));
UU2:=REF(LOW,BARSLAST(JB));
VV2:=REF(HIGH,BARSLAST(HJB));
STICKLINE(HJB,VV2,UU2,0,0),LINETHICK1,color660099;
DRAWLINE(JB,LOW,HJB,HIGH,0),LINETHICK1,color660099;
DRAWLINE(JB,LOW,HJB,UU2,0),LINETHICK1,color660099;
STICKLINE(JB,VV2,UU2,0,0),LINETHICK1,color666666;
DRAWLINE(HJB,HIGH,JB,LOW,0),LINETHICK1,color666666;
DRAWLINE(HJB,HIGH,JB,VV2,0),LINETHICK1,color666666;
底价线:REF(LOW,BARSLAST(HD)),LINETHICK2,colorFF;
顶价线:REF(HIGH,BARSLAST(VV)),LINETHICK2,colorFF00;
底1:=INDEXH;
HH:=INDEXL;
LL:=INDEXO;
OO:=INDEXC;
CC:=CLOSE;
同期大盘指数:OO,LINETHICK0;
C1:=(SYSPARAM(1) / OO);
V3E:=(SYSPARAM(3) - SYSPARAM(1));
基准点:=1;
M:=(底1 * C1);
H2:=(LL * C1);
O2:=(HH * C1);
L2:=(OO * C1);
C2:=((BARPOS > SYSPARAM(1)) AND (BARPOS <= SYSPARAM(3)));
STICKLINE((C2 AND (L2 <= H2)),H2,L2,8,1),colorFFFFFF;
STICKLINE((C2 AND (L2 <= H2)),O2,L2,0.1,1),colorFFFFFF;
STICKLINE((C2 AND (L2 <= H2)),H2,M,0.1,1),colorFFFFFF;
STICKLINE((C2 AND (L2 > H2)),H2,L2,8,0),colorFF00FF;
STICKLINE((C2 AND (L2 > H2)),O2,M,0.1,0),colorFF00FF;
A:=COST(95);
B:=COST(5);
A2:=(((A - B) * 100) / (A + B));
DRAWICON((A2 > REF(A2,1)),(LOW * 0.98),8),ALIGN5;
LY:=(((CLOSE - MA(CLOSE,17)) / MA(CLOSE,17)) * (0 - 100));
KS:=REF(LY,1);
RKS:=((((KS / LY) >= 1.23) AND (KS >= 8)) AND ((CLOSE / REF(CLOSE,1)) >= 1.02));
超跌:STICKLINE((LY >= 17),OPEN,LOW,6,0),LINETHICK6,colorFFFFFF;
反弹:STICKLINE((RKS = 1),OPEN,LOW,6,0),LINETHICK6,colorFF00FF;
超超跌:STICKLINE((LY >= 34),OPEN,LOW,8,1),LINETHICK6,colorFFFFFF;
反反弹:STICKLINE((RKS = 1),OPEN,LOW,8,1),LINETHICK6,colorFF00FF;
超极跌:STICKLINE((LY >= 34),OPEN,LOW,8,1),LINETHICK6,colorFFFF00; >股票指标网更多精彩内容,请关注公众号:实盘操手
其他说明
1、在下载过程遇到问题,请您 联系客服:QQ:2180737354 或 微信:xxs008000(常用) 备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。
2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!
⇒⇒⇒点击加入通达信指标公式交流群QQ群
- 上一篇: 大智慧完全换手指标公式
- 下一篇: 大智慧不失手指标公式
猜你喜欢
- 2023-10-17 屏幕自适应定点均线(飞狐)
- 2023-10-17 主力轨迹+庄家出现+XG(飞狐)
- 2023-10-17 安全投机(飞狐)
- 2023-10-17 共振买卖(飞狐)
- 2023-10-17 江恩轮中轮(新画法)(飞狐)
- 2023-10-17 新版KDJ飞升马(飞狐)
- 2023-10-17 七剑下天山(飞狐)
- 2023-10-17 OSC (艾略特震荡器)(飞狐)
- 2023-10-17 买入安全区远离危险区(飞狐)
- 2023-10-17 熊市好用的选股(飞狐)