做多做空,颜色区分,红色持股,蓝色持币,把握方向,买卖提示。 买卖点仅做参考!
RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100;
做多:SMA(RSV1,5,1),colorred,LINETHICK1;
沽空:SMA(做多,10,1),colorlicyan,LINETHICK1;
DRAWBAND(做多,RGB(255,0,0),沽空,RGB(13,137,137));
STICKLINE(做多<=沽空 AND 做多<10,做多,沽空,2,0),colorlicyan;
STICKLINE(做多<=沽空 AND 做多<10,做多,沽空,0.2,0),colorred;
VARF:=TROUGHBARS(3,15,1)<4;
VAR11:=IF(VARF=1,50,0);
STICKLINE(FILTER(VARF=1,10),70,60,10,0),coloryellow;
DRAWICON(FILTER(VARF=1,3),70,1);
DRAWTEXT(FILTER(VARF=1,3),75,'拾黄金'),color007FFF;
LC:= REF(C,1);
F1:=ZIG(3,15);
方向:IF((F1> REF(F1,1)),1,100),colorligreen,LINETHICK2;
抄底线:=8;//www.fxjgsw.com
DRAWTEXT(CROSS(抄底线,方向),抄底线,'★逢低进场!') ,colormagenta;
DRAWTEXT(CROSS(方向,抄底线),方向-3,'★逢高出场!') ,colorliblue;
VAR17:=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);
DRAWTEXT(VAR17,45.3,'发现∮黑马'), COLORFF6600;
VARF:=TROUGHBARS(3,15,1)<4;
DRAWTEXT(FILTER(VARF=1,3),55,'白馬初现'),colorwhite;
Var3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
Var4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
Var5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
Var6:=(Var3+Var4+Var5)/3;
Var7:=EMA(Var6,5);
Var8:=IF(Var6<=-20,5,0);
Var9:=HHV(Var8,10);
VarA:=IF(Var9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
DRAWTEXT(VarA=20,23,'★底部'),linethick1,coloryellow;
STICKLINE((VarA=20),15,20,10,0),colorwhite;
VARC:=(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));
VARD:=(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((VARC=1),(40),(40),0,30,0),coloryellow;
DRAWTEXT((VARC=1),(30),'▲ 买入'),colormagenta;
DRAWTEXT((VARD=1),70,'▼ 卖出'),colorligreen;
r:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;
//相对强弱//www.fxjgsw.com
LC := REF(CLOSE,1);//前一日收盘价;
RSI$1:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;
RSI$2:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
RSI$3:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100;
相对强弱:=0.5*RSI$1+0.31*RSI$2+0.19*RSI$3;
wave$1:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),3,1);
wave$2:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),5,1);
wave$3:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),8,1);
短线波段:=0.5*wave$1+0.31*wave$2+0.19*wave$3;
机会区:20,POINTDOT,colorred;
偏好风险系数:0.5*相对强弱+0.5*短线波段,coloryellow;
风险区:80,POINTDOT,colorgreen;
//买入条件;//www.fxjgsw.com
CD1:=IF(偏好风险系数<20 AND CLOSE>OPEN AND r>0,1,0);//波段小于20,股价翻红;
CD2:=IF(偏好风险系数<20 AND LOW>=REF(LOW,1) AND CLOSE>LOW AND r>0,1,0);//波段小于20,股价未翻红,但未创新低;
CD3:=IF(REF(偏好风险系数,1)<20 AND 偏好风险系数>REF(偏好风险系数,1),1,0);//前一日波段小于20,今日转向;
SIGNALBUY=(CD1=1 OR CD2=1 OR CD3=1);
X=(SIGNALBUY AND COUNT(SIGNALBUY,3)=1);
DRAWICON(X,机会区,"buy");
分时浪:=ZIG(3,5),colorwhite,linethick2;
GG:=EMA(分时浪,2);
趋势浪:=ZIG(3,10),colorblue,linethick3;
HH:=EMA(趋势浪,2);
DRAWTEXT(CROSS(HH,趋势浪),风险区+5,'~●卖高'),colorgreen;
DRAWTEXT(CROSS(趋势浪,HH),机会区-2,'~●买低'),colorred;
DRAWICON(CROSS(分时浪,GG),机会区,"BUY");
DRAWICON(CROSS(GG,分时浪),风险区,"SELL");
AA1:=AMOUNT/V;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
老鼠仓:=BB1 AND CC1 AND DD1 AND EE1,LINETHICK0,COLOR0099FF;
DRAWTEXT(老鼠仓,机会区,'老鼠仓'),colorlired;
牛气:=MA(REF(HHV((C+L+O+H)/4,21),1),3),colorwhite;
突越:=MA(REF(HHV((C+L+O+H)/4,55),1),3),colorwhite;
突破:=50;
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
加仓:=15;
DRAWTEXT(FILTER((VAR4AA>89),55),加仓,'★加仓'),COLOR00FFFF;
VAR18:=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);
减仓:=90;
DRAWTEXT(VAR18,减仓,'★减仓'),colorcyan;
MA200:=EMA(CLOSE,20);
MA400:=EMA(CLOSE,40);
MA600:=EMA(C,60);
AA:=BARSLAST(MA400>MA600 AND (MA200=MA400 OR MA200>MA400));
BB:=REF(COUNT(C<MA600,AA)=AA,1);
CC:=CROSS(C,MA600) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>2;
芙蓉出水:=BB AND CC;
芙蓉:=50;
DRAWTEXT(芙蓉出水,芙蓉,'芙蓉出水妒花钿'),colorred;
DRAWTEXT(REF(COUNT(C<牛气,5)=5,1) AND C>牛气 AND C>O,突破,'突破'),colorwhite;
DRAWTEXT(REF(COUNT(C<突越,5)=5,1) AND C>突越 AND C>O,突破,'突破'),colorwhite;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
FA:=BARSLAST(CROSS(MA10,MA5)) AND CROSS(MA5,MA10);
FB:=FA AND MA5>MA30 AND MA10>MA30 AND MA10>REF(MA10,1);
凤鸣南山:=75;
DRAWTEXT(FB,凤鸣南山,'★凤鸣'),colorlired;
V1:=EMA(CLOSE,5);
V2:=EMA(EMA(CLOSE,90)*1.01,10);
牛起步:=25;
DRAWTEXT(CROSS(V1,V2),牛起步,'★牛起'),colorgreen;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!