网站首页 > 飞狐公式 正文
飞狐力道K线主图指标公式
X1:=(CLOSE+LOW+HIGH)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
DRAWGBK(X2>=X3,COLORRGB(150,0,0),COLORRGB(100,50,0),1);
DRAWGBK(X2
VAR2:=EMA(EMA(X1,1),13);
VAR3:=EMA(VAR2,21);
PARTLINE(VAR3,VAR3),LINETHICK2,colorFFFF;
PARTLINE(VAR2
STICKLINE(VAR2>=VAR3,VAR2,VAR3,8,0),colorFFFF;
STICKLINE(VAR2
XCLOSE:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);
XOPEN:=EMA((REF(OPEN,1)+REF(XCLOSE,1))/2,3);
TEMPG:=MAX(HIGH,XOPEN);
XHIGH:=EMA(MAX(TEMPG,XCLOSE),3);
TEMP:=MIN(LOW,XOPEN);
XLOW:=EMA(MIN(TEMP,XCLOSE),3);
O1:=IF(XOPEN
C1:=IF(XOPEN
STICKLINE(XOPEN>=XCLOSE,XHIGH,XLOW,0.1,0),colorFF0000;
STICKLINE(XOPEN>=XCLOSE,C1,O1,6,0),colorFF0000;
STICKLINE(XOPEN
STICKLINE(XOPEN
AC:=CLOSE;
转强:=WMA(HIGH,6);
转弱:=WMA(LOW,6);
B:=CLOSE*0;
FOR I=13+1 TO DATACOUNT DO BEGIN
IF AC[I]>转强[I-1] THEN
B[I]:=1;ELSE
IF AC[I]<转弱[I-1] THEN
B[I]:=-1;ELSE
B[I]:=B[I-1];
END;
转折线:IF(B=-1,MA(HIGH,6),MA(LOW,6)),LINETHICK2,colorFFFFFF;
趋势:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
OP:=MA(X1,5);
REFOP:=REF(OP,1);
YDD:===yungkuang==;
DRAWTEXT(SYSPARAM(2)=BARSCOUNT(CLOSE),CLOSE,YDD),ALIGN5,colorFF00;
EXPLAIN(CLOSE,【多空力道观点】),colorFF;
EXPLAIN(OP>转折线,多空方向:多头),colorFF00FF;
EXPLAIN(OP<转折线,多空方向:空头),colorFF00FF;
EXPLAIN(OP>REF(OP,1),短操作线:向上),colorFFFF;
EXPLAIN(OP=REF(OP,1),短操作线:持平),color808080;
EXPLAIN(OP
EXPLAIN(X2>X3,多空力道:向上),colorFF;
EXPLAIN(X2
EXPLAIN(X2=X3,多空力道:持平),color808080;
EXPLAIN(趋势>REF(趋势,1),主趋势线:向上),colorFF;
EXPLAIN(趋势
EXPLAIN(趋势=REF(趋势,1),主趋势线:持平),color808080;
EXPLAIN(CLOSE,===================),colorFF0000;
EXPLAIN(CLOSE,【均线观点】),colorFF;
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA60:=MA(CLOSE,60);
EXPLAIN(MA5>REF(MA5,1)*1.01,5日均线:强劲向上),colorFFFF;
EXPLAIN(MA5>REF(MA5,1),5日均线:向上),colorFF;
EXPLAIN(MA5=REF(MA5,1),5日均线:持平),colorFF0000;
EXPLAIN(MA5
EXPLAIN(MA5
EXPLAIN(MA10>REF(MA10,1),10日均线:向上),colorFF;
EXPLAIN(MA10
EXPLAIN(MA10=REF(MA10,1),10日均线:持平),colorFF0000;
EXPLAIN(MA20>REF(MA20,1),20日均线:向上),colorFF;
EXPLAIN(MA20
EXPLAIN(MA20=REF(MA20,1),20日均线:持平),colorFF0000;
EXPLAIN(MA60>REF(MA60,1),60日均线:向上),colorFF;
EXPLAIN(MA60
EXPLAIN(MA60=REF(MA60,1),60日均线:持平),colorFF0000;
C1:=REF(CLOSE,1);
C2:=HHV(C1,2);
C3:=LLV(C1,1);
ET:=HHV(C1,2);
ET1:=REF(ET,1);
XB:=LLV(C1,1);
XB1:=REF(XB,1);
M:=BARSLAST(CLOSE=XB1);
M11:=REF(M,1);
N9:=BARSLAST(CLOSE>ET AND C1<=ET1);
N1:=REF(N9,1);
M21:=BARSLAST(M-N9>0 AND M11<=N1)+1;
N2:=BARSLAST(N9-M>0 AND N1<=M11)+1;
ET2:=HHV(ET,M21);
XB2:=LLV(XB,N2);
A:=IF(M-N9>0 AND M11<=N1,1,IF(N9-M>0 AND N1<=M11,0,2));
H1:=IF(M-N9>0,CLOSE,ET2);
H2:=IF(A=1,CLOSE,C2);
H3:=IF(M-N9<0,CLOSE,XB2);
H4:=IF(A=1,CLOSE,XB2);
H5:=IF(M-N9>0 OR A=1,CLOSE,H3);
H6:=REF(H5,1);
H7:=REF(H5,2);
H8:=H5>H6;
H9:=H4=REF(H4,1) AND REF(H4,1)REF(H5,2);
H10:=H2=REF(H2,1) AND H4=REF(H4,1) AND H5=REF(H5,2);
W:=H8 OR H9 OR H10;
T9:=H5
T10:=H4=REF(H4,1) AND H5
T11:=H3>REF(H3,1) AND H5
T12:=H5=REF(H5,1) AND H3=H4;
T13:=H2=REF(H2,1) AND H2=H5;
TW:=T9 OR T10 OR T11 OR T12 OR T13;
BBP:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
EXPLAIN(CLOSE,===================),colorFF0000;
EXPLAIN(CLOSE,【支撑压力状况】),colorFF;
EXPLAINEX(ISLASTBAR AND W,最高压力:,H5*1.025,2,0),colorFF9900;
EXPLAINEX(ISLASTBAR AND W,最低支撑:,H5*0.99,2,0),color99FF;
EXPLAINEX(ISLASTBAR AND TW,最高压力:,(H5+H4)/1.96,2,0),colorFF9900;
EXPLAINEX(ISLASTBAR AND TW,最低支撑:,(H5+H3)/2.05,2,0),color99FF;
EXPLAINEX(ISLASTBAR AND W,高点压力:,H5*1.02,2,0),colorFF9900;
EXPLAINEX(ISLASTBAR AND W,低点支撑:,H5*1,2,0),color99FF;
EXPLAINEX(ISLASTBAR AND TW,高点压力:,(H5+H4)/1.99,2,0),colorFF9900;
EXPLAINEX(ISLASTBAR AND TW,低点支撑:,(H5+H3)/2.03,2,0),color99FF;
EXPLAIN(CLOSE,===================),colorFF0000; >股票指标网更多精彩内容,请关注公众号:实盘操手
其他说明
1、在下载过程遇到问题,请您 联系客服:QQ:2180737354 或 微信:xxs008000(常用) 备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。
2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!
⇒⇒⇒点击加入通达信指标公式交流群QQ群
- 上一篇: 伯特利(603596):平台化线控底盘龙头:从0到1 从1到N
- 下一篇: 大智慧哪吒闹海指标公式
猜你喜欢
- 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 熊市好用的选股(飞狐)