您好,文华财经分时顶底指标公式源码是一种用于期货交易的技术指标,它可以帮助交易者识别价格走势中的顶部和底部,从而做出更明智的交易决策。以下是一些文华财经分时顶底指标的公式源码示例:
趋势顶底指标:
pascalDIFF:=(EMA(C,12)-EMA(C,26));
DEA :=EMA(DIFF,9);
MACD := 2*(DIFF-DEA);
MACDMA:=EMA(MACD,3);
RMACD:=REF(MACD,1);
0,COLORYELLOW,NOTEXT,LINETHICK1;
STICKLINE(MACD>REF(MACD,1) AND MACD>=0,MACD,0,COLORRED,0);
STICKLINE(MACD>REF(MACD,1) AND MACD<0,MACD,0,COLORMAGENTA,0);
STICKLINE(NOT(MACD>REF(MACD,1)) AND MACD>=0,MACD,0,COLORBLUE,0);
STICKLINE(NOT(MACD>REF(MACD,1)) AND MACD<0,MACD,0,COLORGREEN,0);
J:=CROSS(DIFF,DEA);
S:=CROSSDOWN(DIFF,DEA);
AT:=2*(DIFF-DEA);
MACDD:IF(AT>0,AT,NULL),COLORRED,NODRAW;
MACDD.:IF(AT<0,AT,NULL),COLORGREEN,NODRAW;
DRAWNUMBER(ISLASTBAR&&AT>0,AT,AT,2,COLORLIGHTRED),ALIGN0,FONTSIZE30,VALIGN1;
DRAWNUMBER(ISLASTBAR&&AT<0,AT,AT,2,COLORLIGHTGREEN),ALIGN0,FONTSIZE30,VALIGN1;
买卖顶底预警指标:
pascalVAR1:=EMA(C,3);
VAR2:=EMA(C,5);
VAR3:=EMA(C,10);
VAR4:=EMA(C,20);
VAR5:=EMA(C,30);
VAR6:=(VAR2+VAR3+VAR4+VAR5)/4;
VAR7:=(VAR6-REF(VAR6,15))/REF(VAR6,15)*100;
VAR8:=(VAR6-REF(VAR6,15))/REF(VAR6, 15)*100;
VAR9:=EMA(VAR7,8);
LC := REF(CLOSE,1);
N1:=6;
N2:=12;
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
STICKLINE1(VAR7<1*REF(VAR7,1),H,L,0.4,0),COLORBLUE;
STICKLINE1(VAR7<1*REF(VAR7,1),O,C,4, 1),COLORBLUE;
STICKLINE1(VAR7>1*REF(VAR7,1),H,L,0.4,0),COLORRED;
STICKLINE1(VAR7>1*REF(VAR7,1),O,C,4, 1),COLORRED;
STICKLINE1(VAR71*REF(VAR9,1),H,L,0.4,0),COLORGREEN;
STICKLINE1(VAR71*REF(VAR9,1),O,C,4, 1),COLORGREEN;
突破顶底出击指标:
pascal高 1:=REF(HHV(H,150),3);
低 1:=REF(LLV(L,150),3);
H1:=高 1-(高 1-低 1)*0.191;
H2:=高 1-(高 1-低 1)*0.382;
H3:=高 1-(高 1-低 1)*0.5;
H4:=高 1-(高 1-低 1)*0.618;
H5:=高 1-(高 1-低 1)*0.809;
突破:REF(EMA(C,14),1);
STICKLINE1(A1X>=0,出击,突破,0,-1),COLORRED;
STICKLINE1(A1X<0,休假,突破,0,-1),COLORGREEN;
STICKLINE1(CROSS(A1X,0),C,O,2,0),COLORYELLOW;
STICKLINE1(CROSS(0,A1X),C,O,2,0),COLORGREEN;
趋势分界线:IF(A1X<0,突破,NULL);
资金异动抄底买指标:
pascalHLM1:=MA(HHV(H,500),13);
HLM2:=MA(HHV(H,250),13);
HLM3:=MA(HHV(H,89),13);
HLM4:=MA(LLV(L,500),13);
HLM5:=MA(LLV(L,250),13);
HLM6:=MA(LLV(L,89),13);
HLM7:=MA((HLM1*0.558+HLM2*0.558+HLM3*0.558+HLM4*0.96+HLM5*0.96+HLM6*0.96)/6,17);
HLM8:=MA((HLM1*0.55+HLM2*0.55+HLM3*0.65+HLM4*1.25+HLM5*1.23+HLM6*1.2)/6,17);
HLM9:=MA((HLM1*0.68+HLM2*0.68+HLM3*0.68+HLM4*1.3+HLM5*1.3+HLM6*1.3)/6,17);
HLM10:=MA((HLM7*3+HLM8*2+HLM9)/6*1.738,17);
HLM11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
HLM12:=MA(IF(C*1.35<=HLM10,HLM11*10,HLM11/10),3);
HLMH:=HHV(HLM12,30);
关注:MA(IF(L<=LLV(L,42),(HLMH+HLM11*2)/3,0),3)/200;
在使用这些指标时,交易者应该结合其他技术分析工具和基本面分析,以提高交易决策的准确性。同时,交易者还应该根据自己的交易策略和风险承受能力,合理使用这些指标,避免过度依赖单一指标。
这个市场上很多散户的交易水平并不好,那么使用智能量化分析指标是个不错的方法,拐点一目了然,可以减少散户人为操作上的失误,提高交易胜率。想安装的话可以直接加我微信领取,买卖点高精度提示,经过实盘验证,省心靠谱。
发布于4小时前 北京