当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:分时多空副图(通达信公式 副图 源码 测试图)
软件名称:[B]分时多空副图(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:分享版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2024-12-17 00:15:24
软件简介:
分时多空副图指标
{吸筹}
VAR001:=IF(YEAR>=2038 AND MONTH>=1,0,1);
VAR002:=REF(LOW,1)*VAR001;
VAR003:=SMA(ABS(LOW-VAR002),3,1)/SMA(MAX(LOW-VAR002,0),3,1)*100*VAR001;
VAR004:=EMA(IF(CLOSE*1.3,VAR003*10,VAR003/10),3)*VAR001;
VAR005:=LLV(LOW,30)*VAR001;
VAR006:=HHV(VAR004,30)*VAR001;
VAR007:=IF(MA(CLOSE,58),1,0)*VAR001;
VAR008:=EMA(IF(LOW<=VAR005,(VAR004+VAR006*2)/2,0),3)/618*VAR007*VAR001;
吸筹:=IF(VAR008>100,100,VAR008)*VAR001,COLORYELLOW;
STICKLINE(吸筹>-150,100-吸筹,100,0.1,0),COLORYELLOW;
永久日:=1321212;
永久:=IF(DATE<永久日,1,DRAWNULL);
DY11:=(2*CLOSE+HIGH+LOW)/4;
DY22:=LLV(LOW,34);
DY33:=HHV(HIGH,34);
A11:=EMA((DY11-DY22)/(DY33-DY22)*100,9);
B11:=EMA(0.667*REF(A11,1)+0.333*A11,2);
多头:=EMA((DY11-DY22)/(DY33-DY22)*100,30),COLORRED;
空头:=EMA(多头,5),COLORGREEN;
STICKLINE(空头>=A11,空头,A11,1,0),COLORGREEN;
STICKLINE(空头>=A11,B11,多头,0,0),COLORGREEN;
STICKLINE(空头<=A11,空头,A11,1,0),COLORRED;
STICKLINE(空头<=A11,B11,多头,0,0),COLORRED;
主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORWHITE,LINETHICK1;
XIAO1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
XIAO2:=SMA(ABS(LOW-XIAO1),13,1)/SMA(MAX(LOW-XIAO1,0),10,1);
XIAO3:=EMA(XIAO2,10);
XIAO4:=LLV(LOW,33);
XIAO5:=EMA(IF(LOW<=XIAO4,XIAO3,0),3);
STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,3,0 ),COLOR000055;
STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,2.6,0 ),COLOR000077;
STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,2.1,0 ),COLOR000099;
STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,1.5,0 ),COLOR0000BB;
STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,0.9,0 ),COLOR0000DD;
STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,0.3,0 ),COLOR0000FF;
STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,3,0),COLOR005500;
STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,2.6,0),COLOR007700;
STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,2.1,0),COLOR009900;
STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,1.5,0),COLOR00BB00;
STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,0.9,0),COLOR00DD00;
STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,0.3,0),COLOR00FF00;
主力出没:IF(XIAO5>REF(XIAO5,1),XIAO5,0),COLORRED,NODRAW;
{主力进场}
HYY1:=REF(LOW,1);
HYY2:=SMA(ABS(LOW-HYY1),13,1)/SMA(MAX(LOW-HYY1,0),13,1)*4;
HYY3:=EMA(HYY2,13);
HYY4:=LLV(LOW,34);
HYY5:=EMA(IF(LOW<=HYY4,HYY3,0),3);
HYY6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
HYY7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
HYY8:=HYY6<REF(HYY7,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
STICKLINE(HYY8 AND
COUNT(HYY8,30)=1,0,18,0.5,0),COLORBLUE,LINETHICK3;
STICKLINE(HYY8 AND COUNT(HYY8,30)=1,18,36,0.5,0),COLORFF7700,LINETHICK3;
STICKLINE(HYY8 AND COUNT(HYY8,30)=1,36,60,1,0),COLORMAGENTA;
{底部显现}
AVAR2:=REF(LOW,1);
AVAR3:=SMA(ABS(LOW-AVAR2),13,1)/SMA(MAX(LOW-AVAR2,0),13,1)*100;
AVAR4:=EMA(IF(CLOSE*1.2,AVAR3*13,AVAR3/13),13);
AVAR5:=LLV(LOW,34);
AVAR6:=HHV(AVAR4,34);
AVAR7:=IF(LLV(LOW,56),1,0);
AVAR8:=EMA(IF(LOW<=AVAR5,(AVAR4+AVAR6*2)/2,0),3)/618*AVAR7;
AA:=AVAR8>REF(AVAR8,1);
DJ:=REF(LLV(L,100),3);
ZD:=REFDATE(DJ,DATE);
XG9:=L=ZD;
XGA:=AA AND XG9;
XG1:=XGA>REF(XGA,1);
底部9:XG1>REF(XG1,1);
DRAWICON(底部9,50,1);
{多空}
STEP1:=15/20;
MVALUE1:=40/8;
SARLINE:=SAR(3,STEP1,MVALUE1);
多:=IF(CLOSE>SARLINE,SARLINE,DRAWNULL),CIRCLEDOT,COLORRED;
空:=IF(CLOSE<SARLINE,SARLINE,DRAWNULL),CIRCLEDOT,COLORGREEN;
STICKLINE(CLOSE>SARLINE,-2,-6,0,0),COLORRED;
STICKLINE(CLOSE<SARLINE,-2,-6,0,0),COLORGREEN;
底:IF(主力持仓<5,10,0),COLORRED,LINETHICK2;
顶:IF(主力持仓>90,90,100),COLORGREEN,LINETHICK2;
[url=http://www.70822.com/soft/sort013/sort05/down-175897.html]分时多空副图(通达信公式 副图 源码 测试图)[/url]