绝佳 是带有未来函数的,使用需要注意! MA1:MA(CLOSE,M1); {三线开花趋势} DRAWICON(CROSS((MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,25))/3,(MA(CLOSE,13)+MA( CLOSE,34)+MA(CLOSE,55))/3),(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,25))/3,1); 线1:IF((MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,25))/3<(MA(CLOSE,20)+MA(CLOSE,60)+ MA(CLOSE,120))/3,(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,25))/3,(MA(CLOSE,20)+MA( CLOSE,60)+MA(CLOSE,120))/3),COLOR00FF00; IF((MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,25))/3<(MA(CLOSE,20)+MA(CLOSE,60)+MA( CLOSE,120))/3,(MA(CLOSE,20)+MA(CLOSE,60)+MA(CLOSE,120))/3,(MA(CLOSE,5)+MA( CLOSE,10)+MA(CLOSE,25))/3),COLORRED; 线2:IF((MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30)+MA(CLOSE,60)+MA( CLOSE,120))/6<(MA(CLOSE,20)+MA(CLOSE,60)+MA(CLOSE,120))/3,(MA(CLOSE,5)+MA( CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30)+MA(CLOSE,60)+MA(CLOSE,120))/6,(MA(CLOSE, 20)+MA(CLOSE,60)+MA(CLOSE,120))/3),COLOR00FF00; IF((MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30)+MA(CLOSE,60)+MA(CLOSE, 120))/6<(MA(CLOSE,20)+MA(CLOSE,60)+MA(CLOSE,120))/3,(MA(CLOSE,20)+MA(CLOSE, 60)+MA(CLOSE,120))/3,(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30)+MA( CLOSE,60)+MA(CLOSE,120))/6),COLORRED; 线3:IF((MA(CLOSE,20)+MA(CLOSE,60)+MA(CLOSE,120))/3<(MA(CLOSE,5)+MA(CLOSE,10)+ MA(CLOSE,25))/3,(MA(CLOSE,20)+MA(CLOSE,60)+MA(CLOSE,120))/3,(MA(CLOSE,20)+MA( CLOSE,60)+MA(CLOSE,120))/3),COLOR00FF00,LINETHICK2; IF((MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,25))/3<(MA(CLOSE,20)+MA(CLOSE,60)+MA( CLOSE,120))/3,(MA(CLOSE,20)+MA(CLOSE,60)+MA(CLOSE,120))/3,(MA(CLOSE,20)+MA( CLOSE,60)+MA(CLOSE,120))/3),COLORRED,LINETHICK2; {巴老股市07} DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW*0.978,'★绝佳'),LINETHICK2,COLORRED; DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.02,'★卖'); DRAWTEXT(CROSS(EMA(C,8),EMA(C,20))AND(C>=O)AND EMA((C+H+L)/3,4)>REF(EMA((C+ H+L)/3,4),1),EMA(C,8)*1.05,'★买'),COLOR00FF00; DRAWTEXT(CROSS(SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,3,1),3,1), SMA(SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,3,1),3,1),3,1))AND(C>=O) AND SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,3,1),3,1)<40 AND (-((( CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0 AND IF(-MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF( (L+H+2*C)/4,1)),5,1)*100,1)+50>95,0,20))+1)>0,HIGH*1.07,'★蛰伏'),COLORFF7F00; DRAWTEXT(CROSS(EMA(C,2),EMA(SLOPE(C,21)*20+C,42))AND MA(REF(HHV(C,30),1), 2)>=REF(MA(REF(HHV(C,30),1),2),1),LOW*0.95,'★跟'),COLORYELLOW; {巴老解盘 智能解盘} DRAWTEXT(FILTER(CLOSE/REF(CLOSE,1)>INDEXC/REF(INDEXC,1),30),L*1.00,'该股强于大盘'),COLORFF00FF; {极地上涨} VARD:=EMA(0.667*REF(EMA(((CLOSE+HIGH+LOW)/3-LLV(LOW,34))/(HHV(HIGH,34)-LLV (LOW,34))*100,13),1)+0.333*EMA(((CLOSE+HIGH+LOW)/3-LLV(LOW,34))/(HHV(HIGH,34) -LLV(LOW,34))*100,13),2); B1:=EMA(((((2)*(CLOSE)+HIGH+LOW)/(4)-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34) ))*(100),8); DRAWTEXT((CROSS(3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21, 1)-2*SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1), 20)),LOW*0.91,'低位转强'),COLORWHITE; DRAWTEXT((CROSS(EMA(((CLOSE+HIGH+LOW)/3-LLV(LOW,34))/(HHV(HIGH,34)-LLV (LOW,34))*100,13),EMA(VARD,1)) AND EMA(((CLOSE+HIGH+LOW)/3-LLV(LOW,34))/ (HHV(HIGH,34)-LLV(LOW,34))*100,13)>VARD AND EMA(((CLOSE+HIGH+LOW)/3-LLV (LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,13)<55 AND C>O),L*0.99,'开始拉升'), COLORYELLOW; DRAWTEXT((LLV(C,500)=LLV(C,5) AND C/REF(C,1)>(1+9.8/100)),H*1.03,'极地上涨') ,COLORRED; {MACD叫“好”}; DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA); DRAWTEXT(CROSS(DIFF,DEA) AND DIFF<-0.1,L*0.88,' 低位金叉'),COLORWHITE; DRAWTEXT(CROSS(DIFF,DEA) AND DEA<0 AND COUNT(COUNT(CROSS(DIFF,DEA),BARSLAST( DEA>=0))=2,21)=1,L*0.86,' 二次金叉')COLORYELLOW; DRAWTEXT(REF(CLOSE,BARSLAST(REF(CROSS(DIFF,DEA),1))+1)>CLOSE AND DIFF>REF( DIFF,BARSLAST(REF(CROSS(DIFF,DEA),1))+1) AND CROSS(DIFF,DEA),L*0.84, ' 底背离'),COLORFF00FF; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!