盘古买卖, //*******************随着资金买卖********************************
Var3MM:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
Var4MM:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
Var5MM:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
Var6MM:=(Var3MM+Var4MM+Var5MM)/3;
Var7MM:=EMA(Var6MM,5);
指标MM: =EMA(EMA(Var3MM,5),5)*3, COLORSTICK;
Var8MM:=IF(Var6MM<=-20,10,0);
Var9MM:=HHV(Var8MM,10);
STICKLINE(Var8MM=10,15,0,9,1),coloryellow;
VarAMM:=IF(Var9MM AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
KMM:=EMA(Var7MM,5)*2, COLORff00ff;
DMM:=EMA(KMM,5), colorwhite;
JMM:=KMM*3-DMM*2, coloryellow;
VarBMM:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND JMM>10;
换手MM:= VOL/CAPITAL*100,colorgreen;
DRAWTEXT(VarAMM=20,55,'底'),linethick1,colorliblue;
STICKLINE((VarAMM=20),0,75,9,9),colorliblue;
VARCMM:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)<=REF(ZIG(3,5),3));
VARDMM:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)>=REF(ZIG(3,5),3));
STICKLINE((VARCMM=1),45,0,7,0),colorred;
DRAWTEXT((VARCMM=1),55,'买'),colorred;
STICKLINE((VARDMM=1),45,0,7,0),colorgreen;
DRAWTEXT((VARDMM=1),55,'卖'),colorgreen;
VarEMM:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VarFMM:=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);
Var10MM:=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);
Var11MM:=VarFMM<REF(Var10MM,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(Var11MM AND COUNT(Var11MM,30)=1,65,'大资'),linethick1,COLORff00ff;
STICKLINE(Var11MM AND COUNT(Var11MM,30)=1,0,75,8,1),colorff00ff;
Var12MM:=(HIGH+LOW+CLOSE)/3;
Var13MM:=(Var12MM-MA(Var12MM,14))/(0.015*AVEDEV(Var12MM,14));
Var14MM:=(Var12MM-MA(Var12MM,70))/(0.015*AVEDEV(Var12MM,70));
Var15MM:=IF(Var13MM>=150 AND Var13MM<200 AND Var14MM>=150 AND Var14MM<200,10,0);
Var16MM:=IF(Var13MM<=-150 AND Var13MM>-200 AND Var14MM<=-150 AND Var14MM>-200,-10,Var15MM);
Var17MM:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
Var18MM:=100-ABS(Var17MM);
Var19MM:=IF(Var18MM<90,Var18MM,100);
Var1AMM:=IF(VarEMM>0,VarEMM,0);
Var1BMM:=IF(Var14MM>=200 AND Var13MM>=150,15,IF(Var14MM<=-200 AND Var13MM<=-150,-15,Var16MM))+60;
Var1CMM:=Var1AMM>48 AND Var1BMM>60 AND Var19MM<100;
DRAWTEXT(Var1CMM AND COUNT(Var1CMM,30)=1,65,'注意'),linethick1,colorblue;
STICKLINE(Var1CMM AND COUNT(Var1CMM,30)=1,0,75,8,9),colorblue;
//*******************买卖红绿灯**************************
MA1s:=MA(CLOSE,5);
MA2s:=MA(CLOSE,10);
MA3s:=MA(CLOSE,20);
MA4s:=MA(CLOSE,30);
MA5s:=MA(CLOSE,60);
MA6s:=MA(CLOSE,125);
MA7s:=MA(CLOSE,250);
VAR3s:=LLV(HIGH,240);
VAR4s:=100*(CLOSE-VAR3s)/VAR3s;
VAR5s:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VAR6s:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VAR7s:=0;
VAR8s:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VAR9s:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VARAs:=BARSCOUNT(CLOSE);
VARBs:=VAR8s<20 AND VAR9s<23 AND VARAs>35;
VARCs:=VARBs AND COUNT(VARBs,1)=1;
VARDs:=EMA(CLOSE,21)-EMA(CLOSE,8);
VAREs:=EMA(VARDs,5);
VARFs:=TROUGHBARS(3,6,1)<4 AND CROSS(VARDs,VAREs);
VAR10s:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR11s:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR12s:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VAR13s:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR14s:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
VAR15s:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR16s:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
VAR17s:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
VAR18s:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
VAR19s:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR1As:=EMA(VAR19s,100);
VAR1Bs:=2*(VAR19s-VAR1As);
VAR1Cs:=POW(VAR1Bs,3)*0.1+POW(VAR1Bs,1);
VAR1Ds:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VAR1Es:=EMA(VAR1Ds*0.97,3);
VAR1Fs:=(HIGH+LOW+CLOSE)/3;
VAR20s:=(VAR1Fs-MA(VAR1Fs,14))/(0.015*AVEDEV(VAR1Fs,14));
VAR21s:=CROSS(VAR1Es,LOW);
买1s:=VAR10s;
买2s:=(VAR11s+VAR13s+VAR15s+VAR17s);
卖1s:=(VAR12s+VAR14s+VAR16s+VAR18s);
VAR22s:=买1s AND VARFs AND VARCs AND VAR21s AND VAR4s<0 AND VAR5s=0 AND VAR6s=0 AND VAR20s<(-110);
VAR1s:=MA(CLOSE,5);
VAR2s:=MA(CLOSE,10);
VAR3As:=MA(CLOSE,30);
VAR4As:=MA(CLOSE,60);
VAR5As:=EMA(COST(85),7);
VAR6As:=EMA(COST(15),7);
VAR7As:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);
VAR8As:=INTPART(VAR7s*100)/100;
VAR9As:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);
VARA1s:=INTPART(VAR9s*100)/100;
VARB1s:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VARC1s:=INTPART(VARBs*100)/100;
VARD1s:=EMA(CLOSE,5)-EMA(CLOSE,10);
VARE1s:=EMA(VARDs,9);
VARF1s:=(-100)*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;
VAR10As:=(-100)*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;
VAR11As:=(-100)*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;
VAR12As:=(-100)*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;
VAR13As:=REF(VAREs,1);
VAR14As:=VAREs;
VAR15As:=VAR14s-VAR13s;
VAR16As:=REF(VARDs,1);
VAR17As:=VARDs;
VAR18As:=VAR17s-VAR16s;
VAR19As:=OPEN;
VAR1AAs:=CLOSE;
买3s:=IF(VAR19s<=VAR1s AND VAR19s<=VAR2s AND VAR19s<=VAR3s AND VAR1As>=VAR1s AND VAR1As>=VARCs AND VAR15s>0 AND VAR18s>0,0.5,0);
买线s:=EMA(CLOSE,2);
卖线s:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
B1买s:=IF(买1s>0 OR 买2s>0,LOW-0.02,0),NODRAW,colorred;
S1卖s:=IF(卖1s>0,HIGH+0.02,0),NODRAW,colorgreen;
B1买1s:=IF(买1s>0 OR 买2s>0,LOW-0.02,0);
S1卖1s:=IF(卖1s>0,HIGH+0.02,0);
B2买1s:=IF(CROSS(买线s,卖线s),LOW-0.02,0);
S2卖1s:=IF(CROSS(卖线s,买线s),HIGH+0.02,0);
STICKLINE(COUNT(S1卖1s>0,BARSLAST(B1买1s>0))=0,135,90,7,9),colorred,LINETHICK2;
STICKLINE(COUNT(S1卖1s>0,BARSLAST(B1买1s>0))=0,135,90,5,9),colorred;
STICKLINE(COUNT(B1买1s>0,BARSLAST(S1卖1s>0))=0,135,90,7,9),colorgray,LINETICK2;
STICKLINE(COUNT(B1买1s>0,BARSLAST(S1卖1s>0))=0,135,90,5,9),colorgray;
STICKLINE(买1s>0 OR 买2s>0,135,85,6,0),LINETHICK5,colorred;
DRAWTEXT(买1s>0 OR 买2s>0,80,'买'),colorred;
STICKLINE(卖1s>0,135,85,6,0),LINETHICK8,colorgreen;
DRAWTEXT(卖1s>0,80,'卖'),colorgreen;
rS:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;
大单净量:rS;//分析家公式网www.fxjgsw.com
STICKLINE(rS>0,0,rS*20,7),linethick1,COLORff00ff;
STICKLINE(rS<0,0,rS*20,7),colorblue;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!