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

把黄色买点改为盘中预警

2019/12/3 19:16:57

公式编写说明:

VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;STICKLINE(VAR19,L,L*0.98,3,0),COLORYELLOW;VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;STICKLINE(VAR1A,H*1.01,H,3,0),COLOR00FF00{98FD};XXMA:MA(C,5),COLORWHITE;DD5:=XXMA<REF(XXMA,1);IF(DD5,XXMA,DRAWNULL),COLOR00FF00;X:=(3*C+L+O+H)/6;多空线:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+REF(X,20))/210,COLORFF00FF,LINETHICK1;{用法:黄托底买进,绿压顶买出。}DD:=多空线<REF(多空线,1);IF(DD,多空线,DRAWNULL),COLORBLUE,LINETHICK3;A:=(XXMA>多空线);IF(A,多空线,DRAWNULL),COLORYELLOW,POINTDOT;A1:=(XXMA<多空线);IF(A1,多空线,DRAWNULL),COLORWHITE;V1:=CLOSE*VOL;V2:=EMA(V1,13)/EMA(VOL,13);CYS:=(EMA((CLOSE-V2)/V2,1)*100);AA:=CYS;MIDD:=MA(CYS,20);CC:=MIDD+0.85*STD(CYS,10);TM6:=AA>CC;IF(TM6,XXMA,DRAWNULL),COLORRED,LINETHICK2;请问 老师可以把图中的黄色买点改为盘中预警啊 谢谢老师 辛苦啦

公式源码回答:

 var1:=c>ref(c,1) and c>ref(c,2);

var2:=ref(var1,1) and c<=ref(c,1) and c>=ref(c,2);
var3:=ref(var2,1) and c>=ref(c,1) and c<=ref(c,2);
var4:=ref(var3,1) and c<=ref(c,1) and c>=ref(c,2);
var5:=ref(var4,1) and c>=ref(c,1) and c<=ref(c,2);
var6:=ref(var5,1) and c<=ref(c,1) and c>=ref(c,2);
var7:=ref(var6,1) and c>=ref(c,1) and c<=ref(c,2);
var8:=ref(var7,1) and c<=ref(c,1) and c>=ref(c,2);
var9:=ref(var8,1) and c>=ref(c,1) and c<=ref(c,2);
vara:=ref(var9,1) and c<=ref(c,1) and c>=ref(c,2);
varb:=ref(vara,1) and c>=ref(c,1) and c<=ref(c,2);
varc:=ref(varb,1) and c<=ref(c,1) and c>=ref(c,2);
vard:=c<ref(c,1) and c<ref(c,2);
vare:=ref(vard,1) and c>=ref(c,1) and c<=ref(c,2);
varf:=ref(vare,1) and c<=ref(c,1) and c>=ref(c,2);
var10:=ref(varf,1) and c>=ref(c,1) and c<=ref(c,2);
var11:=ref(var10,1) and c<=ref(c,1) and c>=ref(c,2);
var12:=ref(var11,1) and c>=ref(c,1) and c<=ref(c,2);
var13:=ref(var12,1) and c<=ref(c,1) and c>=ref(c,2);
var14:=ref(var13,1) and c>=ref(c,1) and c<=ref(c,2);
var15:=ref(var14,1) and c<=ref(c,1) and c>=ref(c,2);
var16:=ref(var15,1) and c>=ref(c,1) and c<=ref(c,2);
var17:=ref(var16,1) and c<=ref(c,1) and c>=ref(c,2);
var18:=ref(var17,1) and c>=ref(c,1) and c<=ref(c,2);
黄:ref(vard or vare or varf or var10 or var11 or var12 or var13 or
var14 or var15 or var16 or var17 or var18,1) and var1;

投股票 网 w ww.tou18.cn

股市公式下载推荐
投股票网股市查询:资金行情查询 实时DDX查询 大智慧超赢 千股千评 最新提示 股票公告 投资要点 评级查询 股东查询 增发配股查询 股权结构查询
江苏索普 600746+2.83% 评股 实时DDX 大智慧 最新消息 题材分析 股权
国盛金控 002670+2.83% 评股 实时DDX 大智慧 最新消息 题材分析 股权
云涌科技 688060+2.82% 评股 实时DDX 大智慧 最新消息 题材分析 股权
深科达 688328+2.82% 评股 实时DDX 大智慧 最新消息 题材分析 股权
雪榕生物 300511+2.82% 评股 实时DDX 大智慧 最新消息 题材分析 股权
卧龙电驱 600580+2.81% 评股 实时DDX 大智慧 最新消息 题材分析 股权
四创电子 600990+2.80% 评股 实时DDX 大智慧 最新消息 题材分析 股权
廊坊发展 600149+2.80% 评股 实时DDX 大智慧 最新消息 题材分析 股权
捷成股份 300182+2.80% 评股 实时DDX 大智慧 最新消息 题材分析 股权
吉翔股份 603399+2.79% 评股 实时DDX 大智慧 最新消息 题材分析 股权
联系我们:nmsy8@hotmail.com 友情链接 要求相关的财经股票网站 今日股市行情在线查询
本站不推荐任何股票,站内广告不代表投股票网的观点,由此引起的一切法律责任均与本站无关,请网民自行判断真假,谨防网上股票预测诈骗!
本站所有内容仅供参考,不构成投资建议,据此操作,风险自担。本站不为所提供数据的错误或因依此信息所采取的任何行为负责。
手机版(手机访问当前页面) | 手机APP下载 | 电脑端(适合电脑或大屏用户) | 备案号:沪ICP备2024045114号-120