公式来源于论坛,回报论坛。非常感谢各位老师的辛勤指导和无私分享。 DRAWGBK(C>0, RGB(0,10,10),RGB(48,0,0),0,'11',0); N:=13; BC:=(H*0.382+L*0.618+O*0.382+C*0.618)/2; LJ:=IF(INDEXC=C,BC,(BC+AMOUNT/(V*100))/2),COLORGRAY; HT:=REF((HHV(LJ,N*0.691)+HHV(LJ,N)+HHV(LJ,N*1.309))/3,1),LINETHICK,COLORRED; LT:=REF((LLV(LJ,N*0.691)+LLV(LJ,N)+LLV(LJ,N*1.309))/3,1),LINETHICK,COLORGREEN; ZT:=(HT+LT)/2,LINETHICK,COLORYELLOW; STICKLINE(ISLASTBAR=1 AND LJ<ZT,HT,LT,N*8,0),COLORBLUE; STICKLINE(ISLASTBAR=1 AND LJ=ZT,HT,LT,N*8,0),COLORGRAY; STICKLINE(ISLASTBAR=1 AND LJ>ZT,HT,LT,N*8,1),COLOR6600FF; STICKLINE(ISLASTBAR=1,ZT,ZT,N*8,0),COLORYELLOW; STICKLINE(OPEN>=CLOSE,HIGH,LOW,0,0),COLORFFCC00; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3,0),COLORFF9F68; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.8,0),COLORFF9900; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.5,0),COLORFFAA11; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2,0),COLORFFBB11; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1,0),COLORFFCC22; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0.4,0),COLORFFDD22; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0.2,0),COLORFFEE33; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0,0),COLORFFFF33; STICKLINE(CLOSE>OPEN,HIGH,LOW,0,0),COLORRED; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),COLORBROWN; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.8,0),COLOR3300CC; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.5,0),COLORBROWN; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0),COLOR6633CC; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.6,0),COLOR3333FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.4,0),COLOR6633FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.2,0),COLOR3366FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.1,0),COLOR6666FF; 箱顶:HT,LINETHICK,COLORRED; 箱底:LT,LINETHICK,COLORGREEN; 箱中:ZT,LINETHICK,COLORYELLOW; {虚拟涨停K线} ZTKX:=IF(CURRBARSCOUNT=1,REF(CLOSE,1)*1.1,DRAWNULL),NODRAW; STICKLINE(CURRBARSCOUNT=1,ZTKX,MAX(OPEN,CLOSE),-2,-2),COLOR00C0C0; DRAWKLINE(HIGH,OPEN,LOW,CLOSE); 上轨:(1+11/100)*MA(CLOSE,10),COLORRED,LINETHICK2; 下轨:(1-9/100)*MA(CLOSE,10),COLORRED,LINETHICK2; 中轨:(上轨+下轨)/2,COLORRED,LINETHICK2; 生命线:EMA(((SLOPE(CLOSE,22) * 23) + CLOSE),50),LINETHICK2; VACAR1:=(CLOSE+HIGH+LOW)/3; VACAR2:=EMA(VACAR1,10); VACAR3:=REF(VACAR2,1); 持股: IF(VACAR2>VACAR3,VACAR2,DRAWNULL),POINTDOT LINETHICK6, COLORYELLOW; 持币: IF(VACAR2<VACAR3,VACAR3,DRAWNULL),POINTDOT LINETHICK6, COLORBLUE; LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); 日:=150;昨前:=3; 高1:=REF(HHV(H,日),昨前); 低1:=REF(LLV(L,日),昨前); 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; 顶:REFDATE(高1,DATE),COLORRED; 一0.809:REFDATE(H1,DATE),COLORFFFF00; 二0.618:REFDATE(H2,DATE),COLORMAGENTA; 三0.500:REFDATE(H3,DATE),COLORWHITE; 四0.382:REFDATE(H4,DATE),COLORGREEN; 五0.191:REFDATE(H5,DATE),COLORYELLOW; 低:REFDATE(低1,DATE),COLORRED; HJF1:=O<MA(C,5) AND C>MA(C,5) AND O<MA(C,10) AND C>MA(C,10) AND O<MA(C,20) AND C>MA(C,20) AND O<MA(C,120) AND C>MA(C,120); HJF11:=O<MA(C,5) AND C>MA(C,5) AND O<MA(C,10) AND C>MA(C,10) AND O<MA(C,20) AND C>MA(C,20) AND O<MA(C,60)AND C>MA(C,60); HJF2:=(O<低 AND C>低 AND 低/O<1.06) OR (O<五0.191 AND C>五0.191 AND 五0.191/O<1.06) OR (O<四0.382 AND C>四0.382 AND 四0.382/O<1.06); HJF3:=C/REF(C,1)>1.04; HFXG:=(HJF1 OR HJF11) AND HJF2 AND HJF3; DRAWICON(HFXG,L*0.96,11); DRAWTEXT(HFXG,L*0.92,'起爆'),COLORGREEN; 基准量:=(MA(VOL,5)+MA(VOL,10))/2; 危险量:=基准量*1.5; 破坏量:=基准量*1.15; 弱压量:=基准量*0.8; 超大量:=基准量*1.5; 攻击量:=基准量*1.15; 防守量:=基准量*0.8; YL:=C>O OR (C=O AND C>=REF(C,1)); DL:=C<O OR (C=O AND C<REF(C,1)); TJ1:=DL AND VOL>=弱压量 AND VOL<破坏量; TJ2:=DL AND VOL>=破坏量 AND VOL<危险量; TJ3:=DL AND VOL>=危险量; TJA:=YL AND VOL>=防守量 AND VOL<攻击量; TJB:=YL AND VOL>=攻击量 AND VOL<超大量; TJC:=YL AND VOL>超大量; DRAWTEXT_FIX(ISLASTBAR AND TJ1,0.01,0.005,0,'弱压量 '),COLORWHITE; DRAWTEXT_FIX(ISLASTBAR AND TJ2,0.01,0.005,0,'破坏量 '),COLORCYAN; DRAWTEXT_FIX(ISLASTBAR AND TJ3,0.01,0.005,0,' 危险量'),COLORGREEN; DRAWTEXT_FIX(ISLASTBAR AND TJA,0.01,0.005,0,' 防守量'),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR AND TJB,0.01,0.005,0,'攻击量'),COLORMAGENTA; DRAWTEXT_FIX(ISLASTBAR AND TJC,0.01,0.005,0,' 超大量'),COLORRED; STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,3.1,0 ),COLOR000055; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR000088; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR0000AA; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000CC; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000FF; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000EE; STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLOR666600; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,3.1,0 ),COLOR555500; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR888800; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLORAAAA00; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBB00; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORCCCC00; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOREEEE00; STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3.1,0 ),COLOR555555; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF; SS1:=1121010; SS3:=DATE<SS1; AAA1:=(C-REF(C,1))/REF(C,1)>=0.058 AND (C-REF(C,1))/REF(C,1)<0.095 AND SS3; AA2:=(C-REF(C,1))/REF(C,1)>=0.098 AND SS3; VAAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VAAR2:=REF(VAAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAAR3:=REF(VAAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAAR4:=REF(VAAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAAR5:=REF(VAAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAAR6:=REF(VAAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAAR7:=REF(VAAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAAR8:=REF(VAAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAAR9:=REF(VAAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAARA:=REF(VAAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAARB:=REF(VAARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAARC:=REF(VAARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2); VAARE:=REF(VAARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAARF:=REF(VAARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAAR10:=REF(VAARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAAR11:=REF(VAAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAAR12:=REF(VAAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAAR13:=REF(VAAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAAR14:=REF(VAAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAAR15:=REF(VAAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAAR16:=REF(VAAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAAR17:=REF(VAAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VA |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!