同花顺跟着机构走指标公式

2018-06-15    作者:股匠网整理    来源:本站整理

LC:=REF(CLOSE1);
RSI5:=((SMA(MAX((CLOSE-LC)0)51) / SMA(ABS((CLOSE-LC))51)) * 100);
TR1:=SUM(MAX(MAX((HIGH-LOW)ABS((HIGH-REF(CLOSE1))))ABS((LOW-REF(CLOSE1))))10);
HD:=(HIGH-REF(HIGH1));
LD:=(REF(LOW1) - LOW);
DMP:=SUM(IF(((HD> 0) AND (HD > LD))HD0)10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD))LD0)10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100)5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX5)) / 2) + RSI5);
WR10:=((100 * (HHV(HIGH10) - CLOSE)) / (HHV(HIGH10) - LLV(LOW10)));
NEWVOL:=(RSI5 - WR10);
最佳买入:=(AV + NEWVOL);
买入选股:IF(CROSS(最佳买入0)40)STICKCOLOR00FFFFLINETHICK2;
VARA1:=SMA(买入选股31);
VARA2:=SMA(VARA131)COLOR0000FF;
VARA3:=SMA(VARA231)COLOR00FFFF;
建仓买点:IF(CROSS(VARA2VARA3) AND (VARA2<40)50* 10000)COLOR0000FFLINETHICK1;
STICKLINE(建仓买点01.560)COLORFF80FF;
STICKLINE(建仓买点0.52.820)COLOR3000FF;
RSV:=(((CLOSE - LLV(LOW9)) / (HHV(HIGH9) - LLV(LOW9))) * 50);
K:=SMA(RSV31);
D:=SMA(K31);
J:=3*K-2*D;
X:=LLV(J2)=LLV(J8);
最佳买入时机: IF(CROSS(J3)10)STICKCOLORFFFF00;
STICKLINE(最佳买入时机0130)COLOR009999;
STICKLINE(最佳买入时机0120)COLOR00DDDD;
STICKLINE(最佳买入时机0110)COLOR00FFFF;
机构建仓: IF(最佳买入<5-0.50)STICKCOLOR00FF00LINETHICK1;
机构建仓日:STICKLINE(机构建仓0-141)COLOR00FF00LINETHICK5;
趋势:3*SMA((CLOSE-LLV(LOW38))/(HHV(HIGH38)-LLV(LOW38))*10051)-2*SMA(SMA((CLOSE-
LLV(LOW27))/(HHV(HIGH27)-LLV(LOW27))*10051)31)LINETHICK2COLORFF99FFNODRAW;
备钱: IF(趋势<=20-0.80)COLORD0D0D0STICKLINETHICK3;
快买: IF(趋势<=1010)COLORFF38FFSTICKLINETHICK3;
BIAS1:=(C-MA(C6))/MA(C6)*100COLORFFDDCC;
BIAS2:(C-MA(C13))/MA(C13)*100COLORFFFFFFLINETHICK1;
BIAS3:=(C-MA(C26))/MA(C26)*100COLORFFFFFFLINETHICK1;
乖离:(BIAS1+2*BIAS2+3*BIAS3)/6COLOR00FFFF;
乖离超限:MA(乖离3)COLORFF80FF;
STICKLINE(CROSS(乖离乖离超限) AND 乖离超限<-9-4011)COLORFFFFFF;
STICKLINE(CROSS(乖离超限乖离) AND 乖离>106030)COLORFF88FF;
DRAWBAND(MA(乖离1)RGB(24012040)MA(乖离超限1)RGB(25620020));
警跌:IF(BIAS2<REF(BIAS21)BIAS2DRAWNULL)COLORFF6128LINETHICK3;
回升:IF(BIAS2>REF(BIAS21)BIAS2DRAWNULL)COLOR00FFFFLINETHICK3;
R:SMA(MAX(CLOSE-REF(C1)0)61)/SMA(ABS(CLOSE- REF(C1))61)*100COLORFFCCFFNODRAW;
R2:SMA(MAX(CLOSE-REF(C1)0)131)/SMA(ABS(CLOSE- REF(C1))131)*100COLOR00CCFFNODRAW;
STICKLINE(CROSS(R2R) AND R2>78203-1)COLOR30FFFF;
CC:=(C-REF(C1))/REF(C1)*100>1.2;
DD:=L<MA(C5)*0.921;
EE:=V<MA(V5)*1.5;
老鼠仓:=(L<(AMOUNT/V)*0.9) AND CC AND DD AND EELINETHICK0COLOR0099FF;
DRAWTEXT(老鼠仓-5老鼠仓)COLORFFFFFF;
STICKLINE(CROSS(乖离BIAS1) AND BIAS2>15乖离010)COLOR3300FF;
DRAWICON(CROSS(乖离BIAS1*0.382)-11)colorgreen;

阅读:394    评论:0

联系我们 - 关于我们 - 网站地图

声明:站内所有文章、公式均来自互联网或网友分享提供,如侵犯您的权利请告知,我们会在24小时内及时删除! 


【电脑版】  【回到顶部】