压箱底公式 持股持币指标源码[通达信公式]
相关标签: 压箱底公式,持股持币指标源码,牵牛线指村公式,最牛股票主图指标公式, 通达信分时主图指标,布林通道主图指标,
压箱底公式 持股持币指标源码:
MA3:=MA(C,3);
YTSL:=(3*C+L+O+H)/6;
辰星线:(20*YTSL+19*ref(YTSL,1)+18*ref(YTSL,2)+17*ref(YTSL,3)+16*ref(YTSL,4)+15*ref(YTSL,5)+14*ref(YTSL,6)+13*ref(YTSL,7)+12*ref(YTSL,8)+11*ref(YTSL,9)+10*ref(YTSL,10)+9*ref(YTSL,11)+8*ref(YTSL,12)+7*ref(YTSL,13)+6*ref(YTSL,14)+5*ref(YTSL,15)+4*ref(YTSL,16)+3*ref(YTSL,17)+2*ref(YTSL,18)+ref(YTSL,20))/211,COLORFFFF00;
牵牛线:MA(C,26),COLOR669933;
等待:IF(MA3<=辰星线,牵牛线,DRAWNULL),COLORGREEN,LINETHICK2;
中轨:=MA(C,26);
上轨:=中轨+STD(C,20);
下轨:=中轨-STD(C,20);
上极限:(中轨+2*STD(C,20)),COLORFF937F,LINETHICK2;
下极限:(中轨-2*STD(C,20)),COLORWHITE,LINETHICK2;
急速超跌:=(C-MA(C,34))/MA(C,34)*100<-14;
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));
DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW.CXH99.COM '),COLORRED;
持股:IF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,辰星线,DRAWNULL),COLORRED,POINTDOT,LINETHICK5;
VARD:=(C<ref(C,1) AND C<ref(C,2));{本文来源:' www.cxh9.com' }
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));
持币:IF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,辰星线,DRAWNULL),COLORLIGRAY,POINTDOT,LINETHICK5;
VAR19:=((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);
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);
DRAWTEXT(VAR19,L,'←短买'),COLOR33FFCC;
DRAWTEXT(VAR1A,H+0.1,'←离场'),COLORFF99FF;
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 262069696 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容