RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100; K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
//吸筹:STICKLINE(VAR9>-120,0,VAR9,6,1),colormagenta;
AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
AA5:=SMA(AA4,13,8);//www.fxjgsw.com
散户线: 100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60)),colorgreen;
主力线:EMA(J,6),coloryellow;
操作:CEILING(SMA(AA5,13,8)),colorred,LINETHICK2;
AA6:=SMA(AA3,21,8);
//买: STICKLINE(操作-AA6<-65,0,7,15,1);
DRAWICON(FILTER(J>REF(J,1) AND 操作>=REF(操作,1) AND 操作<25,5),操作,"buy");
//卖: STICKLINE(操作-AA6>85,98,90,15,1),COLORFFFF00;
DRAWICON(FILTER(J<=REF(操作,1) AND 操作>85,5),J,"sell");
Var1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
Var2:=SMA(Var1,9,1)+100;
Var3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
Var4:=SMA(Var3,3,1);
Var5:=SMA(Var4,3,1)+100;
Var6:=Var5-Var2;
S: IF(Var6>100,Var6-100,0),colorred;
顶:(S<REF(S,1) AND REF(S,1)>REF(S,2))*3;
底:(S>0 AND REF(S,1)=0)*3;
STICKLINE(REF(S,1)<S,S,REF(S,1),5,0),colormagenta;
STICKLINE(REF(S,1)>S,S,REF(S,1),5,0);
DRAWTEXT_FIX(1,0.01,0.82,0,''),colorred;
N:=19;
VAR1:=HHV(HIGH,N);
VAR2:=LLV(LOW,N);
阻力线:100*EMA((CLOSE-VAR2)/(VAR1-VAR2),21)-0.5,COLORF0F000,LINETHICK2;
操作线:=100*EMA((CLOSE-VAR2)/(VAR1-VAR2),5)-0.5,colorwhite,LINETHICK1;
//DRAWTEXT(CROSS(操作线,阻力线) AND 阻力线<0.1,阻力线,'突破'),coloryellow;
//DRAWTEXT(CROSS(阻力线,操作线) AND 阻力线>0.25,阻力线,'破位'),colorgreen;
红绿棒:(操作线-阻力线),COLORSTICK;
DRAWTEXT(CROSS(ZIG(3,5),REF(ZIG(3,5),1)),LOW*0.95,'↑'),colorliblue,LINETHICK2;//变量
DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.01,'↓') ,colorliblue,LINETHICK2;//变量
//DRAWTEXT(CROSS(操作,阻力线),操作*0.95,'★') ,LINETHICK2,colorlimagenta;
//DRAWTEXT(CROSS(阻力线,操作),阻力线*1.1,'★') ,LINETHICK2,colorgreen;
b:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
a:=CLOSE;
DRAWTEXT(CROSS(b,a),-5,'空') ,LINETHICK2,coloryellow;
DRAWTEXT(CROSS(a,b),11,'多') ,LINETHICK2,coloryellow;
TR=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
HD=HIGH-REF(HIGH,1);
LD=REF(LOW,1)-LOW;
DMP=SUM(IF(HD>0 AND HD>LD,HD,0),14);
DMM=SUM(IF(LD>0 AND LD>HD,LD,0),14);
DI1:=DMP*100/TR;
DI2:=DMM*100/TR;
ADX:=MA(ABS(DI2-DI1)/(DI1+DI2)*100,6);
ADXR:=(ADX+REF(ADX,6))/2;
DRAWTEXT(CROSS(DI1,DI2)>0 AND ADX>40,ADx,'⊙') ,LINETHICK2,colorred;
DRAWTEXT(CROSS(di1,di2) ,di1*1.5,'⊙') ,LINETHICK2,colorred;
DRAWTEXT(CROSS(di2,di1) ,di1*1.5,'⊙') ,LINETHICK2,colorgreen;
DRAWTEXT(CROSS(ADxr,ADx)AND ADx>50 ,ADxr*1.5,'⊙') ,LINETHICK2,coloryellow;
//DRAWTEXT(CROSS(ADxr,ADx)AND ADx<50 ,ADxr*1.5,'⊙') ,LINETHICK2,colorliblue;
DRAWTEXT(REF(ADxr,1)>ADxr AND ADxr>50, ADxr*1.5,'⊙') ,LINETHICK2,colorwhite;
RSI1:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
RSI2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),12,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),12,1)*100;
RSI3:=SMA(MAX(CLOSE-REF(CLOSE,1),0),24,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),24,1)*100;
DRAWTEXT(CROSS(RSI1,RSI3),RSI1*0.95,'买') ,LINETHICK2,colorred;
DRAWTEXT(CROSS(RSI3,RSI1),RSI3*1.1,'卖') ,LINETHICK2,colorgreen;
//STICKLINE(CROSS(RSI1,RSI3) AND CROSS(a,b) ,90,0,3,0),COLOR0099FF;
//STICKLINE(CROSS(RSI3,RSI1) AND CROSS(b,a) ,90,0,3,0),colorligreen;
TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14))*0.1,colorwhite;
//DRAWTEXT(CCI=-10, CCI,'◆') ,LINETHICK2,colorwhite
//DRAWTEXT(REF(CCI,1)>CCI AND CCI<100 AND CCI>80, CCI,'◆') ,LINETHICK2,colorwhite;
mVAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
mVAR2:=SMA(ABS(LOW-mVAR1),13,1)/SMA(MAX(LOW-mVAR1,0),10,1);
mVAR3:=EMA(mVAR2,10);
mVAR4:=LLV(LOW,33);
mVAR5:=EMA(IF(LOW<=mVAR4,mVAR3,0),3);
z:0,colorblack;
主力进场:IF(mVAR5>REF(mVAR5,1),mVAR5,0),colorred,NODRAW;
洗盘:IF(mVAR5<REF(mVAR5,1),mVAR5,0),colorgreen,NODRAW;
STICKLINE(mVAR5<REF(mVAR5,1),0,mVAR5,3,0),colorgreen;
STICKLINE(mVAR5>REF(mVAR5,1),0,mVAR5,3,0 ),COLOR000055;
STICKLINE(mVAR5>REF(mVAR5,1),0,mVAR5,2.6,0 ),COLOR000077;
STICKLINE(mVAR5>REF(mVAR5,1),0,mVAR5,2.1,0 ),COLOR000099;
STICKLINE(mVAR5>REF(mVAR5,1),0,mVAR5,1.5,0 ),COLOR0000BB;
STICKLINE(mVAR5>REF(mVAR5,1),0,mVAR5,0.9,0 ),COLOR0000DD;
STICKLINE(mVAR5>REF(mVAR5,1),0,mVAR5,0.3,0 ),COLOR0000FF;
STICKLINE(mVAR5<REF(mVAR5,1),0,mVAR5,3,0),COLOR005500;
STICKLINE(mVAR5<REF(mVAR5,1),0,mVAR5,2.6,0),COLOR007700;
STICKLINE(mVAR5<REF(mVAR5,1),0,mVAR5,2.1,0),COLOR009900;
STICKLINE(mVAR5<REF(mVAR5,1),0,mVAR5,1.5,0),COLOR00BB00;
STICKLINE(mVAR5<REF(mVAR5,1),0,mVAR5,0.9,0),COLOR00DD00;
STICKLINE(mVAR5<REF(mVAR5,1),0,mVAR5,0.3,0),COLOR00FF00;
mVAR21:=SMA(ABS(HIGH-mVAR1),13,1)/SMA(MIN(HIGH-mVAR1,0),10,1);
mVAR31:=EMA(mVAR21,10);
mVAR41:=HHV(HIGH,33);
mVAR51:=EMA(IF(HIGH>=mVAR41,mVAR31,0),3);
主力拉高:IF(mVAR51<REF(mVAR51,1),mVAR51,0),coloryellow,NODRAW;
STICKLINE(mVAR51<REF(mVAR51,1),0,mVAR51,3,0),coloryellow;
出货:IF(mVAR51>REF(mVAR51,1),mVAR51,0),colorcyan,NODRAW;
STICKLINE(mVAR51>REF(mVAR51,1),0,mVAR51,3,0 ),colorcyan;
TR=EMA(EMA(EMA(CLOSE,12),12),12);
TRIX1:=(TR-REF(TR,1))/REF(TR,1)*100;
TRMA1:=MA(TRIX1,20);
STICKLINE(TRIX1>TRMA1 AND REF(TRIX1,1)<TRIX1,98,90,15,1),colorliblue;
MTM:CLOSE-REF(CLOSE,12);
MAMTM:MA(MTM,6);
//DRAWTEXT(CROSS(MTM,MAMTM) AND CLOSE>OPEN ,maMTM,'买') ,80,colorred;
//DRAWTEXT(CROSS(MAMTM,MTM)AND maMTM>0,MAMTM,'卖') ,80,colorgreen;
//STICKLINE(CROSS(MTM,MAMTM) AND CLOSE>OPEN,90,0,3,0),colorlired;
//STICKLINE(CROSS(MTM,MAMTM) AND 操作>阻力线,90,0,3,0),colorlired;
//STICKLINE(CROSS(MTM,MAMTM) AND 主力线>阻力线,90,0,3,0),colorlired;
STICKLINE(CROSS(a,b),90,0,3,0),colorlired;
STICKLINE(CROSS(MAMTM,MTM)AND maMTM>0 ,90,0,3,0),colorligreen;
//STICKLINE(MTM>0,80,90,15,1),colorliblue;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!