{风雨彩虹 通达信副图} 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;
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;
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),COLORYELLOW;
DRAWTEXT((VARC=1),(30),'▲ 买入'),COLORMAGENTA;
DRAWTEXT((VARD=1),70,'卖出'),COLORLIGREEN;
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;
{//买入条件;}
R:=1;
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,机会区,1);
分时浪:=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),机会区,1);
DRAWICON(CROSS(GG,分时浪),风险区,2);
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;
突破:=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;
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年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!