VAR1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100; VAR2:=SMA(VAR1,3,1); VAR3:=SMA(VAR2,3,1); VAR4:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); VAR5:=CROSS(VAR4,10) AND VAR3<12; 抄底:IF(VAR5,90,50),COLORRED; DRAWICON(VAR5,65,5); DRAWTEXT(VAR5,30,'抄底'),COLORYELLOW; VAR31:=REF(CLOSE,2); 会员专用:=SMA(MAX(CLOSE-VAR31,0),7,1)/SMA(ABS(CLOSE-VAR31),7,1)*100; 逃亡: IF(会员专用< REF(会员专用,1) AND 会员专用>79,会员专用,50),COLORGREEN; 中间线:50,COLORYELLOW; VAR6:=(2*CLOSE+HIGH+LOW)/4; VAR7:=LLV(LOW,26); VAR8:=HHV(HIGH,26); VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13); VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2); 战术线: VAR9,COLORYELLOW,LINETHICK2; STICKLINE(VAR9>VARA,VAR9,VARA,6,0),COLOR000099; STICKLINE(VAR9>VARA,VAR9,VARA,4,0),COLOR0000CC; STICKLINE(VAR9>VARA,VAR9,VARA,2.4,0),COLOR0000FF; STICKLINE(VAR9>VARA,VAR9,VARA,0.4,0),COLORCC66FF; STICKLINE(VAR9<=VARA,VAR9,VARA,6,0),COLORFF6600; STICKLINE(VAR9<=VARA,VAR9,VARA,4,0),COLORFF9900; STICKLINE(VAR9<=VARA,VAR9,VARA,2.4,0),COLORFFCC00; STICKLINE(VAR9<=VARA,VAR9,VARA,0.4,0),COLORCYAN; 战略线: EMA(0.382*REF(VAR9,2)+0.618*VAR9,12),COLORBLUE; VARB:=SUM(IF(CLOSE>REF(CLOSE,7),VOL,IF(CLOSE<REF(CLOSE,7),0-VOL,0)),0); A1:=EMA(CLOSE,5); A2:=EMA(CLOSE,10); A3:=EMA(CLOSE,20); A4:=EMA(CLOSE,40); A5:=EMA(CLOSE,60); I:=MA(BARSLAST(HIGH=HHV(HIGH,16))*IF(CLOSE<OPEN,VOL,1),3); R:=MA(BARSLAST(LOW=LLV(LOW,18))*IF(CLOSE>OPEN,VOL,1),4); 短线逃顶:=IF(I,0,1); DRAWICON(短线逃顶,90,2); V8:=600*(EMA(C,3)-EMA(L,30))/EMA(L,30); V9:=EMA(V8,7); VC:=(2*C+H+L)/4; VD:=LLV(L,34); VE:=HHV(H,34); VF:=LLV(L,21); V10:=HHV(H,21); V11:=EMA((VC-VF)/(V10-VD)*100,5); V12:=EMA((VC-VD)/(VE-VD)*100,8); X:V11,COLORWHITE; P1:=5; P2:=10; P3:=20; P4:=30; P5:=60; P6:=120; P7:=240; P8:=340; N:=4; WX:=MA(CLOSE,0); M1:=MA(CLOSE,P1); M2:=(MA(CLOSE,P2) * IF((N < 2),WX,1)); M3:=(MA(CLOSE,P3) * IF((N < 3),WX,1)); M4:=(MA(CLOSE,P4) * IF((N < 4),WX,1)); M5:=(MA(CLOSE,P5) * IF((N < 5),WX,1)); M6:=(MA(CLOSE,P6) * IF((N < 6),WX,1)); M7:=(MA(CLOSE,P7) * IF((N < 7),WX,1)); M8:=(MA(CLOSE,P8) * IF((N < 8),WX,1)); 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 < XB) AND (C1 >= 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(H4,2))) AND (H5 > 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 < H6) AND (H5 < REF(H5,2))); T10:=((H4 = REF(H4,1)) AND (H5 < REF(H5,2))); T11:=((H3 > REF(H3,1)) AND (H5 < REF(H5,1))); 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); PK:=((AMOUNT * (((OPEN + CLOSE) + HIGH) + LOW)) / 4); PK1:=IF((VOL > 0),(PK / AMOUNT),((((OPEN + CLOSE) + HIGH) + LOW) / 4)); BBP:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); DRAWTEXT((ISLASTBAR AND (BBP >= 96.5)),85,'明见\短高\龙头\除外'),COLORRED; DRAWTEXT((ISLASTBAR AND (BBP < 1)),85,'明见\短低\跌停\除外'),COLORGREEN; DRAWTEXT(((ISLASTBAR AND W) AND (BBP < 96.5)),85,'明日\看涨'),COLORYELLOW; DRAWTEXT(((ISLASTBAR AND TW) AND (BBP > 1)),85,'明日\看跌'),COLORGREEN; VC1:=(2*C+H+L)/4; VD1:=LLV(L,34); VE1:=HHV(H,34); VF1:=LLV(L,21); V110:=HHV(H,21); V111:=EMA((VC1-VF1)/(V110-VD1)*100,5); V112:=EMA((VC1-VD1)/(VE1-VD1)*100,8); V13:=EMA(V112,5); STICKLINE(V112>0 AND V112-V13>=0,79,80,6,0),COLORRED ; STICKLINE(V112>0 AND V112-V13<0,79,80,6,1),COLOR00FF00 ; STICKLINE(V112>0 AND V112-V13>=0,19,20,6,0),COLORRED, ; STICKLINE(V112>0 AND V112-V13<0,19,20,6,1),COLOR00FF00 ; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!