当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:分时预警,组合多个公式(通达信公式 副图 源码 测试图)
软件名称:[B]分时预警,组合多个公式(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2021-10-11 00:11:00
软件简介:
MA30:EMA(CLOSE,30);{显示MA30单价}
强弱:EMA(CLOSE,900);{显示强弱单价}
STICKLINE((MA30>强弱),MA30,强弱,1,0),COLOR0000FF;{MA30金叉强弱时划宽1,实心柱状,红色}
STICKLINE((MA30<强弱),MA30,强弱,1,0),COLOR00FF00;{MA30死叉强弱时划宽1,实心柱状,绿色}
H1:MAX(DYNAINFO(3),DYNAINFO(5)),COLORRED,LINETHICK9;
{显示H1单价,取昨天收盘价或今天最高价的最高值为压力线,划9号粗线红色}
L1:MIN(DYNAINFO(3),DYNAINFO(6)),COLOR00DD00,LINETHICK9;
{显示L1单价,取昨天收盘价或今天最低价的最高值为支撑线,划9号粗线绿色}
P1:=H1-L1;
阻力:L1+P1*7/8,COLORRED;{划阻力线红色}
支撑:L1+P1*0.5/8,COLOR00DD00;{划支撑线绿色}
现价:CLOSE,COLORWHITE,LINETHICK1;{现价为白色1号线}
STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW;
{当支撑价金叉现价时在支撑和阻力区域画宽1实心黄柱}
DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'★B'),COLORYELLOW;{吸}
{支撑价在2周期后金叉现价时在支撑价上标注★B图形,以黄s颜色标注}
DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'★'),COLORRED;{抛};
{支撑价在2周期后死叉阻力价时在阻力价上标注★图形,以红色颜色标注}
DRAWICON(CROSS(MA30,强弱),H,9);{MA30金叉强弱时在最高价上标注9号图形};
中线:=(支撑+阻力)/2,COLORWHITE,POINTDOT;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:=EMA(V11,3),LINETHICK1,COLORLIMAGENTA;
AA:=(趋势线<11) AND FILTER((趋势线<=11),15) AND C<中线;
BB0:=REF(趋势线,1)<11 AND CROSS(趋势线,11) AND C<中线;
ABA:=(H1+L1)/2;
DRAWTEXT(BB0,ABA,'★买'),COLORRED;
DRAWTEXT(AA,ABA*0.98,'准备买入'),COLORYELLOW;
FSHORT:=30;{分析家公式网 WWW.70822.com}
FLONG:=60;
乾坤线:EMA(CLOSE,FLONG),COLORYELLOW,LINETHICK2;
操盘线:=EMA(CLOSE,FSHORT);
多线:IFF(操盘线>乾坤线,操盘线 ,DRAWNULL),COLORRED,LINETHICK2;
空线:IFF(操盘线<=乾坤线,操盘线,DRAWNULL),COLORBLUE,LINETHICK2;
买信号:=REF(操盘线,1)<=REF(乾坤线,1) AND 操盘线>乾坤线;
卖信号:=REF(操盘线,1)>=REF(乾坤线,1) AND 操盘线<乾坤线;
DRAWICON(买信号,乾坤线,1);
DRAWICON(卖信号,操盘线,2);
{金钻}
神蝶:=(EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100, COLORSTICK;
DRAWICON(CROSS(EXPMA(神蝶,120)-0.0004,EXPMA(神蝶,200)),L,26);
QQ:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))),1.05,0.95);
Q2:=IF(QQ=0,MA(C,BARSCOUNT(C)),(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))));
DRAWICON(CROSS((C/Q2),1.03),L,27);
{鲤鱼跳龙门}
NX:=MA(((SLOPE(C,20)*5)+C),10);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD10:=(DIF-DEA)*2;
AA0:=MACD10>00 AND DIF>0 AND DEA>0;
A100:=HOUR=10 AND MINUTE=0;
A20:=HHV(H,30);
A30:=BARSLAST(A100);
A40:=REF(A20,A30);
A50:=CONST(A40);
A80:=CLOSE>A50 AND REF(C<=A50,1) AND CLOSE>NX;
AB:=FILTER(A80,100);
A90:=DYNAINFO(3);
AC:=CLOSE<=A90*1.04 AND CLOSE>A90;
量比:=V/REF(MA(V,5),1);
XG:=AA0 AND AB AND AC AND A40>A90 AND 量比>=1;
DRAWICON(XG,A50,23);{红十字架}
均线:=IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)),1.05,0.95)=0,MA(C,0),(SUM(AMOUNT,0)/SUM(VOL*100,0))),COLORYELLOW,DOTLINE;
XX:=SUM(AMOUNT,BARSCOUNT(CLOSE))/SUM(V*100,BARSCOUNT(CLOSE));
主力:=EXPMA(CLOSE/XX,20);
DRAWTEXT(CROSS(主力,1.02),C*0.999,' 拉'),COLORMAGENTA;
DRAWICON(CROSS(主力,1.04),C,26);
DRAWTEXT(CROSS(主力,1.04),C*0.999,' 冲'),COLORRED;
鲤鱼:= (EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100;
GSD11:=CROSS(EXPMA(鲤鱼,120)-0.0004,EXPMA(鲤鱼,200));
XGG:=(GSD11);
DRAWTEXT(XG,均线,'鲤鱼跳龙门'),COLORGREEN;
{抄底分析家公式网 WWW.70822.com}
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
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);
抄底:=(VAR11+VAR13+VAR15+VAR17),COLORRED;
DRAWICON(抄底,L*0.99,9);
DRAWICON(抄底,L*0.975,28);
DRAWICON(抄底,L*0.96,25);
LOWV:=LLV(LOW,50);
HIGHV:=HHV(HIGH,50);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
K:=EMA(RSV,8);
D:=MA(K,8);
DIFF:=EMA(CLOSE,20)-EMA(CLOSE,120);
DEAA:=EMA(DIFF,13);
MACD:=(DIFF-DEAA)*2;
TJ1:=MACD>0 AND CROSS(DIFF,DEAA) AND DIFF<0;
KD:=CROSS(K,D) AND K<=20;
TJ2:=EXIST(KD,15) AND K<=50;
TJ3:=K>D;
底:=FILTER(TJ1 AND TJ2 AND TJ3,15);
DRAWTEXT(底,L*1.03,'定海神针'),COLORMAGENTA;
STICKLINE(底,L,L*1.03,3,0),COLORBLUE;
[url=http://www.70822.com/soft/sort013/sort05/down-158518.html]分时预警,组合多个公式(通达信公式 副图 源码 测试图)[/url]