通达信【主力进场擒黑马】主副图指标 源码附图

{主力进场擒副源码如下}

N:=30;
M:=13;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
RSIF:=90-RSI1,COLOR33DD33;
A4:=((C-LLV(L,33))/(HHV(H,33)-LLV(L,33)))*67;
ABC1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
ABC2:=SMA(ABC1,9,1)+100;
ABC3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
ABC4:=SMA(ABC3,3,1);
ABC5:=SMA(ABC4,3,1)+100;
ABC6:=ABC5-ABC2;
趋势:IF(ABC6>45,ABC6-45,0);
STICKLINE(REF(趋势,1)< 趋势, 趋势,REF(趋势,1),2,0),COLORMAGENTA;
STICKLINE(REF(趋势,1)> 趋势, 趋势,REF(趋势,1),2,0),COLORGREEN;
强弱分界:=50,COLORFFFFCC;
底部:=0,COLOR00FFFF;
安全:=20,COLORFFFF66,LINETHICK1;
预警:=80,COLORFFFF66,LINETHICK1;
顶部:=100,COLORFFFF33;
V1:=LLV(LOW,10);
V2:=HHV(H,25);
价位线:=EMA((C-V1)/(V2-V1)*4,4);
DRAWTEXT(CROSS(价位线,0.3),20+4,'●买'),COLORRED;
DRAWTEXT(CROSS(3.5,价位线),趋势,'●卖'),COLORWHITE;
ABC2Q:=REF(LOW,1);
ABC3Q:=SMA(ABS(LOW-ABC2Q),3,1)/SMA(MAX(LOW-ABC2Q,0),3,1)*100;
ABC4Q:=EMA(IF(CLOSE*1.3,ABC3Q*10,ABC3Q/10),3);
ABC5Q:=LLV(LOW,30);
ABC6Q:=HHV(ABC4Q,30);
ABC7Q:=IF(MA(CLOSE,58),1,0);
ABC8Q:=EMA(IF(LOW<=ABC5Q,(ABC4Q+ABC6Q*2)/2,0),3)/618*ABC7Q;
ABC9Q:=IF(ABC8Q>100,100,ABC8Q);
ACB3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
ACB4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
ACB5:=SMA(ACB4,13,8);
走势:=CEILING(SMA(ACB5,13,8));
ACB6:=SMA(ACB3,21,8);
卖临界:=STICKLINE(走势-ACB6>85,103,100,15,1),COLORRED,LINETHICK2;
主力线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2* SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2,COLORBLUE;
超短线:=(((主力线-LLV(主力线,21))/(HHV(主力线,21)-LLV(主力线,21)))*(4))*(25),LINETHICK2,COLORBLUE;
ABC11:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
ABC21:=SMA(ABS(LOW-ABC11),13,1)/SMA(MAX(LOW-ABC11,0),10,1);
ABC31:=EMA(ABC21,10);
ABC41:=LLV(LOW,33);
ABC51:=EMA(IF(LOW<=ABC41,ABC31,0),3);
主力吸筹:IF(ABC51>REF(ABC51,1),ABC51,0),COLORRED,NODRAW;
STICKLINE(ABC51>REF(ABC51,1),0,ABC51,3,0 ),COLOR000055;
STICKLINE(ABC51>REF(ABC51,1),0,ABC51,2.6,0 ),COLOR000077;
STICKLINE(ABC51>REF(ABC51,1),0,ABC51,2.1,0 ),COLOR000099;
STICKLINE(ABC51>REF(ABC51,1),0,ABC51,1.5,0 ),COLOR0000BB;
STICKLINE(ABC51>REF(ABC51,1),0,ABC51,0.9,0 ),COLOR0000DD;
STICKLINE(ABC51>REF(ABC51,1),0,ABC51,0.3,0 ),COLOR0000FF;
ABC12:=3;
ABC28:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1)) - (2)*(SMA(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1));
动态底部:=EMA(IF(L<= LLV(L,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(L,1),0),99,1),0)*5,3);
准备买入:=CROSS(C,(CLOSE,N,1)*1.02);
低点:IF(动态底部 AND 准备买入,50,0),COLORWHITE,LINETHICK3;
RSV11:=(CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100;
K:=SMA(RSV11,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
短线:=EMA(J,6),COLORRED;
浮筹:=MA(短线,28)*1,LINETHICK2,COLORGREEN;
空方:=MA(100*(HHV(HIGH,35)-CLOSE)/(HHV(HIGH,35)-LLV(LOW,35)),3),COLORYELLOW;
DRAWICON(CROSS(短线,浮筹) AND 短线< 36,20+4,9),COLORBLUE, LINETHICK1;
DRAWTEXT(CROSS(浮筹,空方),浮筹,' 追'),COLORWHITE;

{主力进场擒黑码如下}

MA5:MA(CLOSE,5)DOTLINE COLORWHITE;
N:=30;
M:=13;
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
RSIF:=90-RSI1,COLOR33DD33;
A4:=((C-LLV(L,33))/(HHV(H,33)-LLV(L,33)))*67;
AAC22:=LLV(LOW,10);
AAC33:=HHV(HIGH,25);
动力线:=EMA((CLOSE-AAC22)/(AAC33-AAC22)*4,4);
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
ABB1:=SMA(RSV,3,1);
ABB2:=SMA(ABB1,3,1);
ABB3:=3*ABB1-2*ABB2;
ABC1:=(LOW+HIGH+CLOSE*2)/4;
ABC2:= MA(ABC1,4);
ABC3:=HHV(ABC2,10);
ABC4:=MA(ABC3,3);
ABC5:=1.25*ABC4-0.25*ABC3;
XKKJ:=IF(ABC5>ABC3,ABC3,ABC5);
ACB1:=LLV(ABC2,10);
ACB2:=MA(ACB1,3);
ACB3:=1.25*ACB2-0.25*ACB1;
DKKJ:=IF(ACB3< ACB1,ACB1,ACB3);
MA13:=MA(C,13);
ZDHM:=CROSS(C,DKKJ) AND CROSS(C,MA13) AND CROSS(C,XKKJ);
ZHM:=CROSS(C,MA13) AND CROSS(C,XKKJ);
DRAWICON((ZDHM OR ZHM),L,13);
STICKLINE((ZDHM OR ZHM),C,O,2,0),COLORMAGENTA;
DRAWTEXT((ZDHM OR ZHM),L,' ★黑马'),COLORYELLOW;
STICKLINE(动力线>0 AND ((ABB3>ABB1 AND ABB3< REF(ABB3,1)) OR ABB3>ABB1),C,O,1,0),COLORGRAY;
STICKLINE(动力线>=0.2 AND 动力线< 0.5 AND ((ABB3>ABB1 AND ABB3< REF(ABB3,1)) OR ABB3>ABB1),C,O,1,0),COLORGRAY;
STICKLINE(动力线>=0.5 AND 动力线< 1.75 AND ((ABB3>ABB1 AND ABB3< REF(ABB3,1)) OR ABB3>ABB1),C,O,1,0),COLORYELLOW;
STICKLINE(动力线>=1.75 AND 动力线< 3.2 AND ((ABB3>ABB1 AND ABB3< REF(ABB3,1)) OR ABB3>ABB1),C,O,1,0),COLORRED;
STICKLINE(动力线>=3.2 AND 动力线< 3.45 AND ((ABB3>ABB1 AND ABB3< REF(ABB3,1)) OR ABB3>ABB1),C,O,1,0),COLORLIRED;
STICKLINE(动力线>=3.45,C,O,1,0) AND ABB3< ABB1,COLORCYAN;
STICKLINE(ABB3< ABB1,C,O,1,0),COLORGREEN;


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图