抄底趋势 N:=2; DRAWGBK(1,COLORRGB(0,0,0),COLORRGB(0,0,0),1); VAR1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VAR2:=2*ABS(VAR1); VAR3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR5:=(HIGH+LOW+CLOSE)/3; VAR6:=(VAR5-MA(VAR5,14))/(0.015*AVEDEV(VAR5,14)); VAR7:=(VAR5-MA(VAR5,70))/(0.015*AVEDEV(VAR5,70)); VAR8:=IF(VAR6>=150 AND VAR6<200 AND VAR7>=150 AND VAR7<200,10,0); VAR9:=IF(VAR6<=-150 AND VAR6>-200 AND VAR7<=-150 AND VAR7>-200,-10,VAR8); VARA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; VARB:=100-ABS(VARA); VARC:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1); VARD:=3*SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1); VARE:=REF(LOW,1)*0.9; VARF:=LOW*0.9; VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL; VAR11:=EMA(VAR10,30); VAR12:=VAR11-CLOSE; VAR13:=REF(CLOSE,1); VAR14:=(SMA(MAX(CLOSE-VAR13,0),7,1))/(SMA(ABS(CLOSE-VAR13),7,1))*100; VAR15:=(SMA(MAX(CLOSE-VAR13,0),13,1))/(SMA(ABS(CLOSE-VAR13),13,1))*100; VAR16:=BARSCOUNT(CLOSE); VAR17:=(SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE-REF(CLOSE,1)),6,1))*100; VAR18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2; VAR19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100; VAR1A:=(SMA(VAR19,4,1)-50)*2; VAR1B:=SMA(VAR1A,3,1); VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; VAR1D:=SMA(VAR1C,4,1); VAR1E:=SMA(VAR1D,3,1); VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100; VAR11:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*100; VAR22:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100; VAR33:=IF(ABS(VAR1)<2,0.9,1); VAR44:=VAR33*(VAR22-VAR11); VAR20:=IF(VAR17<=25 AND VAR18<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR12>=-0.25 AND VAR14<25 AND VAR15<30 AND VAR16>50,70,0); ★发射:VAR20,LINETHICK0,colorFF; 预警系统:(IF(VAR7>=200 AND VAR6>=150,15,IF(VAR7<=-200 AND VAR6<=-150,-15,VAR9)))+60,LINETHICK0; AA:=REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04 AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1); AA1:=MA(VOL,8)/MA(VOL,45)>=2.5; AA2:=MA(HIGH,13); AA3:=MA(CLOSE,13); AA4:=MA(AMOUNT/VOL,13)/100; AA5:=MA(LOW,13); AA6:=MA(AMOUNT/VOL,30)/100; AA7:=MA(AMOUNT/VOL/100,13)*0.85; AA8:=FILTER(AA2>REF(AA2,1)*1.015 AND AA5>REF(AA5,1)*1.015 AND AA3>REF(AA3,1)*1.015 AND AA4>REF(AA4,1)*1.015,5); 高位买:(CLOSE>0 AND FINANCE(33)>0 AND (AA OR AA8))*20,LINETHICK0,colorFF00FF; 盘:=CAPITAL/1000000; 益:=FINANCE(33); 资:=FINANCE(34); 换手:=VOL/CAPITAL; 长阳:=WINNER(CLOSE)-WINNER(OPEN)>=0.15 AND 换手<=0.04; 缩量长阳:=IF(长阳,(WINNER(CLOSE)-WINNER(OPEN))*100,0); VVAR1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1); VVAR2:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1); 个股:=EMA(SUM(VVAR1,20),5); 大盘:=EMA(SUM(VVAR2,20),5); 领涨:=个股-大盘>=0; VVAR3:=(CLOSE-LLV(LOW,125))/(HHV(HIGH,125)-LLV(LOW,125))*100; VVAR4:=SMA(VVAR3,72,1); VVAR5:=SMA(VVAR4,34,1); 中线趋势:=3*VVAR4-2*VVAR5; 中线趋势升:=中线趋势-REF(中线趋势,1)>=0; 均五升:=MA(CLOSE,5)-REF(MA(CLOSE,5),1)>=0; 均十升:=MA(CLOSE,10)-REF(MA(CLOSE,10),1)>=0; 领涨大盘:IF(均五升 AND 均十升 AND 中线趋势升 AND 领涨,4,0),colorFF99FF; VVAR6:=(2*CLOSE+HIGH+LOW)/4; VVAR7:=LLV(LOW,N); VVAR8:=HHV(HIGH,N); 攀登:=(EMA((VVAR6-VVAR7)/(VVAR8-VVAR7)*100,13)-15)*1.6; 金山:=EMA(0.618*REF(攀登,1)+0.382*攀登,3); 强弱界:0,colorFFFF00; 运动员:=IF(攀登>=金山 AND 均五升 AND 均十升 AND 中线趋势升 AND 金山<35,1,0); 起步:IF(CROSS(攀登,金山) AND 金山<30,10,0); 起攀:IF(运动员=1 AND (COUNT(运动员=1,5))=1,8,0),LINETHICK1,colorFF9999; 超短买:缩量长阳,LINETHICK0,color60FFFF; BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100; BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6; 乖离:=MA(BIAS,3); 必抄底:IF(起攀=8 AND (COUNT(乖离<-12,10))>=1,10,0),LINETHICK0,colorFF; 天:=IF(VARB<90,VARB,100); 地:=IF(VAR1>0,VAR1,0); 基D:=IF(VAR1<0,VAR2,0); STICKLINE(基D>=REF(基D,1),0,基D,7,0),color414141; STICKLINE(基D<REF(基D,1),0,基D,7,0),colorE2E4E5; STICKLINE(基D,0,-基D*0.3,7,0),color232323; STICKLINE(基D<REF(基D,1),-基D*0.3,0,7,0),color808080; STICKLINE(★发射>0,15,★发射*1.1,1,0),POINTDOT,colorFFFFFF; STICKLINE(★发射>0,15,0,3,0),LINETHICK6,colorFF; STICKLINE(★发射>0 AND ★发射<400,40,★发射,1,1),LINETHICK3,colorFFA4A6; STICKLINE(★发射>0 AND ★发射<400,40,★发射,1,0),LINETHICK1,colorFF; STICKLINE(★发射>0,15,★发射*0.7,5,0),LINETHICK5,colorFFA4A6; STICKLINE(★发射>0,15,★发射*0.4,5,0),LINETHICK7,colorFFA4A6; STICKLINE(★发射>0,15,★发射*0.1,5,0),LINETHICK7,color99CC; STICKLINE(地>0,0,地,10,0),color66FF00; STICKLINE(地>0,0,地*0.9,10,0),color66EE00; STICKLINE(地>0,0,地*0.85,10,0),color66DD00; STICKLINE(地>0,0,地*0.8,10,0),color66CC00; STICKLINE(地>0,0,地*0.75,10,0),color66BB00; STICKLINE(地>0,0,地*0.7,10,0),color66AA00; STICKLINE(地>0,0,地*0.65,10,0),color669900; STICKLINE(地>0,0,地*0.6,10,0),color668800; STICKLINE(地>0,0,地*0.55,10,0),color667700; STICKLINE(地>0,0,地*0.5,10,0),color666600; STICKLINE(地>0,0,地*0.45,10,0),color665500; STICKLINE(地>0,0,地*0.4,10,0),color664400; STICKLINE(地>0,0,地*0.35,10,0),color663300; STICKLINE(地>0,0,地*0.3,10,0),color662200; STICKLINE(地>0,0,地*0.25,10,0),color661100; STICKLINE(地>0,0,地*0.2,10,0),color660000; STICKLINE(地>0,0,-地*0.3,10,0),color417800; STICKLINE(VAR3>=REF(VAR4,1),VAR3,VAR4,8,0),colorFF; STICKLINE(VAR3<REF(VAR4,1),VAR3,VAR4,8,0),colorFFFF; T1:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1); T2:=CLOSE<MA(CLOSE,20) AND MA(CLOSE,20)<REF(MA(CLOSE,20),1); T3:=地>50 AND 预警系统>60 AND 天=100; T4:=地>48 AND 预警系统>60 AND 天<100; T5:=基D>38 AND 预警系统<55; T6:=★发射>50 AND 天<90; T7:=VAR3<REF(VAR4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); T8:=VAR3>=REF(VAR4,1) AND CLOSE<REF(CLOSE,1) AND 预警系统=60 AND ★发射=0 AND 基D>REF(基D,1) AND VARC<REF(VARD,1); OSC:=CLOSE/REF(CLOSE,10)*100; LC:=REF(CLOSE,1); VR:=(SUM(IF(CLOSE>LC,VOL,0),10))/(SUM(IF(CLOSE<=LC,VOL,0),10))*100; AR:=(SUM(HIGH-OPEN,10))/(SUM(OPEN-LOW,10))*100; PSY:=(COUNT(CLOSE>REF(CLOSE,1),10))/10*100; DRAWTEXT(CLOSE>0 AND BARSTATUS=2,90,'电子股评,仅供参考'); DRAWTEXT(CLOSE>0 AND BARSTATUS=2 AND "MACD.MACD">0,75,'强势!'),colorFFFF; DRAWTEXT(CLOSE>0 AND BARSTATUS=2 AND REF("MACD.MACD",1)<0 AND "MACD.MACD">0 OR CLOSE>0 |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!