ZGD:=HHV(H,60); ZGD2:=CONST(ZGD);
ZDD:=LLV(L,60);
ZDD2:=CONST(ZDD);
GJ:=(C+H+L+O)/4;
明日阻力:=L+(GJ-L)+(C-L);
明日支撑:L+(C-GJ),coloryellow,NODRAW;
KOH:=L>REF(H,1);
KOL:=H<REF(L,1);
//www.fxjgsw.com
HIF:=L>REF(H,BARSLAST(KOH)+1);
NHIF:=L<=REF(H,BARSLAST(KOH)+1);
LIF:=H<REF(L,BARSLAST(KOL)+1);
NLIF:=H>=REF(L,BARSLAST(KOL)+1);
下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
RRRSV:=SMA(下档线,3,1);
KKK:=SMA(RRRSV,3,1);
DDDDD:=((3 * RRRSV) - (2 * KKK));
JJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);
RSV24:=SMA(JJ12,3,1);
K24:=SMA(RSV24,3,1);
D24:=((3 * RSV24) - (2 * K24));
压力2:=IF(CROSS(D24,DDDDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDDDD)))),COLORFFFFFF;
底部:=LLV(HIGH,30),colormagenta;//www.fxjgsw.com
今日阻力:REF(明日阻力 , 1),colorgreen,NODRAW;
今日支撑:REF(明日支撑 , 1),colorred,NODRAW;
压力位:IF(ISLASTBAR,压力2,DRAWNULL),colorblue,NODRAW;
底部位:IF(ISLASTBAR,底部,DRAWNULL),colormagenta,NODRAW;
STICKLINE(ISLASTBAR AND C>=今日阻力,今日阻力,今日阻力,10,1),COLOR0000FF;
STICKLINE(ISLASTBAR AND C<今日阻力,今日阻力,今日阻力,10,1),COLOR00FF00;
STICKLINE(ISLASTBAR AND C>=今日支撑,今日支撑,今日支撑,10,1),COLORFF00FF;
STICKLINE(ISLASTBAR AND C<今日支撑,今日支撑,今日支撑,10,1),COLORFF8800;
STICKLINE(ISLASTBAR ,压力位,压力位,120,0),colorblue,LINETHICK2;
STICKLINE(ISLASTBAR ,底部位,底部位,100,0),colormagenta,LINETHICK2;
启动线:MA(CLOSE, 5) ,LINETHICK2,colorwhite;
PARTLINE((MA(C,13)+MA(C,26))/2,(MA(C,13)+MA(C,26))/2>REF((MA(C,13)+MA(C,26))/2,1),RGB(255,0,0),(MA(C,13)+MA(C,26))/2<=REF((MA(C,13)+MA(C,26))/2,1),RGB(0,255,0)),LINETHICK3 ;
TYP = (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
index=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
IF (CROSS(INDEX,14))
BUY;
IF (CROSS(14,INDEX))
SELL;
DRAWTEXT_FIX(C>O,0.38,0.05,0,' ★ 卖 在 阻 力 买 在 支 撑 炒 股 炒 逻 辑 炒 预 期 炒 理 念 ★ '),coloryellow;
DRAWNULL,NODRAW;
ST1:=NAMELIKE('ST');
ST2:=NAMELIKE('*ST');
ZT:=(C-REF(C,1))/REF(C,1)*100>9.91;
ZTST:=(C-REF(C,1))/REF(C,1)*100>=4.91;
涨停:=ST1=0 AND ST2=0 AND ZT;
涨停ST:=(ST1=1 OR ST2=1) AND ZTST;
STICKLINE(涨停,O,C,6,0),coloryellow;
STICKLINE(涨停ST,O,C,6,0),coloryellow;
STICKLINE(涨停<>0 AND ISLASTBAR=1,涨停,涨停,1000,1),colorwhite,LINETHICK1;
DT:=(C-REF(C,1))/REF(C,1)*100<-9.92;
DTST:=(C-REF(C,1))/REF(C,1)*100<-4.92;
跌停:=ST1=0 AND ST2=0 AND DT;
跌停ST:=(ST1=1 OR ST2=1) AND DTST;
STICKLINE(跌停,O,C,6,0),colorgrar;
STICKLINE(跌停ST,O,C,6,0),colorgrar;
ss:=CROSS(EMA(C,5),EMA(C,13)) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA(C,13),EMA(C,21)) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA(C,21),EMA(C,89)) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA(C,89),EMA(C,178)) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 ;
DRAWTEXT(SS,LOW*0.998,'短买'),colorwhite;
DD:=CROSS(EMA(C,13),EMA(C,21)) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA(C,13),EMA(C,89)) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA(C,21),EMA(C,178)) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA(C,21),EMA(C,178)) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(EMA(C,5),EMA(C,178));
{DD:=CROSS(EMA(C,5),EMA(C,178));}
DRAWTEXT(DD,LOW*0.978,'长线买'), coloryellow;
CV:=CLOSE;
BBIBOLL:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
UPR:=BBIBOLL+6*STD(BBIBOLL,11);
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))
+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));
HSL:=(XVL/3)/1.15;
攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(攻击,3);
B1:=IF(SUM(LLJX,1)>REF(MA(SUM(LLJX,1),1),1),SUM(LLJX,1),DRAWNULL);
B2:=IF(SUM(LLJX,2)>REF(MA(SUM(LLJX,2),1),1),SUM(LLJX,2),DRAWNULL);
B3:=IF(SUM(LLJX,3)>REF(MA(SUM(LLJX,3),1),1),SUM(LLJX,3),DRAWNULL);
B4:=IF(SUM(LLJX,4)>REF(MA(SUM(LLJX,4),1),1),SUM(LLJX,4),DRAWNULL);
B5:=IF(SUM(LLJX,5)>REF(MA(SUM(LLJX,5),1),1),SUM(LLJX,5),DRAWNULL);
B6:=IF(SUM(LLJX,6)>REF(MA(SUM(LLJX,6),1),1),SUM(LLJX,6),DRAWNULL);
B7:=IF(SUM(LLJX,7)>REF(MA(SUM(LLJX,7),1),1),SUM(LLJX,7),DRAWNULL);
B8:=IF(SUM(LLJX,8)>REF(MA(SUM(LLJX,8),1),1),SUM(LLJX,8),DRAWNULL);
B9:=IF(SUM(LLJX,9)>REF(MA(SUM(LLJX,9),1),1),SUM(LLJX,9),DRAWNULL);
B10:=IF(SUM(LLJX,10)>REF(MA(SUM(LLJX,10),1),1),SUM(LLJX,10),DRAWNULL);
A11:=EMA(C,3);
A5:=EMA(C,20);
狙击点:B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND B9 AND B10 AND (CLOSE-OPEN)>=(UPR-BBIBOLL) AND V/REF(V,1)>=1.9,DRAWNULL;
狙击买点:狙击点=1 AND CROSS(A11,A5) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018,DRAWNULL;
DRAWTEXT(CROSS( 100-100*(HHV(HIGH,5*8)-CLOSE)/(HHV(HIGH,5*8)-LLV(LOW,5*8)),51) AND CROSS( C,SAR_S(10,2,10)) AND B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND B9 AND B10 AND (CLOSE-OPEN)>=(UPR-BBIBOLL) AND V/REF(V,1)>=1.9 ,HIGH*1.032,'▲'),coloryellow;
LCD:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LCD,0),4.1,1)/SMA(ABS(CLOSE-LCD),4.1,1)*100;
DRAWTEXT(CROSS(RSI,11)*10,LOW*0.968,'↑准备低吸') ,colormagenta;
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VARA:=IF(VAR9>100,VAR9-100,0);
VARB:=HHV(HIGH,34);
AA:= VARA*2;
BB:= EMA((VAR6-VAR8)/(VARB-VAR8)*100,13);
VARC:=EMA(0.667*REF(BB,1)+0.333*BB,2);
CC:SMA(VAR5,20,1),colorred,NODRAW,DRAWNULL;
CC1:SMA(CC,5,1),colorgreen,NODRAW,DRAWNULL;
DRAWTEXT((CROSS((SMA(VAR5,20,1)),(SMA((SMA(VAR5,20,1)),5,1))) ),LOW*0.932,'主'),coloryellow;
DRAWTEXT((CROSS((SMA(VAR5,20,1)),(SMA((SMA(VAR5,20,1)),5,1))) ),LOW*0.902,'升'),coloryellow;
DRAWTEXT((CROSS((SMA(VAR5,20,1)),(SMA((SMA(VAR5,20,1)),5,1))) ),LOW*0.872,'浪'),coloryellow;
DRAWTEXT(CROSS( 100-100*(HHV(HIGH,5*8)-CLOSE)/(HHV(HIGH,5*8)-LLV(LOW,5*8)),51),LOW*0.978,'强'),colorwhite;
DRAWTEXT(CROSS(51, 100-100*(HHV(HIGH,5*8)-CLOSE)/(HHV(HIGH,5*8)-LLV(LOW,5*8))),HIGH*1.014,'弱'),colorwhite;
抄底线: HHV(HIGH,15)/1.156,colorcyan,LINETHICK1;
回档线:(MA(C,6)+MA(C,16))/2 ,colorgray;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!