保险操盘(通达信公式 副图 源码 测试图)

[复制链接]
查看27 | 回复0 | 2022-6-27 16:29:06 | 显示全部楼层 |阅读模式

 保险操盘++

主力:(((CLOSE - MA(LLV(LOW,40),40)) / MA(LLV(LOW,40),40)) * 100),COLORF0F000;
AA:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*1000;
BB:=MA(AA,10);
CC:=(((CLOSE - LLV(LOW,26)) / (HHV(HIGH,26) - LLV(LOW,26))) * 100);
DD:=EMA(SMA(20*(DMA(C,2.5*MAX(IF(V/CAPITAL=0,V/700000000,V/CAPITAL),
1.1*(MAX(H,REF(C,1))/MIN(L,REF(C,1))-1)))/REF(DMA(C,2.5*MAX(IF(V/CAPITAL=0, 
V/800000000,V/CAPITAL),1.1*(MAX(H,REF(C,1))/MIN(L,REF(C,1))-1))),1)-1),2,1),2);
趋势:SMA(BB,3,1)/10,LINETHICK1,COLORRED;
判势:SMA(CC,32,1)-20,COLOR00FF00,LINETHICK1;
论坛:DRAWTEXT(CROSS(趋势,判势),趋势+10,'买↑入'),LINETHICK2,COLORWHITE;
建仓:DRAWTEXT(CROSS(判势,趋势),判势,'建↑仓'),LINETHICK2,COLORYELLOW;
加码:DRAWTEXT(CROSS(主力,判势),判势-10,'加▲码'),LINETHICK2,COLORRED;
持仓区:IF(DD>=0.005,100,107),COLORYELLOW;
空仓区:IF(DD<=-0.005,100,107),COLORFF0000;
变盘:IF(BETWEEN(DD,0.005,-0.005),100,108),COLORFF00FF ,LINETHICK2;
{注:REF 为向前引用,引用若干周期前的数据。}; 
 

2021112301480816.png

2021112301480816.png

20211122595645278.rar

2.1 KB, 下载次数: 0

售价: 2 金钱  [记录]  [购买]

20211122595645278.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则