分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]总买卖(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:12.0 KB
官方主页:Home Page
更新时间:2022-09-28 00:15:22
软件简介:

 总买卖

DAY32:=MIN( BARSCOUNT(C)-9,32);
DAY42:=MIN( BARSCOUNT(C)-9,42);
DAY34:=MIN( BARSCOUNT(C)-9,34);
DAY50:=MIN( BARSCOUNT(C)-9,50);
DAY55:=MIN( BARSCOUNT(C)-7,55);
DAY89:=MIN( BARSCOUNT(C)-6,89);
DAY144:=MIN( BARSCOUNT(C)-4,144);
DAY233:=MIN( BARSCOUNT(C)-30,233);
PP00:=SUM(L<MA(C,8),5)<=0;
PP0:=SUM(L<MA(C,8),13)/13<=8/100;
PP1:=SUM(L<MA(C,13),21)/21<=8/100;
PP2:=SUM(L<MA(C,21),DAY34)/DAY34<=8/100;
PP3:=SUM(L<MA(C,34),DAY55)/DAY55<=8/100;
PP4:=SUM(L<MA(C,DAY55),DAY89)/DAY89<=8/100;
P00:=SUM(H>MA(C,8),5)<=0 ;
P0:=SUM(H>MA(C,8),13)/13<=8/100;
P1:=SUM(H>MA(C,13),21)/21<=8/100;
P2:=SUM(H>MA(C,21),DAY34)/DAY34<=8/100;
P3:=SUM(H>MA(C,DAY34),DAY55)/DAY55<=8/100;
P4:=SUM(H>MA(C,DAY55),DAY89)/DAY89<=8/100;
 
OBV:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);
RSV:=(OBV-LLV(OBV,DAY34))/(HHV(OBV,DAY34)-LLV(OBV,DAY34))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
JJ:=3*K-2*D;
J:=IF(JJ>100,100,JJ);
 
AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
AA4:=(CLOSE-LLV(LOW,DAY34))/(HHV(HIGH,DAY34)-LLV(LOW,DAY34))*100;
AA5:=SMA(AA4,13,8);
OBV走势:=CEILING(SMA(AA5,13,8));
AA6:=SMA(AA3,21,8);
买观注:= OBV走势-AA6<-70;
卖观注:=OBV走势-AA6>88;
 
ZH:=(SUM(P00 AND SUM(P00,2)=1 ,21)>1 AND P00 AND SUM(P00,2)=1) OR (SUM(P00 AND SUM(P00,2)=1 ,DAY55)>2 AND P00 AND SUM(P00,2)=1) OR (P00 AND SUM(P00,2)=1  AND MA(C,DAY89)>REF(MA(C,DAY89),2))  OR (P0 AND SUM(P0,2)=1) OR (P1 AND SUM(P1,2)=1) OR(P2 AND SUM(P2,2)=1) OR(P3 AND SUM(P3,2)=1) OR(P4 AND SUM(P4,2)=1) ;
HZ:=(SUM(PP00 AND SUM(PP00,2)=1 ,21)>1 AND PP00 AND SUM(PP00,2)=1) OR (SUM(PP00 AND SUM(PP00,2)=1 ,DAY55)>2 AND PP00 AND SUM(PP00,2)=1) OR (PP00 AND SUM(PP00,2)=1  AND MA(C,DAY89)>REF(MA(C,DAY89),2))  OR (PP0 AND SUM(PP0,2)=1) OR (PP1 AND SUM(PP1,2)=1) OR(PP2 AND SUM(PP2,2)=1) OR(PP3 AND SUM(PP3,2)=1) OR(PP4 AND SUM(PP4,2)=1) ;
 
VAR1:=(2*CLOSE+HIGH+LOW)/4; 
VAR2:=LLV(LOW,5); 
VAR3:=HHV(HIGH,4); 
Y: EMA((VAR1-VAR2)/(VAR3-VAR2)*100,4); 
W: EMA(0.667*REF(Y,1)+0.333*Y,2); 
 
