variable:p1=0;
c1:=INTPART(cyc(5)*100*0.96)/100;
p2:=intpart(ref(cyc(5),1)*100)/100;
p3:=intpart(ref(cyc(5),1)*0.96*100)/100;
vv:=intpart(min(capital*0.05,ref(ma(vol,34),1))/100);
p40:=intpart(maxcyc*100)/100;
p41:=intpart(ref(MAXCYC,1)*100)/100;
p4:=p1=0 and c>p2 or (ref(vol/100,1)<vv and c>intpart(p2*0.98*100)/100 and vol>min(capital*0.05,ref(ma(vol,34),1)));
p5:=p1=1 and c<min(p3,p41);
p1:=if(p4=1,1,if(p5=1,0,ref(p1,1)));
DRAWTEXT(cross(p1,0),80,'trt买'),coloryellow,LINETHICK1;
{www.fxjgsw.com}
均价:=(HIGH+LOW+CLOSE)/3;
大盘均价:=(INDEXH+INDEXL+INDEXC)/3;
个股趋势:SMA(((均价-LLV(均价,28))/(HHV(均价,28)-LLV(均价,28))*100),3,1),COLORred,PRECIS2,LAYER0,linethick2;
大盘趋势:SMA(((大盘均价-LLV(大盘均价,28))/(HHV(大盘均价,28)-LLV(大盘均价,28))*100),3,1),COLORgreen,PRECIS2,LAYER0,linethick1;
DRAWTEXT(if(cross(个股趋势,大盘趋势),60,0),大盘趋势*1,'强于大盘'),COLORWHITE;
{www.fxjgsw.com}
VAR1:=LLV(LOW,13);
VAR2:=HHV(HIGH,13);
大卫线:SMA((CLOSE-VAR1)/(VAR2-VAR1)*100,5,1),COLORred,PRECIS2,LAYER0
;
做空线:SMA((VAR2-CLOSE)/(VAR2-VAR1)*100,5,1),COLORwhite,PRECIS2,LAYER0;
partline(大卫线,大卫线>=ref(大卫线,1),rgb(255,0,0),大卫线<ref(大卫线,1),rgb(0,250,0)),linethick3;
DRAWTEXT(if(cross(10,做空线),60,0),65,'追?'),align1,COLORWHITE;
DRAWTEXT(if(cross(大卫线,做空线),60,0),大卫线*1,'主穿散'),align1,COLORWHITE;
FILLRGN(大卫线,50,大卫线>=50,RGB(155,70,50)),PRECIS2;
FILLRGN(50,大卫线,50>大卫线,RGB(0,10,50)),PRECIS2;
VAR3:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100;
操作线:EMA(VAR3,3),COLORYELLOW,PRECIS2,LAYER0;
DRAWTEXT(if(cross(操作线,做空线),60,0),操作线*1,'操作'),align1,COLORWHITE;
DRAWTEXT(if(cross(操作线,大卫线) AND 大卫线<50,60,0),操作线*1,'准备'),align1,COLORWHITE;
partline(操作线,操作线>=ref(操作线,1),rgb(255,0,0),操作线<ref(操作线,1),rgb(0,250,0)),linethick3;
DRAWTEXT(if(cross(大卫线,10),60,0),大卫线*1,'抄底'),align1,COLORWHITE;
DRAWTEXT(if(cross(操作线,50),60,0),50,'看?准'),align1,COLORWHITE;
顶部:90,DOTLINE,COLOR3C3CFF,PRECIS0;
分界:50,DOTLINE,COLORYELLOW,PRECIS0;
底部:10,DOTLINE,COLORCYAN,PRECIS0;
DRAWGBKLAST(v>1,STRIP(RGB(0,0,205),RGB(60,179,113),0));
partline(个股趋势,个股趋势>=ref(个股趋势,1),rgb(255,0,0),个股趋势<ref(个股趋势,1),rgb(0,250,0)),linethick3;
大卫1:=hhv(high,50)/llv(low,100)>1.5;
大卫2:=(hhv(high,50)-low)/(hhv(high,50)-llv(low,100));
大卫3:=(low-llv(low,100))/(hhv(high,50)-llv(low,100));
大卫4:=HHVBaRS(high,50)<LLVBaRS(low,100);
大卫5:=大卫1 and 大卫2>0.5 and 大卫3>0.3 and 大卫4;
大卫6:=count(大卫5,20)=1;
回调到位:大卫6 and 大卫5;
DRAWTEXT(回调到位,5,'回到位?'),align1,COLORWHITE;
VARTA2:=MA(VOL,40);
VARTA3:=VOL/CAPITAL*100;
VARTA4:=COUNT(VOL/VARTA2<1.1,14)>11;
VARTA5:=CROSS(VARTA3,2);
VARTA6:=CLOSE/REF(CLOSE,1)>1.025 AND CLOSE>OPEN;
快刀:=VARTA4 AND VARTA5 AND VARTA6;
DRAWTEXT(快刀,11,'快刀'),align1,Coloryellow;
ma10:=ma(close,10);
ma20:=ma(close,20);
v1:=count(cross(ma10,ma20),15);
v2:=c<ref(close,1) and ref(close,1)<ref(close,2);
xjb:v1=1 and v2 and ma10>c and c>ma20 and SLOPE(MA20,4)>0 AND SLOPE(MA10,3)>0;
DRAWTEXT(xjb,17,'小金边'),align1,Coloryellow;
Varp1:=(CLOSE*2+HIGH+LOW)/4;
SK:= EMA(Varp1,13)-EMA(Varp1,73);
SD:= EMA(SK,2);
V1:(cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03)
or (cross(sk,sd) and sk<=-0.14 ) or (cross(sk,sd) and sk<=0.05
and (v/ma(v,5)>2 or c/ref(c,1)>0.035));
DRAWTEXT(V1,25,'买入'),align1,Coloryellow;
多:=EMA(WINNER(C)*70,3);
空:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3);
捉鳖:CROSS(多,空);
DRAWTEXT(捉鳖,20,'捉鳖'),align1,Coloryellow;
{鳄鱼猎食选股公式源码}
猎物踪迹:=3*SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1)-2*SMA(SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1),3,1);
LOWV:=LLV(C,15);
HIGHV:=HHV(C,15);
RSVy:=EMA((C-LOWV)/(HIGHV-LOWV)*100,3);
Ky:=EMA(RSVy,3);
牛股1:=REF(猎物踪迹<=10,1) AND Ky>REF(Ky,1);
N1y:=9;
M1y:=3;
M2y:=3;
Py:=9;
快线y:=(CLOSE-LLV(LOW,N1y))/(HHV(HIGH,N1y)-LLV(LOW,N1y))*100;
慢线y:=SMA(快线y,M1y,1);
空y:=SMA(慢线y,M2y,1);
牛股3:=IF(BARSLAST(CROSS(慢线y,空y))<Py AND CROSS(慢线y,空y) AND 慢线y<20,90,0);
致命攻击:IF(CROSS(牛股1,0.5) OR 牛股3,2,0.0);
DRAWTEXT(致命攻击,35,'攻击'),align1,Coloryellow;
At1:=MA(V,16);
At2:=MA(At1,16);
At3:=CROSS(At1,At2);
傍大款:(COUNT(At3,22)>0 AND COUNT(C>O*1.032,4)>0
OR REF(At3,1)=1 AND COUNT(C>O*1.022,26)>0
AND (C>L OR C<EMA(C,38)*0.77) AND HHV(H/MA(C,23),4)<1)
AND C<EMA(C,38)*0.83 AND BETA(8)>0;
DRAWTEXT(傍大款,45,'大款'),align1,Coloryellow;
LCH:=REF(CLOSE,1);
RSIH:=SMA(MAX(CLOSE-LCH,0),55,1)/SMA(ABS(CLOSE-LCH),55,1)*100;
JW1:=EMA(RSIH,8)-EMA(RSIH,34);
GHJ3:=LLV(LOW,20);
GHJ4:=HHV(HIGH,20);
GHJ5:=MA((CLOSE-GHJ3)/(GHJ4-GHJ3)*100,12);
GHJ6:=MA(GHJ5,6);
GHJ7:=(GHJ5-GHJ6)/2;
珠江:FILTER(JW1<0,20);
长江:FILTER(JW1>0,20) and CROSS(JW1,0);
DRAWTEXT(FILTER(JW1>0,20) and CROSS(JW1,0),10,'长江'),align1,COLORwhite;
DRAWTEXT(FILTER(JW1<0,20),10,'珠江'),align1,COLORred;
MA2:=EMA(C,2);
MA5:=EMA(C,5);
MA13:=EMA(C,13);
MA34:=EMA(C,34);
MA55:=EMA(C,55);
YCX:=MA5>=REF(MA5,1);
Hl1:=MAX(MAX(MA5,MA13),MA34);
Ll1:=MIN(MIN(MA5,MA13),MA34);
一阳穿三线:= Hl1<C AND O<Ll1 AND YCX AND MA2>REF(MA2,1);
金蜘蛛选股:if(一阳穿三线,1,0),color00ff00;
drawtext(金蜘蛛选股,10 ,'金蜘蛛'),colorwhite;
VARUUI1:=(HIGH+LOW+CLOSE)/3;
VARUUI2:=(VARUUI1-MA(VARUUI1,14))/(0.015*AVEDEV(VARUUI1,14))*1;
大卫:=EMA(VARUUI2,2);
VARUUI3:=MA(VOL,5);
VARUUI4:=MA(VOL,10);
VARUUI5:=MA(VOL,60);
VARUUI6:=MA(CLOSE,5);
VARUUI7:=MA(CLOSE,8);
VARUUI8:=MA(CLOSE,25);
VARUUI9:=MA(CLOSE,60);
爆发拉升:CROSS(VARUUI2,大卫) AND VARUUI2>80 AND VOL>VARUUI3 AND VOL>VARUUI4 AND VOL>VARUUI5 AND VARUUI6>VARUUI9 AND VARUUI7>VARUUI9 AND VARUUI8>VARUUI9 AND OPEN<VARUUI6 AND CLOSE>VARUUI6;
DRAWTEXT(爆发拉升,60,'爆发'),align1,COLORYELLOW;
VARUUI11:=3;
VARUUI21:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100 |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!