网站首页 > 飞狐公式 正文
飞狐短线主图指标公式
input:P1(20,0,300),P2(65,0,300),P3(98,0,300),A1(2,0,100),A2(3,0,100),A3(4,0,100),A4(5,0,100),B1(5,0,100),B2(6,0,100),B3(7,0,100),B4(8,0,100);
GAO:MA(HIGH,12),LINETHICK2,color111111;
DI:MA(LOW,12),LINETHICK2,color111111;
MAR2:MA(CLOSE,60),LINETHICK5,color6600;
PARTLINE(CLOSE>MAR2,MAR2),POINTDOT,LINETHICK5,color6600CC;
FILLRGN(GAO>REF(GAO,1) AND (GAO+DI)/2>REF((GAO+DI)/2,1),GAO,DI),color6600CC;
FILLRGN(GAO
多空区间:IF(REF(SMA((CLOSE- LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,5,1),2)>REF(SMA(SMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,5,1),3,1),2) AND REF(SMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,5,1),1)>REF(SMA(SMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,5,1),3,1),1) AND SMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,5,1)
PARTLINE(多空区间<=CLOSE,多空区间),LINETHICK2,colorFF;
PARTLINE(多空区间>CLOSE,多空区间),LINETHICK2,color339900;
关键点:=多空区间;
STICKLINE(CLOSE<=关键点,OPEN,LOW,0,0),colorFFFF33;
STICKLINE(CLOSE>关键点,OPEN,CLOSE,8,0),colorAA;
STICKLINE(CLOSE>关键点,OPEN,CLOSE,7,0),color11AA;
STICKLINE(CLOSE>关键点,OPEN,CLOSE,6,0),colorBB;
STICKLINE(CLOSE>关键点,OPEN,CLOSE,5,0),colorCC;
STICKLINE(CLOSE>关键点,OPEN,CLOSE,4,0),color11DD;
STICKLINE(CLOSE>关键点,OPEN,CLOSE,3,0),color22EE;
STICKLINE(CLOSE>关键点,OPEN,CLOSE,2,0),color33FF;
STICKLINE(CLOSE>关键点,OPEN,CLOSE,1,0),color33FF;
STICKLINE(CLOSE>关键点,HIGH,CLOSE,1,0),color11FF;
STICKLINE(CLOSE>关键点,HIGH,CLOSE,0,0),colorFFFF;
STICKLINE(CLOSE>关键点,OPEN,LOW,1,0),color11FF;
STICKLINE(CLOSE>关键点,OPEN,LOW,0,0),colorFFFF;
STICKLINE(CLOSE<=关键点,OPEN,CLOSE,8,0),color8800;
STICKLINE(CLOSE<=关键点,OPEN,CLOSE,7,0),color9900;
STICKLINE(CLOSE<=关键点,OPEN,CLOSE,6,0),colorAA11;
STICKLINE(CLOSE<=关键点,OPEN,CLOSE,5,0),colorBB11;
STICKLINE(CLOSE<=关键点,OPEN,CLOSE,4,0),colorCC22;
STICKLINE(CLOSE<=关键点,OPEN,CLOSE,3,0),colorDD22;
STICKLINE(CLOSE<=关键点,OPEN,CLOSE,2,0),colorEE33;
STICKLINE(CLOSE<=关键点,OPEN,CLOSE,1,0),colorFF33;
STICKLINE(CLOSE<=关键点,HIGH,CLOSE,1,0),colorFF0000;
STICKLINE(CLOSE<=关键点,HIGH,CLOSE,0,0),colorFFFF33;
STICKLINE(CLOSE<=关键点,OPEN,LOW,1,0),colorFF0000;
STICKLINE(CLOSE<=关键点,OPEN,LOW,0,0),colorFFFF33;
AA:=REF(HIGH,5)=HHV(HIGH,2*5+1);
BB:=BACKSET(AA,5+1);
CC:=FILTER(BB,5) AND HIGH=HHV(HIGH,5+1);
DRAWICON(CC AND ISLASTBAR=1,HIGH*1.01,10);
AA2:=REF(LOW,5)=LLV(LOW,2*5+1);
BB2:=BACKSET(AA2,5+1);
CC2:=FILTER(BB2,5) AND LOW=LLV(LOW,5+1);
DRAWICON(CC2 AND ISLASTBAR=1,LOW*0.998,11);
GG:=ISLASTBAR=1 AND REF(CC,BARSLAST(CC));
HH:=BACKSET(GG,BARSLAST(CC)+1);
II:=HH>REF(HH,1);
JJ:=REF(BARSLAST(CC),1);
KK:=BACKSET(II,JJ+2);
LL:=KK>REF(KK,1);
DRAWLINE(LL,HIGH,II,HIGH,1),LINETHICK1,color6600CC;
GG2:=ISLASTBAR=1 AND REF(CC2,BARSLAST(CC2));
HH2:=BACKSET(GG2,BARSLAST(CC2)+1);
II2:=HH2>REF(HH2,1);
JJ2:=REF(BARSLAST(CC2),1);
KK2:=BACKSET(II2,JJ2+2);
LL2:=KK2>REF(KK2,1);
DRAWLINE(LL2,LOW,II2,LOW,1),LINETHICK1,color6600;
DRAWICON(CROSS(CLOSE,多空区间+10),LOW*0.999,1);
DRAWICON(CROSS(多空区间-10,CLOSE),HIGH*1.0015,2);
开盘:DYNAINFO(4),LINETHICK1,color99FF;
YY:(MA(CLOSE,A1)+MA(CLOSE,A2)+MA(CLOSE,A3)+MA(CLOSE,A4))/4,colorFF00;
VV:(MA(CLOSE,B1)+MA(CLOSE,B2)+MA(CLOSE,B3)+MA(CLOSE,B4))/4,LINETHICK2,colorFF00;
WW:=(MA(CLOSE,4)+MA(CLOSE,8)+MA(CLOSE,16)+MA(CLOSE,32))/4;
PARTLINE(YY>REF(YY,1),YY),color11FF;
PARTLINE(VV>REF(VV,1),VV),LINETHICK2,color11FF;
MA1:=MA(CLOSE,P1);
MA2:=MA(CLOSE,P2);
MA3:=MA(CLOSE,P3);
A:=SMA(SMA((CLOSE-LLV(LOW,243))/(HHV(HIGH,243)-LLV(LOW,243))*100,7,1),5,1);
B:=SMA((CLOSE-LLV(LOW,243))/(HHV(HIGH,243)-LLV(LOW,243))*100,7,1)*16.18-A*12;
D:=CROSS(B,A);
LC:=REF(CLOSE,1);
RSI:=(SMA(MAX(CLOSE-LC,0),6,1))/(SMA(ABS(CLOSE-LC),6,1))*100;
E:=CROSS(83,RSI); >股票指标网更多精彩内容,请关注公众号:实盘操手
其他说明
1、在下载过程遇到问题,请您 联系客服:QQ:2180737354 或 微信:xxs008000(常用) 备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。
2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!
⇒⇒⇒点击加入通达信指标公式交流群QQ群
- 上一篇: 大智慧量价VOL指标公式
- 下一篇: 大智慧买就赢利选股指标公式
猜你喜欢
- 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 熊市好用的选股(飞狐)