投股票网 www.tou18.cn [今日股市行情 股市在线查询 股票大盘行情] 股市有风险 投资需谨慎 手机APP下载 | 手机访问 | 加入收藏 | 保存到桌面
投股票网
今日股市行情 股市在线查询 股票大盘行情
个股查询: 资金行情 DDX查询 大智慧超赢 同花顺DDE 千股千评 最新提示 股票公告 投资要点 评级查询 大小非 股东 增发配股 股权 高管 股票概况
当前位置: 投股票网 > 股市公式下载 > 公式问题
股市公式查询:

将【K值20以下】加入下一个公式

2019/12/17 19:04:41

公式编写说明:

请老师帮忙将【K值20以下】用独立的‘紫色箭头’加入第二个公式,谢谢!!!!!! 【K值20以下】公式: AA:"KDJ.K"<20; 第二个公式原码: VAR01:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),15,1);VAR02:=HIGH-REF(HIGH,5);VAR03:=REF(LOW,5)-LOW;VAR04:=SMA(IF(VAR02>0 AND VAR02>VAR03,VAR02,0),15,1);VAR05:=SMA(IF(VAR03>0 AND VAR03>VAR02,VAR03,0),15,1);VAR06:=LLV(LOW,27);VAR07:=HHV(HIGH,34);VAR08:=EMA((CLOSE-VAR06)/(VAR07-VAR06)*4,4)*25;VAR09:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);提示买入:IF(VAR09<=8,8,0),STICK,COLORWHITE,LINETHICK2;买入:IF(CROSS(VAR09,8),110,0),STICK,COLOR0000CC,LINETHICK2;DRAWTEXT(CROSS(VAR09,8),105,''),COLORWHITE;VAR10:=MA(C,2)>REF(MA(C,2),1);VAR11:=MA(C,10)>MA(C,20);VAR12:=(CLOSE*2+HIGH+LOW)/4;VAR13:=EMA(VAR12,12)-EMA(VAR12,50);VAR14:=EMA(VAR13,2);VAR15:=(CROSS(VAR13,VAR14) AND VAR13<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(VAR13,VAR14) AND VAR13<=-0.14 ) OR (CROSS(VAR13,VAR14) AND VAR13<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) AND VAR10 AND VAR11;STICKLINE(VAR15>0,60,110,2,0),COLORRED;DRAWTEXT(VAR15,90,''),COLORYELLOW;VAR16:=REF(LOW,1);VAR17:=(SMA(ABS(LOW-VAR16),13,1))/(SMA(MAX(LOW-VAR16,0),13,1))*100;VAR18:=MA(VAR17,13);VAR19:=LLV(LOW,34);VAR20:=EMA(IF(LOW<=VAR19,VAR18,0),3);VAR21:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1);VAR22:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-VAR21*10.9;VAR23:=FILTER(IF(VAR22<=VAR21 AND VAR20>REF(VAR20,1),VAR20*8,0),20);DRAWTEXT(VAR23,35,'←洗盘'),COLORGREEN;STICKLINE(VAR23=1,35,110,2,0),COLORGREEN;VAR24:=3;VAR25:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1)) - (2)*(SMA(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1));买点:IF((VAR25<=3),15,0),COLORYELLOW,LINETHICK2;补仓:IF((VAR25<5),10,0),COLORRED,LINETHICK2;VAR26:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;VAR27:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR28:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR29:=VAR27<REF(VAR28,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);VAR30:=(HIGH+LOW+CLOSE)/3;VAR31:=(VAR30-MA(VAR30,14))/(0.015*AVEDEV(VAR30,14));VAR32:=(VAR30-MA(VAR30,70))/(0.015*AVEDEV(VAR30,70));VAR33:=IF(VAR31>=150 AND VAR31<200 AND VAR32>=150 AND VAR32<200,10,0);VAR34:=IF(VAR31<=-150 AND VAR31>-200 AND VAR32<=-150 AND VAR32>-200,-10,VAR33);VAR35:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR36:=100-ABS(VAR35);VAR37:=IF(VAR36<90,VAR36,100);VAR38:=IF(VAR26>0,VAR26,0);VAR39:=IF(VAR32>=200 AND VAR31>=150,15,IF(VAR32<=-200 AND VAR31<=-150,-15,VAR34))+60;VAR40:=VAR38>60 AND VAR39>70 AND VAR37<100;VAR41:=((CLOSE-MA(CLOSE,18))/MA(CLOSE,18)*100+(CLOSE-MA(CLOSE,90))/MA(CLOSE,90)*100+(CLOSE-MA(CLOSE,72))/MA(CLOSE,72)*100)/3;DRAWTEXT(VAR29 AND COUNT(VAR29,30)=1,70,'←筹码进'),COLORMAGENTA;STICKLINE(VAR29 AND COUNT(VAR29,30)=1,60,110,2,0),COLORMAGENTA;DRAWTEXT(VAR40 AND COUNT(VAR40,30)=1,35,'←逃'),COLORCYAN;STICKLINE(VAR40 AND COUNT(VAR40,30)=1,50,110,2,0),COLORCYAN; DRAWTEXT(FILTER(VAR41<-9 AND VAR41>REF(VAR41,1),78),55,'←买'),COLORWHITE;STICKLINE(FILTER(VAR41<-9 AND VAR41>REF(VAR41,1),78),30,110,2,0),COLORWHITE; 快:=COUNT(CLOSE>REF(CLOSE,2),4)/4*100;慢:=COUNT(CLOSE>REF(CLOSE,2),6)/6*100;关注:IF(快=0 AND 慢=0,10,0),COLORCYAN,LINETHICK2;DRAWTEXT(CROSS(关注,1),20,''),COLORRED;DRAWTEXT(CROSS(LAST(关注,5,1),0.8),17,'低'),COLORYELLOW;RSV1:=(HHV(H,9.8)-C)/(HHV(H,9.8)-LLV(L,9.8))*101;KK:=SMA(RSV1,3,1);DD:=SMA(KK,3,1);JJ:=3*KK-2*DD;买卖:=IF(JJ>=100,100,IF(JJ<=0,0,JJ));

