{起爆点主图 公式} DRAWGBK(C>0, RGB(40,120,20),RGB(00,00,00),0,0,1),LINETHICK2; MA1:MA(C,1),LINETHICK1; MA7:MA(C,7),COLORWHITE ,LINETHICK2; MA14:MA(C,14),COLORYELLOW,LINETHICK3; MA17:IF(MA(C,17) >MA(C,89),MA(C,21),MA(C,89))COLOR00AAFF,LINETHICK3; MA89:MA(C,89),POINTDOT,COLORFFFFFF,LINETHICK4; DRAWICON(CROSS(MA14,MA89),MA14,1); DRAWICON(CROSS(MA7,MA89),MA7,1); HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY:=0; AA01:=REF(H,HIGHN)=HHV(H,2*HIGHN+1); QY:=(AA01,HIGHN+1); CC01:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1); DDDD1:=BARSLAST(CC01); GDTS:=IF(CC01,CURRBARSCOUNT,0); DINGBUTS:=IF(DDDD1,REF(GDTS,DDDD1),GDTS); GDCS1:=CONST(DINGBUTS); DINGBUTS1:=REF(DINGBUTS,DDDD1+1); GDCS2:=CONST(DINGBUTS1); AA111:=REF(L,LOWN)=LLV(L,2*LOWN+1); QY1:=(AA111,LOWN+1); CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1); DD1:=(CC1); DDTS:=IF(CC1,CURRBARSCOUNT,0); DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS); DDCS1:=CONST(DDTS1); DDTS2:=REF(DDTS1,DD1+1); DDCS2:=CONST(DDTS2); 高点压力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) ,COLOR8080FF,LINETHICK3; 低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1),COLOR8080FF,LINETHICK3; {压力一} TY:=C,LINETHICK2; A001:=REF(TY,10)=HHV(TY,2*10+1),LINETHICK2; B1:=FILTER(A001,10),LINETHICK2; C001:=(B1,10+1),LINETHICK2; HD:=FILTER(C001,10),LINETHICK2; A002:=REF(TY,10)=LLV(TY,2*10+1),LINETHICK2; B2:=FILTER(A002,10),LINETHICK2; C2:=(B2,10+1),LINETHICK2; LD:=FILTER(C2,10),LINETHICK2; 前期高位:REF(C,BARSLAST(HD)),COLOR00FF00,POINTDOT,LINETHICK2; STICKLINE(C,前期高位,前期高位,8,0),COLORYELLOW,LINETHICK2; {压力支撑} N2:=5;N3:=5; M:=INTPART(3*N2/5);{压力线取} AAAA:=REF(H,M)=HHV(H,2*M+1); QYY:=(AAAA,M+1); CCC:=FILTER(QYY,M) AND H=HHV(H,M+1); DDDD:=BARSLAST(CCC),NODRAW; GDTSS:=IF(CCC,CURRBARSCOUNT,0),NODRAW; DINGBUTSS:=IF(DDDD,REF(GDTSS,DDDD),GDTSS),NODRAW; GDCS11:=CONST(DINGBUTSS),NODRAW; DINGBUTS11:REF(DINGBUTSS,DDDD+1),NODRAW; GDCS22:=CONST(DINGBUTS11); 高点压力M:DRAWLINE(CURRBARSCOUNT=GDCS22,H,CURRBARSCOUNT=GDCS11,H,1),COLORLIBLUE,LINETHICK3; W:=INTPART(3*N3/5); AA11:=REF(L,W)=LLV(L,2*W+1); QY11:=(AA11,W+1); CC11:=FILTER(QY11,W) AND L=LLV(L,W+1); DD11:=BARSLAST(CC11); DDTSS:=IF(CC11,CURRBARSCOUNT,0); DDTS11:=IF(DD11,REF(DDTSS,DD11),DDTSS); DDCS11:=CONST(DDTS11); DDTS22:=REF(DDTS11,DD11+1); DDCS22:=CONST(DDTS22); 低点支撑M:DRAWLINE(CURRBARSCOUNT=DDCS22,L,CURRBARSCOUNT=DDCS11,L,1),,COLORFF8000 ,LINETHICK2; T1B:=CONST(LLVBARS(LOW,10)); T1HIGH:=CONST(REF(HIGH,T1B)); CC001:=CONST(CURRBARSCOUNT); T2B:=CONST(BARSLAST(CURRBARSCOUNT>CC001+T1B AND H>T1HIGH)); T2HIGH:=CONST(REF(HIGH,T2B)); T3:=CONST(BARSLAST(CURRBARSCOUNT>CC001+T2B AND HIGH>T2HIGH)); T3HIGH:=CONST(REF(HIGH,T3)); 必杀线:DRAWLINE(CURRBARSCOUNT=T3+1, T3HIGH, ISLASTBAR, T3HIGH, 1),COLORRED,LINETHICK3; DRAWTEXT(ISLASTBAR, T3HIGH, 必杀线)LINETHICK1,COLOR0000FF; MA5K:必杀线,COLORYELLOW,LINETHICK1; {启动分界线组件————————————————————————} M1:=EMA(C,5);M2:=EMA(C,13);M3:=EMA(C,34); MC1:=EMA(C,55);MC2:=EMA(C,89);MA4:=EMA(C,144); 判势线:=NEWSAR(1,100),COLORYELLOW,LINETHICK2; {跳空缺口组件——————————————————————————} N:=30; LL:=REF(L,1); HH:=REF(H,1); SQK:=L>HH; XQK:=H<LL; 向上跳几元:IF(SQK=1,L-HH,DRAWNULL),COLORGREEN,CROSSDOT,LINETHICK3,NODRAW; 逃命跳空元:IF(XQK=1,H-LL,DRAWNULL),COLORYELLOW,CROSSDOT,LINETHICK3,NODRAW; DRAWTEXT(SQK,L*0.92,'向上跳空'),COLOR00F0F0,LINETHICK2; DRAWTEXT(XQK,H*1.08, '逃命跳空'),COLOR0000FF,LINETHICK2; {主图中的倍量K线如何变黄s} V2V:=V/REF(V,1)>=1.9 AND C>REF(C,1); STICKLINE(V2V,O,C,-1,0),COLORYELLOW; {高低标注} DDD:=(4,5 ); VARA:=(MA(C,13)+MA(C,17))/2; VARB:=(STD(C,13)+STD(C,17))/2; VARC:=IF((C>REF(C,1)),88,0); VARD:=VARA+0.72*VARB; VARF:=IF(((C)/(REF(C,1))>1.05) AND H/C<1.01 AND VARC>0,91,0); VARE:=IF(VARB>1.88 ,MA(VARD,3),VARD); VARG:=EMA(EMA(C,9),9); CON:=(VARG-REF(VARG,1))/REF(VARG,1)*1000; HCON:=100*(C*0.95); VAR1:=EMA(EMA(EMA(C,5),5),5); VAR2:=VAR1-REF(VAR1,1)+VAR1; VAR3:=CROSS(VAR2,MA(VAR2,26)); VAR4:=CROSS(MA(C,13),MA(C,21)); VAR5:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; VAR6:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1); VAR7:=IF(VAR6<=10,30,0); VARJ:=SMA(VAR5,3,1); VARK:=SMA(VARJ,3,1); VARL:=EMA(SMA((C-LLV(L,19))/(HHV(H,19)-LLV(L,19))*100,8,1),3); VARM:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100; VAR8:=(VARL>20 AND VARL<80); VAR9:=((VARL-REF(VARL,1))>3 AND VAR8); VAR10:=EMA(((C-LLV(L,22))/(HHV(H,22)-LLV(L,22)))*100,5); VAR11:=EMA(((C-LLV(L,22))/(HHV(H,22)-LLV(L,22)))*50,13); 止赢卖出线:VARE*1.1,COLORRED,LINETHICK2; {K线} STICKLINE(CLOSE>OPEN OR CLOSE=OPEN AND CLOSE>REF(CLOSE,1),LOW,HIGH,0.0,0),COLORRED; STICKLINE(CLOSE<OPEN OR CLOSE=OPEN AND CLOSE<=REF(CLOSE,1),LOW,HIGH,0.0,0),COLORCYAN; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR008800; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00AA00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00DD00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF00; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR000088; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000AA; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000DD; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0) ,COLOR0000FF; 11,DOTLINE,COLORBLUE; 25,DOTLINE,COLORBLUE; 4,DOTLINE,COLORBLUE; 40,DOTLINE,COLORBLUE; 64,DOTLINE,COLORBLUE;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!