最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 公式技巧 > 选股公式,公式要求: 公式1:5天金叉10天时公式2由绿变红

选股公式,公式要求: 公式1:5天金叉10天时公式2由绿变红

来源:网络 点击: 时间:2023-01-05 13:41:14

编写要求:

请老师帮忙作个选股公式,公式要求: 公式1:5天金叉10天时公式2由绿变红。谢谢 公式1 均5:MA(CLOSE,5), COLOR0000FF; 均10:MA(CLOSE,10) ,COLOR00FF00; VARC:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100; DRAWICON(CROSS(82,VARC),HIGH,2); VAR6:=REF(C,1); VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100; DRAWTEXT(CROSS(84,VAR7),H*1.01,'▲逃庄'),COLORGREEN ; VAR32:=CLOSE/REF(CLOSE, 1)>=1.062 AND HIGH/CLOSE<1.005 AND MA(CLOSE, 90)/CLOSE>=1.150; VAR33:=VAR32 AND COUNT(VAR32, 20)=1 ; VAR34:=(INDEXC-REF(INDEXC, 1))/REF(INDEXC, 1); VAR35:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1); VAR36:=IF(VAR34>0.010, 0.900, 1) AND IF(VAR34>(-0.025), 1, 1.200); VAR37:=VAR36*(VAR35-VAR34)*100; VAR38:=SUM(VAR37, 10); VAR39:=SMA(VAR38, 40, 1); VAR310:=VAR38>20; VAR311:=CROSS(CLOSE, MA(CLOSE*1.055, 3)) AND CLOSE>OPEN*1.060 AND VOL>=REF(VOL, 1)*1.5 AND CLOSE>=MA(CLOSE, 10); VAR312:=VAR310 AND VAR311 ; VAR313:=(-100)*(HHV(HIGH, 3)-CLOSE)/(HHV(HIGH, 3)-LLV(LOW, 3)); VAR314:= CROSS(VAR313, (-87)) AND OPEN=1.090*REF(CLOSE, 1) AND INDEXC>0.980*REF(INDEXC, 1) AND CLOSE<=1.470*LLV(CLOSE, 58); VAR315:=EMA(CLOSE, 12)-EMA(CLOSE, 26); VAR316:=EMA(VAR315, 9); VAR317:=2*(VAR315-VAR316); VAR318:=(CLOSE-LLV(LOW, 9))/(HHV(HIGH, 9)-LLV(LOW, 9))*100; VAR319:=SMA(VAR318, 3, 1); VAR320:=SMA(VAR319, 3, 1); VAR321:=EMA(IF(VAR316>REF(VAR316, 1), 1, (-1)), 14)*14; VAR322:=EMA(IF(VAR320>REF(VAR320, 1), 1, (-1)), 14)*14*2; VAR323:=(MA(CLOSE, 5)/MA(CLOSE, 70)-1)*100; VAR324:=(VAR323+VAR322+VAR321)/3; VAR325:=MA(CLOSE, 80)-MA(CLOSE, 10)/3; VAR326:=IF(CLOSE AND MA(VOL, 5)/240 AND CLOSE>REF(CLOSE, 1)*1.0 AND CLOSE,88,0);{VAR38>VAR39;} VAR327:=IF(CLOSE/REF(CLOSE, 1)>1.050 AND VOL/CAPITAL*100<10 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND VAR326>0, 91, 0); VAR328:=IF(VAR324>REF(VAR324, 1) AND REF(VAR324, 1)0 OR VAR327>0, 85, 0); VAR329:=IF(VAR327>0 ,95,0), STICK,LINETHICK2; VAR330:=IF(VAR326>0 OR VAR327>0,91,0), STICK,LINETHICK2; VAR331:=IF(VAR328>0 OR VAR327>0 OR VAR326>0,88,0), STICK,LINETHICK2; VAR332:=100*(CLOSE-LLV(LOW,42))/(HHV(HIGH,42)-LLV(LOW,42)),LINETHICK1,COLORGREEN; VAR333:=COUNT(MA(CLOSE,3)>REF(MA(CLOSE,3),1),1)=1; VAR334:=(VAR332<93 AND VAR333 AND MAX(MAX(VAR329, VAR330), VAR331))*100; STICKLINE(VAR327>90,LOW*0.99,LOW*0.95,2,0),COLORYELLOW; DRAWTEXT(VAR327>90,LOW*0.95,'杀庄'),COLORYELLOW; DRAWICON(VAR310>0 AND VAR327=0,HIGH*1.01,5); 公式2 VAR1:=(HHV(HIGH,8)-LLV(LOW,8)); VAR2:=(HHV(HIGH,8)-CLOSE); VAR3:=(CLOSE-LLV(LOW,8)); VAR4:=VAR2/VAR1*100-70 ; VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; VAR6:=(2*C+H+L)/4; VAR7:=SMA((VAR3/VAR1*100),3,1); VAR8:=LLV(LOW,30); VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1); VAR10:= IF(VAR9>100,VAR9-100,0); VARA:=HHV(HIGH,30); B:EMA((VAR6-VAR8)/(VARA-VAR8)*100,8),COLORRED; B1:=EMA(B,5); STICKLINE(B>0 AND B-B1>=0,79,80,6,0),COLORRED; STICKLINE(B>0 AND B-B1<0,79,80,6,0),COLOR00FF00; STICKLINE(B>0 AND B-B1>=0,49,50,6,0),COLORRED; STICKLINE(B>0 AND B-B1<0,49,50,6,0),COLORFF8899; STICKLINE(B>0 AND B-B1>=0,19,20,6,0),COLORRED; STICKLINE(B>0 AND B-B1<0,19,20,6,0),COLOR00FF00; STICKLINE(B-B1>0,B,B1,8,1),COLORRED; STICKLINE(B-B1<0,B,B1,8,1),COLOR00FF00;

解答:

?VAR1:=(HHV(HIGH,8)-LLV(LOW,8));

VAR3:=(CLOSE-LLV(LOW,8));

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

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

    Top