MA5:MA(C,5);
MA10:MA(C,10);
MA20:=MA(C,20);
MA30:MA(C,30);
MA60:MA(C,60);
MA120:MA(C,120);
MA250:MA(C,250);
{www.fxjgsw.com}
{QZS2:=(EMA(C,30)+EMA(C,60))/2;
DRAWBAND(QZS2,RGB(150,30,30),EMA(QZS2,60),RGB(0,110,30));
DRAWKLINE(H,O,L,C);
DRAWGBK(C>0,RGB(0,0,0),RGB(0,0,0),0,'56',0),LINETHICK2;}
{重心A:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
操盘线A:EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK3;
黄金线A:IF(重心A>=操盘线A,操盘线A,DRAWNULL),COLORRED,LINETHICK2;
空仓线A:IF(重心A<操盘线A,操盘线A,DRAWNULL),COLORCYAN,LINETHICK2;}
RSVJ:=(C-LLV(L,NJ))/(HHV(H,NJ)-LLV(L,NJ))*100;
KJ:=SMA(RSVJ,P1J,1);
DJ:=SMA(KJ,P2J,1);
JJ:=3*KJ-2*DJ;
RAV5Q:=SMA(((C-LLV(L,9))/(HHV(H,9)-LLV(L,9)))*100,3,1);
短线:=(3*RAV5Q-2*SMA(RAV5Q,3,1))*1.1;
RSVSK:=(C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100;
长线2:=3*SMA(RSVSK,8,1)-2*SMA(SMA(RSVSK,8,1),7,1);
云端2:=IF(C/REF(C,1)>1.050 AND HIGH/C<1.010 AND IF(C>REF(C,1),88,0)>0, 91, 0);
DX:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);
买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
{TLAMSENR:=MAX(MAX((H-L),ABS((REF(C,1)-HIGH))),ABS((REF(C,1)-L)));
ATR:=MA(TLAMSENR,13);
VAR1ACD:=(REF(C,1)-REF(ATR,1));
胡紧套:(HHV(VAR1ACD,12)),LINETHICK1,COLORFFDE00;}
VAR1T:=(C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100;
VAR2T:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
VAR3T:=(SMA(VAR2T,3,1)-18)*1.55;
VAR4T:=SMA(VAR3T,3,1);
VAR5T:=(C-LLV(L,100))/(HHV(H,100)-LLV(L,100))*100;
VAR6T:=SMA(VAR5T,10,1);
VAR7T:=(EMA(SMA(VAR6T,8,1),34)-25)*2.6;
VAR8T:=POW(MA(C,5),2)+MA(C,5);
VAR9T:=POW(MA(L,5),2)+MA(L,5);
VARAT:=POW(MA(H,5),2)+MA(H,5);
VARBT:=((VAR8T-LLV(VAR9T,64))/(HHV(VARAT,64)-LLV(VAR9T,64))*150+65-10)/2;
VARCT:=SMA(VARBT,3,1)*1.5-46;
VARDT:=SMA(VARCT,3,1);
VARET:=3*VARCT-2*VARDT;
VARFT:=(VAR1T+VAR2T+VAR5T)/3;
VAR10T:=((VAR3T+VAR3T+VAR6T+VARCT)/4-15)*1.67;
VAR11T:=((VAR4T+VAR4T+VAR7T+VARDT)/4-15)*1.67;
VAR12T:=((VAR1T+VAR5T*2+VARFT+VAR10T+VAR11T+VARBT+VARCT+VARDT+VARET)/10-15)*1.67;
VAR13T:=(HHV(H,5)-C)/(HHV(H,5)-LLV(L,5))*(-1)+0.9;
VAR14T:=(HHV(H,10)-C)/(HHV(H,10)-LLV(L,10))*(-1)+0.92;
VAR15T:=(HHV(H,15)-C)/(HHV(H,15)-LLV(L,15))*(-1)+0.93;
VAR16T:=(HHV(H,55)-C)/(HHV(H,55)-LLV(L,55))*(-1)+0.94;
VAR17T:=(HHV(H,89)-C)/(HHV(H,89)-LLV(L,89))*(-1)+0.95;
VAR18T:=(HHV(H,120)-C)/(HHV(H,180)-LLV(L,180))*(-1)+0.96;
VAR19T:=(HHV(H,180)-C)/(HHV(H,180)-LLV(L,180))*(-1)+0.96;
VAR1AT:=((VAR13T*8+VAR14T*8+VAR15T*8+VAR16T+VAR17T+VAR18T+VAR19T)/28-0.1)*185;
VAR1BT:=SMA(VAR1AT,3,1);
VAR1CT:=(SMA(VAR1BT,8,1)-8)*1.18;
浮筹1:=(VAR10T+VAR11T+VAR12T+VARCT+VARDT+VARET+VAR1CT+VAR7T)/13;
浮筹2:=(VAR10T+VAR11T+VAR12T+VARCT+VARDT+VARET+VAR1CT+VAR7T)/21;
浮筹3:=(VAR10T+VAR11T+VAR12T+VARCT+VARDT+VARET+VAR1CT+VAR7T)/34;
RSI57:=((SMA(MAX((C - REF(C,1)),0),5,1) / SMA(ABS((C - REF(C,1))),5,1)) * 100);
TR1:=SUM(MAX(MAX((H - L),ABS((H - REF(C,1)))),ABS((L - REF(C,1)))),10);
HD:=(H - REF(H,1));
LD:=(REF(L,1) - L);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI57);
WR10:=((100 * (HHV(H,10) - C)) / (HHV(H,10) - LLV(L,10)));
多方趋势:=((7)*(SMA(((C-LLV (L,27))/(HHV(H,27)-LLV(L,27)))*30,4,1))-(3)*(SMA(SMA(((C-LLV(L,27))/(HHV(H,27)-LLV(L,27)))*30,4,1),3,1))-SMA(SMA(SMA(((C-LLV(L,27))/(HHV(H,27)-LLV(L,27)))*(30),4,1),3,1),2,1));
空方趋势:=(EMA(MA(多方趋势,5),7));
AA9:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;
BB9:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;
TJ0:=CROSS(EMA(AA9,2),EMA(BB9,5));
TJ1:=CROSS(EMA(C,3),EMA(C,5));
TJ2:=EMA(C,3)>REF(EMA(C,3),1);
BB5:=ATAN(EMA((C+L+H)/3,5)-REF(EMA((C+L+H)/3,5),1))*3.1416*10;
TJ3:=BB5>1 AND EMA((C+L+H)/3,5)>REF(EMA((C+L+H)/3,3),1);
DRAWTEXT(TJ1 AND TJ2 AND TJ0 AND TJ3 AND 短线<100 AND 空方趋势>REF(空方趋势,1) AND 空方趋势>20 AND JJ>REF(JJ,1)
AND JJ>5,L*0.97,'牛启动'),COLORWHITE;
DRAWTEXT(TJ1 AND TJ2 AND TJ0 AND TJ3 AND CROSS((RSI57 + ADX) + RSI57-WR10,0) AND JJ>REF(JJ,1),L*0.93,'大牛'),COLORWHITE;
J6:=(3*EMA((C-LLV(L,18))/(HHV(H,18) - LLV(L,18))*100,3)-2*EMA(EMA((C-LLV(L,18))/(HHV(H,18) - LLV(L,18))*100,3),3));
反转:=IF(FILTER(REF(COUNT(J6<REF(J6,1),5)>=3,1) AND REF(J6,1)<20 AND J6>REF(J6,1),3),30,0);
STICKLINE(反转,O,C,6,0),COLORBLUE;
V33:=(C-LLV(L,8))/(HHV(H,8)-LLV(L,8))*100;
抄底:=(IF(SMA(V33,2,1)>REF(SMA(V33,2,1),1) AND REF(SMA(V33,2,1),1)<REF(SMA(V33,2,1),2) AND SMA(V33,2,1)<23 ,1.5,0))*80;
STICKLINE(抄底,L,H,7,0),COLORBLUE;
KS:=SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1);
DS:=SMA(KS,3,1);
JS:=3*KS-2*DS;
STICKLINE(CROSS(JS,REF(JS+0.01,1)) AND LLV(JS,2)=LLV(JS,8) AND JS<20,L,H,4,0),COLORYELLOW;
DBX:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);
买DD:=IF(LLV(DBX,2)=LLV(DBX,7) AND COUNT(DBX<0,2) AND CROSS(DBX,MA(DBX,2)),1,0);
DRAWTEXT(FILTER(买DD=1,5) AND (反转 OR 抄底) ,L*0.96,'B'),COLORWHITE;
DRAWTEXT(FILTER(买DD=1,5) AND (TJ1 AND TJ2 AND TJ0 AND TJ3 AND 买 AND FILTER(云端2>1,5)) ,L*0.96,'B'),COLORYELLOW;
DRAWTEXT(FILTER(买DD=1,5) AND (TJ1 AND TJ2 AND TJ0 AND TJ3 AND CROSS((RSI57 + ADX) + RSI57-WR10,0) AND JJ>REF(JJ,1)) ,L*0.96,'B'),COLORRED;
CJ5:=MA(C,5)*102/100;
HJ5:=MA(H,5)*102/100;
TGH1:=IF(C>O AND H>REF(C,1),ATAN(HJ5-REF(CJ5,1)),0);
TGH2:=IF(C>O AND H<REF(C,1),-ATAN(REF(CJ5,1)-HJ5),0);
TGH3:=IF(C>O AND H=REF(C,1),0,0);
LGH1:=IF(C<O AND H>REF(C,1),ATAN(HJ5-REF(CJ5,1)),0);
LGH2:=IF(C<O AND H<REF(C,1),-ATAN(REF(CJ5,1)-HJ5),0);
LGH3:=IF(C<O AND H=REF(C,1),0,0);
GGH:=(TGH1+TGH2+TGH3+LGH1+LGH2+LGH3);
突破高点:=MA(REF(GGH,1),26)*100;
通道1:=MA((2*C+H+L)/4,9)*102/100;
通道2:=(1+7/100)*DMA(C,(ABS((2*C+H+L)/4-MA(C,26))/MA(C,26)));
TA2:=MA(ATAN((通道2-REF(通道2,1))),3)*100;
T1:=ATAN((通道1-REF(通道1,1)));
T2:=ATAN((通道1-REF(通道1,2)));
T3:=ATAN((通道1-REF(通道1,3)));
T4:=ATAN((通道1-REF(通道1,4)));
T5:=ATAN((通道1-REF(通道1,5))); |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!