多:=IF(C>REF(C,1),V,0) ; 空:=IF(C<REF(C,1),V,0) ;
正:EMA(MA(多,3),3);
负:EMA(MA(空,3),10),colorgreen,;
STICKLINE(正,正,0,10,0),colorred;
STICKLINE(正>0 AND 正>REF(正,1),正*4/5,0,10,0),COLOR10D3FF;
STICKLINE(正>0 AND 正>REF(正,1),正*2/5,0,10,0),COLOR10FFFF;
STICKLINE(正>0 AND 正<REF(正,1),正,0,10,0),colorbrown;
STICKLINE(正>0 AND 正<REF(正,1),正*4/5,0,10,0),COLORCA3DB5;
STICKLINE(正>0 AND 正<REF(正,1),正*2/5,0,10,0),COLORFF99CC;
STICKLINE(负,负*(-1),0,2,0),COLOR66FF00;
STICKLINE(负,负*(-0.85),0,2,0),COLOR66DD00;
STICKLINE(负,负*(-0.75),0,2,0),COLOR66BB00;
STICKLINE(负,负*(-0.65),0,2,0),COLOR669900;
STICKLINE(负,负*(-0.55),0,2,0),COLOR667700;
STICKLINE(负,负*(-0.45),0,2,0),COLOR665500;
STICKLINE(负,负*(-0.35),0,2,0),COLOR663300;
DRAWTEXT(CROSS(10,正) ,1000,'绝'),colorred;
DRAWTEXT(CROSS(10,正) ,-1000,'杀'),colorred;
DRAWTEXT((负>(正*10)),-1000,'杀'),colorred;
DRAWTEXT((负>(正*10)),1000,'10倍杀'),colorred;
DRAWTEXT((负>(正*5)),负,'5倍杀'),colorred;
DRAWTEXT((正>(负*5)),正,'5倍出'),colorgreen;
VERLINE(负>(正*10),6),colorred,LINETHICK6;
VERLINE(负>(正*5),1),coloryellow;
STICKLINE(CROSS(正,1000),负*(-0.35),负*(0.35),1,0),colorred;
DRAWTEXT(CROSS(正,1000),负*(-1.35),'绝低吸'),colorred;
VAR2:=(CLOSE);
VAR3:=MA(CLOSE,13);
VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);
VAR5:=LLV(LOW,75);
VAR6:=HHV(HIGH,75);
VAR7:=(VAR6-VAR5)/100;
VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);
VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);
VARA:=3*VAR8-2*SMA(VAR8,15,1);
VARB:=3*VAR9-2*SMA(VAR9,15,1);
VARC:=100-VARB;
主力仓位:=(100-VARA),colorred,LINETHICK3;
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR10:=(VARF*VOL+VARE);
VAR11:=EMA(VAR10,30);
VAR12:=CLOSE-REF(CLOSE,1);
VAR13:=MAX(VAR12,0);
VAR14:=ABS(VAR12);
VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
VAR17:=BARSCOUNT(CLOSE);
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,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;
VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50;
VAR21:=(HIGH+LOW+CLOSE)/3;
VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));
VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70));
VAR24:=IF(VAR22>=150 AND VAR22<200 AND VAR23>=150 AND VAR23<200,10,0);
VAR25:=IF(VAR22<=-150 AND VAR22>-200 AND VAR23<=-150 AND VAR23>-200,-10,VAR24);
STICKLINE(VAR20,0,正*1.8,0,2),LINETHICK5,colorred;
主力建仓:=DRAWTEXT(CROSS(VAR20,0.5) AND COUNT(VAR20=1,10)=1,负,'主力建仓!'),LINETHICK7 , colorred;
DRAWTEXT(主力建仓,负*(2.8),'主力建仓'),colorred;
STICKLINE(主力建仓,负*(2.8),1,0,0),colorred;
DRAWTEXT(主力建仓,负*(-2.8),'主力建仓'),colorred;
STICKLINE(主力建仓,负*(-2.8),1,0,0),colorred;
AR1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100+M<0;
AR2:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+N<0;
AR3:=AR1 AND AR2;
AR4:=AR1 AND AR2 AND COUNT(AR3,2)=1 AND DATE>940101 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (OPEN -REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND (REF(OPEN,1)>REF(CLOSE,1) OR REF(OPEN,1)<REF(CLOSE,1)) AND (REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF (OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF (OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5));
AR5:=DMA(EMA(CLOSE,8),SUM(VOL,9)/2.8);
AR6:=(CLOSE-AR5)/AR5*100;
AR7:=REF(AR6,1)+D<0 AND AR6>REF(AR6,1) AND REF(AR6,1)<REF(AR6,2) AND AR6-REF(AR6,1)>1.8 AND (HIGH>LOW) AND (REF(HIGH,1)>REF(LOW,1)) AND (REF(HIGH,2)>REF(LOW,2)) AND (REF(HIGH,3)>REF(LOW,3)) AND (REF(HIGH,4)>REF(LOW,4)) AND (REF(HIGH,5)>REF(LOW,5));
{抄底高手:(AR4 OR AR7)*8;}
抄底高手1:=(AR4 OR AR7) ;
STICKLINE(抄底高手1,负*(-1),负*(0.8),0,1),colormagenta;
DRAWTEXT(抄底高手1,负*(-1) ,'抄底'),colormagenta;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
DRAWTEXT(CROSS(DEA,DIFF) ,正*(1.1) ,'叉'),colormagenta;
STICKLINE(CROSS(DEA,DIFF),正*(1.1),0,0,1),colormagenta;
MTM1:=MA((CLOSE-REF(CLOSE,13))*31,5),LINETHICK1,COLOR7711EE;
VARF1:=MA(HHV(HIGH,485),17);
VARF2:=MA(HHV(HIGH,222),17);
VARF3:=MA(HHV(HIGH,96),17);
VARF4:=MA(LLV(LOW,485),17);
VARF5:=MA(LLV(LOW,222),17);
VARF6:=MA(LLV(LOW,96),17);
VARF7:=MA((VARF4*0.96+VARF5*0.96+VARF6*0.96+VARF1*0.558+VARF2*0.558+VARF3*0.558)/6,17);
VARF8:=MA((VARF4*1.25+VARF5*1.23+VARF6*1.2+VARF1*0.55+VARF2*0.55+VARF3*0.65)/6,17);
VARF9:=MA((VARF4*1.3+VARF5*1.3+VARF6*1.3+VARF1*0.68+VARF2*0.68+VARF3*0.68)/6,17);
VARFA:=MA((VARF7*3+VARF8*2+VARF9)/6*1.738,17);
VARFB:=IF(C=C,VARFA,VARFA*DAY);
VARFC:=LOW;
VARFD:=REF(LOW,1);
VARFE:=SMA(ABS(VARFC-VARFD),3,1)/SMA(MAX(VARFC-VARFD,0),3,1)*100;
VARFF:=MA(IF(CLOSE*1.35<=VARFB,VARFE*10,VARFE/10),3);
VARF10:=LLV(LOW,30);
VARF11:=HHV(VARFF,30);
绝佳买点:=IF(C=C,MA(IF(LOW<=VARF10,(VARFF+VARF11*2)/2,0),3),100000000)/(200),colorred,LINETHICK2;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26),colorred;
DRAWTEXT(CROSS(绝佳买点,1.20000) ,正*(2.8),'疯牛'),colorblue;
STICKLINE(CROSS(绝佳买点,1.20000),正*(2.8),1,0,1),colorblue;
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00;
RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
中线:=SMA(RSV2,5,1)+2*STD(CLOSE,37),colorred;
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
长线:=SMA(RSV3,5,1),coloryellow;
DRAWTEXT(CROSS(短线,长线)AND 长线<18 AND 长线>REF(长线,1)OR CROSS(长线,5),正*(-0.6),'千载难逢');
A1:=BARSLAST(REF(CROSS("MACD.DIFf"(12,26,9),"MACD.DEA"(12,26,9)),1));
B1:=REF(C,A1+1)>C AND REF("MACD.DIFf"(12,26,9),A1+1)<"MACD.DIFf"(12,26,9) AND CROSS("MACD.DIFf"(12,26,9),"MACD.DEA"(12,26,9));
STICKLINE(B1>0,负*(2.8),正*(1.6),1,0),colorred;
MACD底背:DRAWTEXT(B1>0,负*(2.8),'MACD底背'),colorred;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!