当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:主力动向监测SSX(同花顺指标 副图 源码 测试图)
软件名称:[B]主力动向监测SSX(同花顺指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:10.0 KB
官方主页:Home Page
更新时间:2023-01-13 00:12:51
软件简介:
主力动向监测SSX
RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
K1:=SMA(RSV,10,1);
D1:=SMA(K1,5,1);
KK:=INTPART(K1);
DD:=INTPART(D1);
TFXXS:=KK+DD;
TGLD:=MOD(TFXXS,10);
TGLXS:=(TFXXS-REF(TFXXS,1))*10;
TYCFX:=TFXXS+TGLXS;
乖离系数:TGLXS,LINETHICK0,colorgreen;
STICKLINE(TGLXS>0,0,TGLXS,7,0),COLOR000088;
STICKLINE(TGLXS>0,0,TGLXS,6,0),COLOR000099;
STICKLINE(TGLXS>0,0,TGLXS,5,0),COLOR0000AA;
STICKLINE(TGLXS>0,0,TGLXS,4,0),COLOR0000BB;
STICKLINE(TGLXS>0,0,TGLXS,3,0),COLOR0000CC;
STICKLINE(TGLXS>0,0,TGLXS,2.0,0),COLOR0000DD;
STICKLINE(TGLXS>0,0,TGLXS,1,0),COLOR0000EE;
STICKLINE(TGLXS>0,0,TGLXS,0.5,0),COLOR0000FF;
STICKLINE(TGLXS<0,0,TGLXS,7,0),COLOR008800;
STICKLINE(TGLXS<0,0,TGLXS,6,0),COLOR009900;
STICKLINE(TGLXS<0,0,TGLXS,5,0),COLOR00AA00;
STICKLINE(TGLXS<0,0,TGLXS,4,0),COLOR00BB00;
STICKLINE(TGLXS<0,0,TGLXS,3,0),COLOR00CC00;
STICKLINE(TGLXS<0,0,TGLXS,2,0),COLOR00DD00;
STICKLINE(TGLXS<0,0,TGLXS,1,0),COLOR00EE00;
STICKLINE(TGLXS<0,0,TGLXS,0.5,0),COLOR00FF00;
STICKLINE(TGLXS=0 AND REF(TGLXS,1)>=0,0,TGLXS,8,0),colorred;
STICKLINE(TGLXS=0 AND REF(TGLXS,1)<0,0,TGLXS,8,0),colorgreen;
MA5:=MA(C,5);
MA13:=MA(C,13);
MA21:=MA(C,21);
MA34:=MA(C,34);
MA55:=MA(C,55);
MA89:=MA(C,89);
MA144:=MA(C,144);
MA233:=MA(C,233);
TMP1:=IF(C>MA5,1,0);
TMP2:=IF(C>MA13,1,0);
TMP3:=IF(C>MA21,1,0);
TMP4:=IF(C>MA34,1,0);
TMP5:=IF(C>MA55,1,0);
TMP6:=IF(C>MA89,1,0);
TMP7:=IF(C>MA144,1,0);
TMP8:=IF(C>MA233,1,0);
强弱线:TMP1+TMP2+TMP3+TMP4+TMP5+TMP6+TMP7+TMP8+-3.8,colormagenta,nodraw;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) *89.06);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),-10,'底'),colorred;
RSI1:=((SMA(MAX((CLOSE - (REF(CLOSE,1))),0),3,1) / SMA(ABS((CLOSE - (REF(CLOSE,1)))),3,1))*89.06);
DRAWTEXT(CROSS(88,RSI1) AND (MA(C,3))>(EMA(C,3)) ,90,'顶'),colorgreen;
AA:=(HHV(HIGH,20) - (2 * ATR));
BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));
SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE);
BBB:=BARSLAST(BB);
SSSB:=BARSLAST(SSS);
B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1)));
B1B:=BARSLAST(B1);
B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3));
B2B:=BARSLAST(B2);
B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2));
DRAWTEXT((B1 = 1),-20,'跟'),coloryellow;
DRAWTEXT((B2 = 1),-30,'加'),COLORFFAAFF;
R0:=IF(CLOSE>OPEN,VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN))*(HIGH-LOW),IF(CLOSE<OPEN,VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN))*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2))-IF(CLOSE>OPEN,VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN))*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN))*(HIGH-LOW),VOL/2));
庄进:R0-(ABS(REF(R0,1))+ABS(REF(R0,2))+ABS(REF(R0,3))+ABS(REF(R0,4))+ABS(REF(R0,5))/2)>0 AND EMA(EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*4,4),3)>=REF(EMA(EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*4,4),3),1) AND REF(EMA(EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*4,4),3),1)<REF(EMA(EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*4,4),3),2),NODRAW,colormagenta;
DRAWTEXT(庄进>0,-50,'庄进'),colorblue;
拉力:4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1),DOTLINE,coloryellow;
B1:=(H+L+C)/3;
B2:=HHV(B1,15);
B3:=LLV(B1,15);
B4:=B2-B3;
主拉:MA((B1-B3)/B4,2)*100,COLOR000080,DOTLINE;
趋势:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),colorred,LINETHICK1;
超级:(BIGBUYCOUNT1+WAITBUYCOUNT1-BIGSELLCOUNT1-WAITSELLCOUNT1)*CLOSE,colormagenta,nodraw;
VR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
日买:=IF(CLOSE>OPEN,VR1*(HIGH-LOW),IF(CLOSE<OPEN,VR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2)),colorred,NODRAW;
日卖:=-IF(CLOSE>OPEN,0-VR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VR1*(HIGH-LOW),0-AMOUNT/2)),COLOR00FF00,NODRAW;
日差:日买-日卖,colorred,nodraw;
超级占成交额:=超级/(日买+日卖);
比:=日买/日卖;
DRAWTEXT(超级占成交额>=0.19 OR 比>=10 OR 日卖=0 AND 趋势>60 AND 拉力>80,0,'抢'),colorcyan;
VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR301:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR301,5);
操盘:=3*VAR301-2*VAR400;
A111:=CROSS(操盘,VAR301) AND VAR301<2.1 AND C>O;
STICKLINE(A111,0,乖离系数,3,0),COLOR770077;
STICKLINE(A111,0,乖离系数,2,0),COLOR990099;
STICKLINE(A111,0,乖离系数,1,0),COLORBB00BB;
STICKLINE(A111,0,乖离系数,0.5,0),COLORDD00DD;
STICKLINE(A111,0,乖离系数,0.3,0),COLORFF00FF;
{DRAWTEXT(A111,乖离系数,'财神到'),colorred;}
VAR1:=(CLOSE+HIGH+LOW)/3;
VAR2:=EMA(VAR1,10);
VAR3:=REF(VAR2,1);
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
上穿买:=SMA(RSV1,3,1),colormagenta,LINETHICK2;
下穿卖:=SMA(上穿买,3,1),colorgreen,LINETHICK2;
买:=CROSS(上穿买,下穿卖),nodraw,colorred;
DRAWTEXT(买,0,'B'),colorred;
卖:=CROSS(下穿卖,上穿买),nodraw,colorgreen;
DRAWTEXT(卖,0,'S'),colorblue;
[url=http://www.70822.com/soft/sort013/sort036/down-165836.html]主力动向监测SSX(同花顺指标 副图 源码 测试图)[/url]