当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:分时做T副图(同花顺公式 副图 源码 测试图)
软件名称:[B]分时做T副图(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:7.00 KB
官方主页:Home Page
更新时间:2022-03-14 00:12:54
软件简介:
适合在分时图上做短线T,每日在分时图上按提示高抛低吸。
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:=L1+P1*7/8,colorred;
支撑:=L1+P1*0.5/8,colorgreen;
中线:=(支撑+阻力)/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),LINETHICK2,colorlimagenta;
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
准备买入:STICKLINE(趋势线<11,趋势线,11,5,0),coloryellow;
AA:=(趋势线<11) AND FILTER((趋势线<=11),15) AND C<中线;
BB0:=REF(趋势线,1)<11 AND CROSS(趋势线,11) AND C<中线;
BB1:=REF(趋势线,1)<11 AND REF(趋势线,1)>6 AND CROSS(趋势线,11);
BB2:=REF(趋势线,1)<6 AND REF(趋势线,1)>3 AND CROSS(趋势线,6);
BB3:=REF(趋势线,1)<3 AND REF(趋势线,1)>1 AND CROSS(趋势线,3);
BB4:=REF(趋势线,1)<1 AND REF(趋势线,1)>0 AND CROSS(趋势线,1);
BB5:=REF(趋势线,1)<0 AND CROSS(趋势线,0);
BB:=BB1=1 OR BB2=1 OR BB3=1 OR BB4=1 OR BB5=1;
下单买入:STICKLINE(BB=1 AND C<中线,11,50,3,0),colorred;
DRAWICON(BB=1 AND C<中线,55,1);
DRAWTEXT(BB0,60,'★买'),colorred;
DRAWTEXT(AA,16,'准备买入'),coloryellow;
准备卖出:STICKLINE(趋势线>89,趋势线,89,5,0),colorwhite;
CC:=(趋势线>89) AND FILTER((趋势线>89),15) AND C>中线;
DD0:=REF(趋势线,1)>89 AND CROSS(89,趋势线) AND C>中线;
DD1:=REF(趋势线,1)>89 AND REF(趋势线,1)<94 AND CROSS(89,趋势线);
DD2:=REF(趋势线,1)>94 AND REF(趋势线,1)<97 AND CROSS(94,趋势线);
DD3:=REF(趋势线,1)>97 AND REF(趋势线,1)>99 AND CROSS(97,趋势线);
DD4:=REF(趋势线,1)>99 AND REF(趋势线,1)<100 AND CROSS(99,趋势线);
DD5:=REF(趋势线,1)>100 AND CROSS(100,趋势线);
DD:=DD1=1 OR DD2=1 OR DD3=1 OR DD4=1 OR DD5=1;
下单卖出:STICKLINE(DD=1 AND C>中线,89,50,3,0),colorgreen;
DRAWICON(DD=1 AND C>中线,45,2);
DRAWTEXT(DD0,40,'★卖'),colorgreen;
DRAWTEXT (CC,84,'准备卖出'),colorwhite;
顶:89,colorgreen;
底:11,colorred;
中:50,POINTDOT,colorwhite;
DRAWTEXT(ISLASTBAR,顶,'顶'),colorgreen;
DRAWTEXT(ISLASTBAR,底,'底'),colorred;
DRAWTEXT(ISLASTBAR,中,'中'),colorwhite;
//主散资金抄底//
//VAR1:=MA(CLOSE,5);
//VAR2:=MA(CLOSE,10);
//VAR3:=MA(CLOSE,20);
//VAR4:=MA(CLOSE,30);
//VAR5:=(VAR1+VAR2+VAR3+VAR4)/4;//
//VAR6:=(VAR5-REF(VAR5,5))/REF(VAR5,5)*1500;//
//VAR7:=(VAR5-REF(VAR5,5))/REF(VAR5,5)*1500;//
//VAR8:=EMA(VAR6,8);//
VAR9:=TROUGHBARS(3,15,1)<10;
VAR10:=PEAKBARS(3,15,1)<10;
VAR11:=IF(VAR9=1,50,0);
VAR12:=IF(VAR10=1,50,0);
底部:= IF(VAR11=50,50,0);
头部:= IF(VAR12=50,100,0);
波段吸:IF(底部>REF(底部,1),50,0),colorred;
波段抛:IF(头部>REF(头部,1),89,0),colorgreen;
DRAWTEXT(波段吸=50,40,'吸' ),colorred;
DRAWTEXT(波段抛=89,40,'抛'),colorgreen;
STICKLINE(底部>REF(底部,1),5,25,2,0),colorred;
STICKLINE(头部>REF(头部,1),5,25,2,0),colorgreen;
播种:=BARSLAST(REF(底部>REF(底部,1),0));
收割:=BARSLAST(REF(头部>REF(头部,1),0));
止损:=REF(C,播种)*0.97;
止损价:='播种止损价:'+止损+'元';
DRAWTEXT_FIX(ISLASTBAR,0.80,0.10,0,止损价),coloryellow;
高壹:=REF(C,收割);
低壹:=REF(C,播种);
收播幅:=(高壹-低壹)/高壹*100;
收目幅:=(高壹-C)/高壹*100;
播收幅:=(高壹-低壹)/低壹*100;
播目幅:=(C-低壹)/低壹*100;
收目:='收割→目前 跌:'+收目幅+'%';
DRAWTEXT_FIX(ISLASTBAR,0.60,0.10,0,收目),coloryellow;
播目:='播种→目前 涨:'+播目幅+'%';
DRAWTEXT_FIX(ISLASTBAR,0.60,0.40,0,播目),coloryellow;
[url=http://www.70822.com/soft/sort013/sort036/down-161219.html]分时做T副图(同花顺公式 副图 源码 测试图)[/url]