通达信【量价寻黑马】主副图指标 源码分享

ABC3:=LLV(HIGH,240);
ABC4:=100*(CLOSE-ABC3)/ABC3;
ABC5:=REF(LLV(CLOSE,480),1);
ABC6:=REF(HHV(CLOSE,480),1);
ABC7:=100*(CLOSE-ABC5)/(ABC6-ABC5);
ABC8:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100;
ABC9:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100;
ABCA:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100;
ABCB:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100;
ABCC1:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5);
ABCC:=ABCC1/4;
ABCD:=IF(ABCC>23.6,ABCC,0);
ABCE:=ABCC< 1;
ABCF:=ABCD;
ABC10:=ABC4< ABC7 AND ABC4< 0;
ABC11:=1;
ABC12:=(HIGH+LOW+CLOSE*2)/4*ABC11;
ABC13:=EMA(ABC12,21);
ABC14:=STD(ABC12,21);
ABC15:=((ABC12-ABC13)/ABC14*100+200)/4*ABC11;
ABC161:=EMA(ABC15,89);
ABC16:=(ABC161-25)*1.56*ABC11;
ABC171:=EMA(ABC16,5);
ABC17:=ABC171*1.22*ABC11;
ABC181:=EMA(ABC17,3);
ABC18:=ABC181*ABC11;
ABC19:=3*ABC17-2*ABC18*ABC11;
ABC1A:=IF(CROSS(ABC19,ABC17)AND CROSS(ABC19,ABC18)AND CROSS(ABC17,ABC18),1,0);
ABC1B:=IF(CROSS(ABC17,ABC19)AND CROSS(ABC18,ABC19)AND CROSS(ABC18,ABC17),1,0);
ABC1C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4;
ABC1D1:=EMA(CLOSE,2);
ABC1D2:=EMA(CLOSE,89);
ABC1D:=ABC1D1-ABC1D2;
ABC1E:=EMA(ABC1D,30);
ABC1F:=(ABC1D-ABC1E)*20;
ABC20:=POW(ABC1F,3)*0.1+POW(ABC1F,2);
ABC21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
ABC22:=EMA(ABC21*0.97,3);
ABC23:=(HIGH+LOW+CLOSE)/3;
ABC24:=(ABC23-MA(ABC23,14))/(0.015*AVEDEV(ABC23,14));
ABC25:=IF(ABC1F>0.015,ABC20,0)/45;
主升线:=ABC25;
ABC261:=EMA(CLOSE,2);
ABC262:=EMA(CLOSE,150);
ABC26:=ABC261-ABC262;
ABC27:=EMA(ABC26,100);
ABC28:=2*(ABC26-ABC27);
ABC29:=POW(ABC28,3)*0.1+POW(ABC28,1);
ABC2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
ABC2B:=EMA(ABC2A*0.97,3);
ABC2C:=(HIGH+LOW+CLOSE)/3;
ABC2D:=(ABC2C-MA(ABC2C,14))/(0.015*AVEDEV(ABC2C,14));
黑马线:=IF(ABC28>0.1,ABC29,0)*5,LINETHICK2;
量价线:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100,LINETHICK2;
常数线:=0;
偏移:=(H,10);
观察:=MA(H,10);
DRAWICON(LONGCROSS(偏移,观察,1),L*0.9975,1);
DRAWICON(LONGCROSS(观察,偏移,1),H*1.0025,2);
MA5:MA(CLOSE,5) COLORMAGENTA;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
XG:=MACD>0;
DRAWICON(CROSS(量价线,黑马线)AND XG,L,26);
STICKLINE(CROSS(量价线,黑马线)AND XG,O,C,2.2,0),COLORRED;
量价排列:=主升线>黑马线 AND 量价线;
黑马:=BARSLASTCOUNT(量价排列)=1;
STICKLINE(黑马,O,C,2.2,0),COLORYELLOW;
DRAWICON(黑马,L*0.98,9);



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

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

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

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