当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:主力趋势(同花顺公式 副图 源码 测试图)源码分享
软件名称:[B]主力趋势(同花顺公式 副图 源码 测试图)源码分享[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2024-05-16 00:05:20
软件简介:
主力趋势
RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
机构做多能量线: EMA(J,6),colorred,LINETHICK2;
VAR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
机构做空能量线: SMA(VAR1,2,1),colorliblue,LINETHICK2;
SHORT:=12;LONG:=26;M:=9;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,M);
LD0:=CROSS(DEA,DIF);
M2:=EMA(CLOSE,8);
MACD:(DIF-DEA)*500,COLORSTICK;
DRAWTEXT( LOW<=MA(CLOSE,15) AND DIF>DEA AND SMA(VAR1,2,1)<EMA(J,6) OR LOW<=MA(CLOSE,15) AND DIF>DEA AND SMA(VAR1,2,1)<EMA(J,6) ,机构做多能量线,'买入'),colorred;
DRAWTEXT (CROSS (机构做多能量线,机构做空能量线) ,机构做空能量线,'关注'), colorred ;
DRAWTEXT ( (机构做多能量线-机构做空能量线) <10 AND LOW<=MA(CLOSE,15) AND 机构做空能量线<机构做多能量线 AND REF(机构做多能量线,1)>机构做多能量线 AND REF(MACD,1)>MACD ,机构做空能量线,'清仓'), colorgreen ;
DRAWTEXT ( LOW<=MA(CLOSE,15) AND C>REF(CLOSE,1) AND REF( 机构做多能量线,1)>机构做多能量线 AND DIF>DEA AND REF(CLOSE,3)>EMA(M2,55) AND SMA(VAR1,2,1)<EMA(J,6),机构做多能量线,'卖出'), LINETHICK3,colorgreen;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
吸筹:STICKLINE(VAR9>-120,0,VAR9,2,5),colormagenta;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL /2));
VAR10:=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);
VAR11:=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);
VAR12:=VAR10<REF(VAR11,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(VAR12 AND COUNT(VAR12,30)=1,40,'有大资金进场迹象,关注!');
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
AA5:=SMA(AA4,13,8);
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,VARR1),10,15);

[url=http://www.70822.com/soft/sort013/sort036/down-163227.html]主力趋势(同花顺公式 副图 源码 测试图)源码分享[/url]