公式源码回答:

 VAR01:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),15,1);

VAR02:=HIGH-REF(HIGH,5);
VAR03:=REF(LOW,5)-LOW;
VAR04:=SMA(IF(VAR02>0 AND VAR02>VAR03,VAR02,0),15,1);
VAR05:=SMA(IF(VAR03>0 AND VAR03>VAR02,VAR03,0),15,1);
VAR06:=LLV(LOW,27);
VAR07:=HHV(HIGH,34);
VAR08:=EMA((CLOSE-VAR06)/(VAR07-VAR06)*4,4)*25;
VAR09:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
提示买入:IF(VAR09<=8,8,0),STICK,colorwhite,LINETHICK2;
买入:IF(CROSS(VAR09,8),110,0),STICK,COLOR0000CC,LINETHICK2;
DRAWTEXT(CROSS(VAR09,8),105,''),colorwhite;
VAR10:=MA(C,2)>REF(MA(C,2),1);
VAR11:=MA(C,10)>MA(C,20);
VAR12:=(CLOSE*2+HIGH+LOW)/4;
VAR13:=EMA(VAR12,12)-EMA(VAR12,50);
VAR14:=EMA(VAR13,2);
VAR15:=(CROSS(VAR13,VAR14) AND VAR13<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) 
OR (CROSS(VAR13,VAR14) AND VAR13<=-0.14 ) OR (CROSS(VAR13,VAR14) AND VAR13<=0.05 
AND  (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) AND VAR10 AND VAR11;
STICKLINE(VAR15>0,60,110,2,0),colorred;
DRAWTEXT(VAR15,90,''),coloryellow;
VAR16:=REF(LOW,1);
VAR17:=(SMA(ABS(LOW-VAR16),13,1))/(SMA(MAX(LOW-VAR16,0),13,1))*100;
VAR18:=MA(VAR17,13);
VAR19:=LLV(LOW,34);
VAR20:=EMA(IF(LOW<=VAR19,VAR18,0),3);
VAR21:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1);
VAR22:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-VAR21*10.9;
VAR23:=FILTER(IF(VAR22<=VAR21 AND VAR20>REF(VAR20,1),VAR20*8,0),20);
DRAWTEXT(VAR23,35,'←洗盘'),colorgreen;
STICKLINE(VAR23=1,35,110,2,0),colorgreen;
VAR24:=3;
VAR25:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1)) - (2)*(SMA(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1));
买点:IF((VAR25<=3),15,0),coloryellow,LINETHICK2;
补仓:IF((VAR25<5),10,0),colorred,LINETHICK2;
VAR26:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VAR27:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR28:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR29:=VAR27<REF(VAR28,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
VAR30:=(HIGH+LOW+CLOSE)/3;
VAR31:=(VAR30-MA(VAR30,14))/(0.015*AVEDEV(VAR30,14));
VAR32:=(VAR30-MA(VAR30,70))/(0.015*AVEDEV(VAR30,70));
VAR33:=IF(VAR31>=150 AND VAR31<200 AND VAR32>=150 AND VAR32<200,10,0);
VAR34:=IF(VAR31<=-150 AND VAR31>-200 AND VAR32<=-150 AND VAR32>-200,-10,VAR33);
VAR35:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VAR36:=100-ABS(VAR35);
VAR37:=IF(VAR36<90,VAR36,100);
VAR38:=IF(VAR26>0,VAR26,0);
VAR39:=IF(VAR32>=200 AND VAR31>=150,15,IF(VAR32<=-200 AND VAR31<=-150,-15,VAR34))+60;
VAR40:=VAR38>60 AND VAR39>70 AND VAR37<100;
VAR41:=((CLOSE-MA(CLOSE,18))/MA(CLOSE,18)*100+(CLOSE-MA(CLOSE,90))/MA(CLOSE,90)*100+(CLOSE-MA(CLOSE,72))/MA(CLOSE,72)*100)/3;
DRAWTEXT(VAR29 AND COUNT(VAR29,30)=1,70,'←筹码进'),colormagenta;
STICKLINE(VAR29 AND COUNT(VAR29,30)=1,60,110,2,0),colormagenta;
DRAWTEXT(VAR40 AND COUNT(VAR40,30)=1,35,'←逃'),colorcyan;
STICKLINE(VAR40 AND COUNT(VAR40,30)=1,50,110,2,0),colorcyan; 
DRAWTEXT(FILTER(VAR41<-9 AND VAR41>REF(VAR41,1),78),55,'←买'),colorwhite;
STICKLINE(FILTER(VAR41<-9 AND VAR41>REF(VAR41,1),78),30,110,2,0),colorwhite; 
快:=COUNT(CLOSE>REF(CLOSE,2),4)/4*100;
慢:=COUNT(CLOSE>REF(CLOSE,2),6)/6*100;
关注:IF(快=0 AND 慢=0,10,0),colorcyan,LINETHICK2;
DRAWTEXT(CROSS(关注,1),20,''),colorred;
DRAWTEXT(CROSS(LAST(关注,5,1),0.8),17,'低'),coloryellow;
RSV1:=(HHV(H,9.8)-C)/(HHV(H,9.8)-LLV(L,9.8))*101;
KK:=SMA(RSV1,3,1);
DD:=SMA(KK,3,1);
JJ:=3*KK-2*DD;
买卖:=IF(JJ>=100,100,IF(JJ<=0,0,JJ));
K低:("KDJ.K"<20)*20,COLORFF00FF,LINETHICK2;

投股票 网 ww w.tou18.cn

股市公式下载推荐
投股票网股市查询:资金行情查询 实时DDX查询 大智慧超赢 千股千评 最新提示 股票公告 投资要点 评级查询 股东查询 增发配股查询 股权结构查询
得邦照明 603303+2.71% 评股 实时DDX 大智慧 最新消息 题材分析 股权
岳阳林纸 600963+2.71% 评股 实时DDX 大智慧 最新消息 题材分析 股权
东方铁塔 002545+2.70% 评股 实时DDX 大智慧 最新消息 题材分析 股权
宏发股份 600885+2.68% 评股 实时DDX 大智慧 最新消息 题材分析 股权
西菱动力 300733+2.68% 评股 实时DDX 大智慧 最新消息 题材分析 股权
XD南京银 601009+2.68% 评股 实时DDX 大智慧 最新消息 题材分析 股权
东材科技 601208+2.67% 评股 实时DDX 大智慧 最新消息 题材分析 股权
雅克科技 002409+2.66% 评股 实时DDX 大智慧 最新消息 题材分析 股权
中源协和 600645+2.66% 评股 实时DDX 大智慧 最新消息 题材分析 股权
光电股份 600184+2.66% 评股 实时DDX 大智慧 最新消息 题材分析 股权
联系我们:nmsy8@hotmail.com 友情链接 要求相关的财经股票网站 今日股市行情在线查询
本站不推荐任何股票,站内广告不代表投股票网的观点,由此引起的一切法律责任均与本站无关,请网民自行判断真假,谨防网上股票预测诈骗!
本站所有内容仅供参考,不构成投资建议,据此操作,风险自担。本站不为所提供数据的错误或因依此信息所采取的任何行为负责。
手机版(手机访问当前页面) | 手机APP下载 | 电脑端(适合电脑或大屏用户) | 备案号:沪ICP备2024045114号-120