VARF:=TROUGHBARS(3,9,1)<4; STICKLINE(FILTER(VARF=1,5),3,0,10,1),colorred,LINETHICK2;
DRAWTEXT(FILTER(VARF=1,3),2,'低吸'),coloryellow;
买线:=EMA(C,1),colorred;
卖线:=EMA(SLOPE(C,5)*20+C,6);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
界:= MA(CLOSE,8),linethick1,coloryellow;
XG:=CROSS(买线,界);
STICKLINE(FILTER(XG=1,5),10,0,8,1),colormagenta,LINETHICK2;
DRAWTEXT(FILTER(XG=1,3),8,'K线上穿买'),colorgreen;
SHORT:=5;
LONG:=9;
PASTDAYS:=2;
多方:((8)*(SMA(((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(10),4,1))-(3)*(SMA(SMA(((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(10),4,1),3,1))-SMA(SMA(SMA(((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(10),4,1),3,1),2,1)),COLOR0000FF;
空方:(EMA(MA(多方,3),5)),COLORF0F000;
上升在即:= IF(CROSS(多方,空方),20,0),STICK,colorred,LINETHICK4;
即将启动: =IF(多方>=REF(多方,1) AND RANGE(多方,0,20),15,0),STICK,colorred,LINETHICK2;
LowArea_Thres:=16;
Diamond_Thres:=12;
PIT_THRES:= 21;
HIGH_THRES:=75;
PRICE:=C,nodraw;
MA5:=MA(C,4),nodraw;
DIF1:=EMA(CLOSE,5) - EMA(C,10); DEA1:=EMA(DIF1,3);
CMACD:=(DIF1-DEA1)*2,nodraw;
CCCI:=CCI,nodraw;
最新价:=C,nodraw, ;
季:=MA(C,55),nodraw,colorcyan;
通:=MA(C,17),nodraw, ;
子:=MA(C,26),nodraw, ;
午:=MA(C,100),nodraw, ;
辰:=MA(C,145),nodraw, ;
卯:=MA(C,455),nodraw, ;;
申:=MA(C,320),nodraw, ;;
亥:=MA(C,732),nodraw, ;;
突季:=CROSS(C,季) AND C>REF(C,1),nodraw;
突子:=CROSS(C,子) AND C>REF(C,1),nodraw;
突通:=CROSS(C,通) AND C>REF(C,1),nodraw;
突子:=CROSS(C,子) AND C>REF(C,1),nodraw;
突午:=CROSS(C,子) AND C>REF(C,1),nodraw;
突辰:=CROSS(C,辰) AND C>REF(C,1),nodraw;
突卯:=CROSS(C,卯) AND C>REF(C,1),nodraw;
突申:=CROSS(C,申) AND C>REF(C,1),nodraw;
突亥:=CROSS(C,亥) AND C>REF(C,1),nodraw;
均线最大值:=MAX(通,MAX(子,MAX(季,MAX(午,MAX(辰,MAX(卯,MAX(申,亥))))))),nodraw;
突通子:=突通+突子,nodraw;
突均线:=突通+突季+突子+突午+突辰+突卯+突申+突亥,nodraw;
通线上:=C>通,nodraw;
通增:=通>REF(通,1),nodraw;
子线上:=C>子,nodraw;
疯牛:=C>均线最大值,nodraw;
突均线期:=COUNT(突均线,PASTDAYS),nodraw;
突通子期:=COUNT(突通子,PASTDAYS),nodraw;
通子金叉:=CROSS(通,子),nodraw;
子午金叉:=CROSS(子,午);
小牛初现:=CROSS(通,子) AND (通>REF(通,1)) AND MACD>0 AND CCI>100 AND HIGH> MA(C,5) AND 子>REF(子,1) AND 季>REF(季,1) AND C>季 ,nodraw;
蛟龙出海:=CROSS(子,午) AND (子>REF(子,1)) AND MACD>0 AND CCI>100 AND HIGH> MA(C,5) AND (通>REF(通,1)) AND 午>REF(午,1) AND 季>REF(季,1) AND C>季 ,nodraw;
多方势增:=(REF(多方,1) < 多方) AND 多方>空方,nodraw;
STICKLINE((空方<=多方),空方,多方,3,0)*4,COLOR0000FF;
STICKLINE((多方>55) AND (多方>=空方),空方,多方,5,1)*4,COLORFF33FF;
STICKLINE((空方>多方),多方,空方,3,0)*4,COLORF0F000;
低吸区:(空方<20) AND (空方>多方) AND (REF(空方,1)> 空方) AND (REF(多方,1) < 多方),colorred,LINETHICK2;
TJ:=FILTER(低吸区,5);
DRAWTEXT(TJ,空方*0.9,'吸'),COLORFFFF00;
探钻石矿:=(空方<12) AND (空方<=多方),COLOR00FFFF,nodraw;
钻石底:=CROSS(多方,空方) AND (空方<PIT_THRES),COLOR0000FF,nodraw;
钻石底OR低吸:=(低吸区 OR 钻石底) AND (MACD>REF(MACD,1)),nodraw;
//中间线:50,COLORFFFFFF,POINTDOT;
TJ1:=CROSS(探钻石矿 OR 钻石底,0.5);
TJ2:=CROSS(空方,多方);
TJ3:=COUNT(TJ2,BARSLAST(TJ1));
DRAWICON(TJ1,空方*0.9,'B');
DRAWICON(TJ2 AND TJ3=1,空方,'S');
N:=5;M1:=2;M2:=2;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1),coloryellow,LINETHICK1;
D:=SMA(K,M2,1),colorcyan,LINETHICK1;
J:=3*K-2*D,colormagenta,LINETHICK1;
KDJ势增:=J>REF(J,1),nodraw;
U1:=BARSLAST(REF(CROSS(K,D),1));
U2:=REF(C,U1+1)>C AND REF(K,U1+1)<K AND CROSS(K,D)AND d<50;
K底背离:=IF(U2>0,1,0);
rr:=MAX(C,O);
q1:=HHV(rr,5);
q2:=d<REF(d,1) AND REF(d,1)>REF(d,2);
A2:=BARSLAST(REF(q2,1));
K顶背离:=(REF(q1,A2+1)<q1 AND k<REF(k,A2+1) AND q2 ),nodraw;
DRAWTEXT(K顶背离,MAX(空方,多方)*1.02,' 顶背'),colorgreen;
KDJ金叉:=CROSS(J,K),nodraw;
KDJ死叉:=CROSS(K,J),nodraw;
KDJ买点=KDJ金叉,nodraw;
KDJ卖点=KDJ死叉;
KDJ势增:=J>REF(J,1),nodraw;
KDJ买点期:= COUNT(KDJ买点,PASTDAYS)>0,nodraw;
DIFF:=EMA(C,SHORT)-EMA(C,LONG),nodraw;//colorwhite;
DEA:=EMA(DIFF,5),nodraw;
MACD:=2*(DIFF-DEA), COLORSTICK;
DIFF过0轴:=CROSS(DIFF,0),nodraw;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
M底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
M顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
MACD金叉:=CROSS(DIFF,DEA),nodraw;
MACD金叉期:=COUNT(MACD金叉,PASTDAYS),nodraw;
MACD死叉:=CROSS(DEA,DIFF),nodraw;
MACD买点:=MACD金叉 OR DIFF过0轴,nodraw;
MACD买点期=COUNT(MACD买点,PASTDAYS),nodraw;
KM共振买点:=( ((MACD买点 AND KDJ买点期) OR (MACD买点期 AND KDJ买点) ) AND (KDJ势增) AND (M顶背离<1) AND (K顶背离<1)),nodraw;
KM共振买点期:=COUNT(KM共振买点,PASTDAYS)>0,nodraw;
金叉:=CROSS(多方,空方),nodraw;
死叉:=CROSS(空方,多方),nodraw;
买点信号数:=MACD买点 + 金叉 + 金叉 ,nodraw;
买点:=买点信号数>0,nodraw;
卖点信号数:= MACD死叉 + KDJ死叉 +死叉,nodraw;
最佳共振买点:=买点信号数>1,nodraw;
最佳共振买点期:=COUNT(最佳共振买点,PASTDAYS),nodraw;
卖点多信号:=卖点信号数>1,nodraw;
钻石底OR低吸期:=COUNT(钻石底OR低吸,PASTDAYS),nodraw;
抄底点:= (钻石底OR低吸期) AND (买点>0),nodraw;
抄底期:=COUNT(抄底点,PASTDAYS),nodraw;
N:=3;
快线:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,3,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,3,1),3.2,1);
VAR2:=8,colorgreen,LINETHICK0;
上升在即:=IF(CROSS(快线,VAR2),50,0),STICK,COLOR0000CC,LINETHICK1;
Y:=IF((50-快线)>=0,-1,1),coloryellow;
持股:IF(Y=1,10,DRAWNULL),colorred,LINETHICK2;
观望:IF(Y=-1,10,DRAWNULL),coloryellow,LINETHICK2;
B1:=(HHV(H,3)-C)/(HHV(H,3)-LLV(LOW,3))*100- 70;
B2:=SMA(B1,2,1)+100;
B3:=(C-LLV(L,3))/(HHV(H,3)- LLV(L,3))*100;
B4:=SMA(B3,2,1);
B5:=SMA(B4,2,1)+100;
B6:=B5-B2;
启动:=(IF(B6>60,B6-60,0))*0.6,colorwhite;
吸筹:STICKLINE(REF(启动,1)<启动,启动,REF(启动,1),3,0),colorred;
{0,POINTDOT,colorred,LINETHICK1;};
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!