VAR5:=(VAR1-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100; 
VAR6:=SMA(VAR5,2,1); 
南京路: SMA(VAR6,2,1), LINESTICK; 
YY:=W-Y;
DIFF:=EMA(CLOSE,13)-EMA(CLOSE,21);
DEA:=EMA(DIFF,8);
MACD:=2*(DIFF-DEA);
MBC:=0.5*(DIFF+DEA);
 
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1 ;
DIFFF:=DIFF-REF(DIFF,1);
DEAA:=DEA-REF(DEA,1);
MAC:=MACD;
ABMAC:=MA(MAC*MAC,DAY34);
NN:=BARSLAST(MAC*REF(MAC,1)<=0)+1;
ZHGTAA:=(SUM(MAC,0)-REF(SUM(MAC,0),NN))/10;
NNN:=BARSLAST(ZHGTAA<0 AND REF(ZHGTAA,1)>0)+1;
TTT:=BARSLAST(ZHGTAA>0 AND REF(ZHGTAA,1)<0)+1;
BBB:= REF(MAC,1)<REF(MAC,2) AND MAC>REF(MAC,1) ;
SSS:= REF(MAC,1)>REF(MAC,2) AND MAC<REF(MAC,1) ;
RTB:=MAC<0 AND REF(MAC,1)>0;
BTR:=MAC>0 AND REF(MAC,1)<0;
BTR1:=BARSLAST(BTR)+1;
RTB1:=BARSLAST(RTB)+1;
BTR2:=REF(BTR1,BTR1)+1;
RTB2:=REF(RTB1,RTB1)+1;
FRIBB:=BARSLAST(BBB)+1;
SECNBB:=REF(FRIBB,FRIBB)+1;
FRISS:=BARSLAST(SSS)+1;
SECNSS:=REF(FRISS,FRISS)+1;
SSS1:= MAC>0 AND SSS AND ( REF(MAC,1)*REF(MAC,1)>3*ABMAC  OR ( NOT((HHV(MAC,FRISS+3)>=HHV(MAC,FRISS+SECNSS+3) AND HHV(H,FRISS+3)>=HHV(H,FRISS+SECNSS+3)) OR (HHV(MAC,FRISS+3)<HHV(MAC,FRISS+SECNSS+3) AND HHV(H,FRISS+3)<HHV(H,FRISS+SECNSS+3))) AND REF(MAC,1)*REF(MAC,1)>1.4*ABMAC));
BBB1:=MAC<0 AND BBB AND ( REF(MAC,1)*REF(MAC,1)>3*ABMAC  OR (NOT((LLV(MAC,FRIBB+3)<=LLV(MAC,FRIBB+SECNBB+3) AND LLV(L,FRIBB+3)<=LLV(L,FRIBB+SECNBB+3)) OR (LLV(MAC,FRIBB+3)>LLV(MAC,FRIBB+SECNBB+3) AND LLV(L,FRIBB+3)>LLV(L,FRIBB+SECNBB+3))) AND REF(MAC,1)*REF(MAC,1)>1.4*ABMAC));
BBB12:=BTR AND REF(ZHGTAA,1)>=-65/1000;
BBB13:=REF(MAC,1)<0.05 AND REF(MAC,1)>0 AND  MAC/REF(MAC,1)>1.3 AND REF(MAC,2)/REF(MAC,1)>1.1 AND MAC/REF(MAC,2)>1;
SSS12:=RTB AND REF(ZHGTAA,1)<=65/1000;
SSS13:=REF(MAC,1)>-0.05 AND REF(MAC,1)<0 AND  REF(MAC,1)/MAC>1.3 AND REF(MAC,1)/REF(MAC,2)>1.1 AND REF(MAC,2)/MAC>1;
 
STICKLINE(SSS1 AND (C/DYNAINFO(3))<1.098 ,-40,65,3,0), COLOR888888; 
STICKLINE(BBB1 OR BBB12 OR BBB13 ,-40,65,3,0), COLORFF00FF; 
 
 
 
高位死叉:=CROSS(DEA,DIFF) AND DIFF>0.1;
DIFFZ:=1.02*DIFF;
DEAZ:=1.02*DEA;
JCCOUNT:=COUNT(CROSS(DIFFZ,DEA),BARSLAST(DEA>=0));
JCCOUNTT:=COUNT(CROSS(DEAZ,DIFF),BARSLAST(DEA<=0));
 
二次金叉:=CROSS(DIFFZ,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
二次死叉:=CROSS(DEAZ,DIFF) AND DEA>0 AND COUNT(JCCOUNTT=2,21)=1;
AZ1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,AZ1+1)>CLOSE AND DIFF>REF(DIFF,AZ1+1) AND CROSS(DIFF,DEA) AND DIFF<-0.005;
AZ2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,AZ2+1)<CLOSE AND REF(DIFF,AZ2+1)>DIFF AND CROSS(DEA,DIFF) ;
 
 
A1:=MA(CLOSE,5)-MA(CLOSE,8);
A2:=MA(CLOSE,8)-MA(CLOSE,13);
A3:=MA(CLOSE,13)-MA(CLOSE,21);
A4:=MA(CLOSE,21)-MA(CLOSE,DAY34);
A5:=MA(CLOSE,DAY34)-MA(CLOSE,DAY55);
A6:=MA(CLOSE,DAY55)-MA(CLOSE,DAY89);
A7:=MA(CLOSE,DAY89)-MA(CLOSE,DAY144);
 
 
A8:=MA(CLOSE,144)-MA(CLOSE,DAY233);
DQSI:=IF(A1>=REF(A1,1),1,0)+IF(A2>=REF(A2,1),1,0)+IF(A3>=REF(A3,1),1,0)+IF(A4>=REF(A4,1),1,0);
CQSI:=IF(A5>=REF(A5,1),1,0)+IF(A6>=REF(A6,1),1,0)+IF(A7>=REF(A7,1),1,0)+IF(A8>=REF(A8,1),1,0);
QSI:=IF(DQSI=0 AND CQSI=0,1,IF(DQSI>1 OR CQSI>0,1,0));
PPP:=IF( 南京路<REF(南京路,1),1,0);
AS:=IF(W<Y AND REF(W,1)>REF(Y,1) AND Y<32,1,0);
ASAT:=IF(AS=1 AND NOT (REF(南京路,BARSLAST(AS)+1)>南京路 AND REF(C,BARSLAST(AS)+1)<C),1,0);
DING:=IF(SUM(L<MA(C,DAY34),DAY50)/DAY50<=12/100,1,0);
买点11:= (ASAT=1)  AND ((QSI+REF(QSI,1)+REF(QSI,2))>1) AND (DIFFF>REF(DIFFF,1) OR MACD>REF(MACD,1)) AND REF(PPP,1)+REF(PPP,2)+REF(PPP,3)+REF(PPP,4)>3 ;
 
