通达信【弱转强黄金尾盘】基于当日的走势和盘面信息做出更准确的判断 源码

{弱转强黄金尾源码如下}
ABC1:=LLV(LOW,20);
ABC2:=CLOSE-ABC1;
ABC3:=HHV(HIGH,7);
ABC4:=LLV(LOW,7);
ABC5:=ABC2/(ABC3-ABC4)*100;
ABC6:=SMA(ABC5,7,1);
ABC7:=SMA(ABC6,7,1);
ABC8:=ABC6*3;
ABC9:=ABC7*2;
ABC10:=ABC8-ABC9;
ABC11:=EMA(CLOSE,1);
ABC12:=EMA(CLOSE,3);
ABC13:=ABC11-ABC12;
ABC14:=EMA(ABC13,10);
ABC15:=2*(ABC13-ABC14);
ABC16:=ABC15>0;
ABC17:=HIGH+LOW+CLOSE*2;
ABC18:=DMA(ABC17/4.785,1);
ABC19:=EMA(ABC18,9);
ABC20:=REF(ABC19,1);
ABC21:=CROSS(CLOSE,ABC20);
ABC22:=IF(CODELIKE(1) OR CODELIKE(2),CLOSE>=ZTPRICE(REF(CLOSE,1),0.2) AND CLOSE=HIGH,CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE=HIGH);
ABC23:=IF(CODELIKE(3) OR CODELIKE(4),CLOSE>=ZTPRICE(REF(CLOSE,1),0.2) AND CLOSE=HIGH,CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE=HIGH);
ABC24:=ABC22 AND ABC23;
ABC25:=IF(CODELIKE(1),CLOSE<=DTPRICE(REF(CLOSE,1),0.2) AND CLOSE=LOW,CLOSE<=DTPRICE(REF(CLOSE,1),0.1) AND CLOSE=LOW);
ABC26:=IF(CODELIKE(3),CLOSE<=DTPRICE(REF(CLOSE,1),0.2) AND CLOSE=LOW,CLOSE<=DTPRICE(REF(CLOSE,1),0.1) AND CLOSE=LOW);
ABC27:=ABC25 AND ABC26;
ABC28:=NOT(ABC24) AND NOT(ABC27);
ABC29:=IF(CODELIKE(3),0,1);
ABC30:=IF(CODELIKE(5),0,1);
ABC31:=IF(CODELIKE(6),0,1);
ABC32:=IF(CODELIKE(7),0,1);
ABC33:=IF(CODELIKE(8),0,1);
ABC34:=IF(CODELIKE(9),0,1);
ABC35:=IF(CODELIKE(10),0,1);
ABC36:=IF(CODELIKE(11),0,1);
ABC37:=ABC29 AND ABC30 AND ABC31 AND ABC32 AND ABC33 AND ABC34 AND ABC35 AND ABC36;
弱转强:ABC21 AND ABC10< 52 AND ABC16 AND ABC37 AND ABC28,NODRAW,COLORBLACK;
STICKLINE(弱转强,L,L*0.999,50,0),COLORMAGENTA;
STICKLINE(弱转强,O,C,2,0),COLORYELLOW;
DRAWICON(弱转强,L,25);


{弱转强副图源码如下}

AAA:=IF(CODELIKE('688'),0,1);
BBB:=IF(CODELIKE('8'),0,1);
ABC1:=LLV(LOW,20);
ABC2:=CLOSE-ABC1;
ABC3:=HHV(HIGH,7);
ABC4:=LLV(LOW,7);
ABC5:=ABC2/(ABC3-ABC4)*100;
ABC6:=SMA(ABC5,7,1);
ABC7:=SMA(ABC6,7,1);
ABC8:=ABC6*3;
ABC9:=ABC7*2;
ABC10:=ABC8-ABC9;
ABC11:=EMA(CLOSE,1);
ABC12:=EMA(CLOSE,3);
ABC13:=ABC11-ABC12;
ABC14:=EMA(ABC13,10);
ABC15:=2*(ABC13-ABC14);
ABC16:=ABC15>0;
ABC17:=HIGH+LOW+CLOSE*2;
ABC18:=DMA(ABC17/4.785,1);
ABC19:=EMA(ABC18,9);
ABC20:=REF(ABC19,1);
ABC21:=CROSS(CLOSE,ABC20);
ABC22:=IF(CODELIKE(1) OR CODELIKE(2),CLOSE>=ZTPRICE(REF(CLOSE,1),0.2) AND CLOSE=HIGH,CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE=HIGH);
ABC23:=IF(CODELIKE(3) OR CODELIKE(4),CLOSE>=ZTPRICE(REF(CLOSE,1),0.2) AND CLOSE=HIGH,CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE=HIGH);
ABC24:=ABC22 AND ABC23;
ABC25:=IF(CODELIKE(1),CLOSE<=DTPRICE(REF(CLOSE,1),0.2) AND CLOSE=LOW,CLOSE<=DTPRICE(REF(CLOSE,1),0.1) AND CLOSE=LOW);
ABC26:=IF(CODELIKE(3),CLOSE<=DTPRICE(REF(CLOSE,1),0.2) AND CLOSE=LOW,CLOSE<=DTPRICE(REF(CLOSE,1),0.1) AND CLOSE=LOW);
ABC27:=ABC25 AND ABC26;
ABC28:=NOT(ABC24) AND NOT(ABC27);
ABC29:=IF(CODELIKE(3),0,1);
ABC30:=IF(CODELIKE(5),0,1);
ABC31:=IF(CODELIKE(6),0,1);
ABC32:=IF(CODELIKE(7),0,1);
ABC33:=IF(CODELIKE(8),0,1);
ABC34:=IF(CODELIKE(9),0,1);
ABC35:=IF(CODELIKE(10),0,1);
ABC36:=IF(CODELIKE(11),0,1);
ABC37:=ABC29 AND ABC30 AND ABC31 AND ABC32 AND ABC33 AND ABC34 AND ABC35 AND ABC36;
弱转强:ABC21 AND ABC10< 52 AND ABC16 AND ABC37 AND ABC28 AND AAA AND BBB COLORMAGENTA;
DRAWICON(弱转强,1,25);


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

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

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

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