最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 公式技巧 > 把极品指标中出现“买入股票”时改为选股公式

把极品指标中出现“买入股票”时改为选股公式

来源:网络 点击: 时间:2022-12-16 21:04:18

编写要求:

将出现“买入股票”时改为选股公式。 .V1:=(C*2+H+L)/4*10; V2:=EMA(V1,13)-EMA(V1,34); V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5; 主力撤: IF(V4<=0,V4,0),COLORBLUE; 主力进: IF(V4>=0,V4,0),COLORFF00FF; V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8; V6:=EMA(3*V5-2*SMA(V5,18,1),5); V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10; V8:=(INDEXC*2+INDEXH+INDEXL)/4; V9:=EMA(V8,13)-EMA(V8,34); VA:=EMA(V9,3); VB:=(V9-VA)/2; 大盘资金进场:IF(VB>=0,VB,0),COLORRED; 大盘资金撤走:IF(VB<=0,VB,0),COLORGREEN; V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1); 趋势线: EMA(V11,3); V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100; 准备现金: STICKLINE(趋势线<=13,0,20,5,0),COLORCC9900; AA:=(趋势线<=13) AND FILTER((趋势线<=13),15); DRAWTEXT (AA,30,'准备现金'),COLORCC9900; 买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),COLOR0099FF; BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10) ; DRAWTEXT (BB,60,'买入股票'),COLOR0099FF; 卖临界: STICKLINE(趋势线>90 AND 趋势线>REF(趋势线,1),100,95,15,1),COLORFFFF00; 见顶清仓:FILTER(趋势线>90 AND 趋势线=90 AND V12) AND FILTER((趋势线>=90 AND V12),10); STICKLINE(大盘资金进场 AND 趋势线<13,0,30,10,0),COLORRED; STICKLINE(大盘资金撤走 AND 趋势线>90,0,30,10,0),COLORGREEN; STICKLINE(主力进 AND 趋势线<13,0,40,10,0),COLORFF00FF; STICKLINE(主力撤 AND 趋势线>90,0,40,10,0),COLORBLUE; A1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL/CAPITAL*100,IF(CLOSE20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0); A3:=SUM((IF(((成交额/8>20) AND (CLOSE<(REF(CLOSE,1)))),成交额,0)),0); A4:=SUM((IF(((成交额/8<20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0); A5:=SUM((IF(((成交额/8<20) AND (CLOSE<(REF(CLOSE,1)))),成交额,0)),0); A6:=((A2+A3)+A4)+A5; A7:=IF((ISLASTBAR),((100*A2)/A6),0); A8:=IF((ISLASTBAR),((100*A3)/A6),0); A9:=IF((ISLASTBAR),((100*A4)/A6),0); A10:=IF((ISLASTBAR),((100*A5)/A6),0); 增减仓%:A1; 机构买盘:(A2),LINETHICK6,COLORRED; 机构卖盘:(A3),LINETHICK6,COLOR00FF00; 机构进出:机构买盘-机构卖盘,NODRAW; 散户买盘:(A4),COLOR5555FF;{细红线} 散户卖盘:(A5),COLORFFFF55;{细绿线} 强势:((100*A2)/A6>50); STICKLINE(强势,机构买盘*1.02,机构买盘*1.1,1,0),COLORYELLOW; 拉升:((100*A2)/A6-(100*A3)/A6)>18 AND (100*A2)/A6-(100*A5)/A6>18; STICKLINE(拉升,机构买盘*1.1,机构买盘*1.2,1,0),COLORFF00FF; DRAWTEXT(ISLASTBAR=1,机构买盘*0.95,'●机构买盘'),LINETHICK2,COLORRED; DRAWTEXT(ISLASTBAR=1,机构卖盘*0.95,'○机构卖盘'),LINETHICK2,COLORFFFF55; DRAWTEXT(机构进出>0 AND REF(机构进出,1)<=0,机构买盘*1.02,'●机买'),COLORRED; DRAWTEXT(机构进出<0 AND REF(机构进出,1)>=0,机构买盘*0.98,'○机卖'),COLOR00FF00;

解答:

?V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);

趋势线:=EMA(V11,3);

    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top