DQSID:=IF(A1<REF(A1,1),1,0)+IF(A2<REF(A2,1),1,0)+IF(A3<REF(A3,1),1,0)+IF(A4<REF(A4,1),1,0);
CQSID:=IF(A5<REF(A5,1),1,0)+IF(A6<REF(A6,1),1,0)+IF(A7<REF(A7,1),1,0)+IF(A8<REF(A8,1),1,0);
QSID:=IF(DQSID=0 AND CQSID=0,1,IF(DQSID>1 OR CQSID>0,1,0));
PPPD:=IF( 南京路>REF(南京路,1),1,0);
AT:=IF(W>Y AND REF(W,1)<REF(Y,1) AND REF(W,1)>68,1,0);
ATAS:=IF(AT=1 AND NOT (REF(南京路,BARSLAST(AT)+1)<南京路 AND REF(H,BARSLAST(AT)+1)<H),1,1);
DINGD:=IF(SUM(H>MA(C,DAY34),DAY50)/DAY50>=12/100,1,0);
卖点11:= (ATAS=1)  AND ((QSID+REF(QSID,1)+REF(QSID,2))>1) AND (DIFFF<REF(DIFFF,1) OR MACD<REF(MACD,1)) AND REF
[url=http://www.70822.com/soft/sort013/sort05/down-164354.html]总买卖(通达信公式 副图 源码 测试图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:46.87500 毫秒