自用蜡烛图 N:=26;
P:=20;
LIMIT:=35;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
MIDD:=MA(CLOSE,N);
MID := IF(1<1180518,MIDD,0);
TREND:=IF(MID>REF(MID,1),1,0 ),LINETHICK0;
UPPER:= MID + P/10*STD(CLOSE,N);
LOWER:= MID - P/10*STD(CLOSE,N);
UP0:=MID+(UPPER-MID)*0.382;
UP1:IF(1 <1180518,UP0,0 );
DOWN:=MID-(MID-LOWER)*0.382;
DOWN1:IF(1 <1180518,DOWN,0 );
上涨市:= IF(MA5>MID AND MID>REF(MID,1),1,0);
DAY1:=COUNT(上涨市,26);
下跌市:= IF (MA5<MID AND TREND=0,1,0);
MID红:IF((MA5>MID AND TREND=1),MID,DRAWNULL),colorred;
MID绿:=IF((MA5<MID AND TREND=0),MID,DRAWNULL),colorgreen;
MID黄1:=IF((MA5>MID AND TREND=0),MID,DRAWNULL),coloryellow;
MID黄2:=IF((MA5<MID AND TREND=1),MID,DRAWNULL),coloryellow;
AA:=C/REF(C,1)>1.098;
STICKLINE(AA,C,O,3,1);
DIF:=(EMA(CLOSE,6)-EMA(CLOSE,13))*100;
DEA:=EMA(DIF,5);
MACD:=(DIF-DEA)*2;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,9,3);
D:=SMA(K,9,3);
J:=3*K-2*D;
AAA:=CROSS(DIF,DEA) AND CROSS(K,D) AND CROSS(J,D);
金叉:=CROSS(DIF,DEA) AND CROSS(K,D);
强势1:=CLOSE*VOL;
强势2:=EMA((EXPMA(强势1,34)/EXPMA(VOL,34)+EXPMA(强势1,55)/EXPMA(VOL,55)+EXPMA(强势1,110)/EXPMA(VOL,110)+EXPMA(强势1,316)/EXPMA(VOL,316))/4,34);
强势3:=1.06*强势2;
强势4:=强势2*0.94;
强势5:=CROSS(C,强势3) OR CROSS(C,强势4);
爆发点1:=(CLOSE-REF(C,1))/REF(C,1)*100;
爆发点2:=CROSS(爆发点1,4) OR CROSS(爆发点1,4);
爆发点3:=CROSS((C/MA(C,20)-1),2.1*STD(C,20)/MA(C,20)) AND CROSS((C/MA(C,20)-1),1.3*STD(C,20)/MA(C,20));
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
TA1:=HHV(OBV,120);
TA2:=REF(TA1,1);
XGA:=OBV>TA2;
强势起爆:=强势5 AND 爆发点3 AND 爆发点2 AND C>O AND O/REF(C,1)<1.03 AND XGA ;
DRAWTEXT(强势起爆,O,'强爆'),COLORF00FF0;
MA5:=MA(C,5);
MA20:=MA(C,20);
STICKLINE(C>O,C,O,5,0),colorred;
STICKLINE(C>O,H,L,0,0),colorred;
STICKLINE(C<=O,C,O,5,0),colorgreen;
STICKLINE(C<=O,H,L,0,0),colorgreen;
DIF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIF,9);
MACD := 2*(DIF-DEA);
VOLIMIT:=MA(VOL,LIMIT);
脉冲量:=VOL>VOLIMIT AND CLOSE>OPEN;
量能簇:=EVERY(VOL>VOLIMIT AND CLOSE>OPEN,3);
HP:=IF (OPEN>CLOSE,OPEN,CLOSE);
黑心柱:=VOL>2*VOLIMIT AND ((CLOSE<OPEN) OR ((HIGH-HP)>0.5*(HIGH-LOW) AND (HIGH-LOW)/REF(CLOSE,1)> 0.05)) AND H> UPPER;
V00:= HIGH>REF(HIGH,1) AND LOW>REF(LOW,1);
V011:= HIGH<REF(HIGH,1) AND LOW<REF(LOW,1);
V012:= REF(HIGH,2) > HIGH AND REF(LOW,2) > LOW AND REF(HIGH,2) > REF(HIGH,1) AND REF(LOW,2) < REF(LOW,1);
V11:= COUNT(V00,4)>=2 AND HHVBARS(HIGH,4) = 1 AND V011;
V12:= COUNT(V00,5)>=2 AND HHVBARS(HIGH,5) = 2 AND V012;
V13:= COUNT(V00,5)>=2 AND HHVBARS(HIGH,5) = 1 AND V011;
V14:= COUNT(V00,6)>=2 AND HHVBARS(HIGH,6) = 2 AND V012;
V001:= HIGH<REF(HIGH,1) AND LOW<REF(LOW,1);
V01:= HIGH<REF(HIGH,1) AND LOW>REF(LOW,1);
V02:= HIGH>REF(HIGH,1) AND LOW<REF(LOW,1);
V03:= HIGH>REF(HIGH,1) AND LOW>REF(LOW,1);
V04:= REF(HIGH,2) < HIGH AND REF(LOW,2) < LOW AND REF(HIGH,2) > REF(HIGH,1) AND REF(LOW,2) < REF(LOW,1);
V1:= COUNT(V001,3)>=1 AND LLVBARS(LOW,3) = 1 AND V03;
V2:= COUNT(V001,4)>=1 AND LLVBARS(LOW,4) = 2 AND V04;
V3:= COUNT(V001,4)>=1 AND COUNT(V01 OR V02,4)=1 AND LLVBARS(LOW,4) = 1 AND V03;
V4:= COUNT(V001,5)>=1 AND COUNT(V01 OR V02,5)=2 AND LLVBARS(LOW,5) = 2 AND V04;
下分型:= V1 OR V2 OR V3 OR V4;
上分型:= V11 OR V12 OR V13 OR V14;
DRAWICON(黑心柱 AND REF(NOT(黑心柱),1) AND REF(NOT(黑心柱),2) AND REF(NOT(黑心柱),3),H,2),colorgreen;
上涨市B箭头0:=IF(上涨市=1 AND DIF>DEA AND 下分型 AND V> 1.2*REF(V,1) AND DAY1<20 AND C>OPEN,1,0);
DRAWICON(上涨市B箭头0 AND NOT(黑心柱) AND REF(NOT(上涨市B箭头0),2) AND REF(NOT(上涨市B箭头0),3) ,L,1),colorred;
X乾坤信号:=IF (上涨市=1 AND REF(NOT(上涨市),1),2,0),NODRAW;
V进攻信号:=IF (上涨市B箭头0=1,2,0),NODRAW;
DRAWICON(X乾坤信号=2,LOW,5);
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!