六十均线战法[大智慧公式]
相关标签:
{N:1,100,7;}
VAR1:=100-((90)*(HHV(HIGH,21)-CLOSE))/(HHV(HIGH,21)-LLV(LOW,21));
VAR2:=100-((90)*(HHV(HIGH,21)-CLOSE))/(HHV(HIGH,21)-LLV(LOW,21));
VAR3:=100-MA(((100)*(HHV(HIGH,6)-CLOSE))/(HHV(HIGH,6)-LLV(LOW,6)),34);
DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW)*(0.998),1),CoLor00FFFF;
六十均线战法:MA(CLOSE,60),CoLor0000FF;
STICKLINE((CLOSE>=六十均线战法) AND (CLOSE>=OPEN),CLOSE,OPEN,7,0),CoLor0000FF;
STICKLINE((CLOSE>=六十均线战法) AND (CLOSE>=OPEN),HIGH,LOW,0,0),CoLor0000FF;
STICKLINE((CLOSE>=六十均线战法) AND (CLOSE<OPEN),CLOSE,OPEN,7,1),CoLor0000FF;
STICKLINE((CLOSE>=六十均线战法) AND (CLOSE<OPEN),OPEN,HIGH,0,0),CoLor0000FF;
STICKLINE((CLOSE>=六十均线战法) AND (CLOSE<OPEN),CLOSE,LOW,0,0),CoLor0000FF;
STICKLINE((CLOSE<六十均线战法) AND (CLOSE>OPEN),CLOSE,OPEN,7,1),CoLorFFFF00;
STICKLINE((CLOSE<六十均线战法) AND (CLOSE<=OPEN),CLOSE,OPEN,7,1),CoLorFFFF00;
STICKLINE((CLOSE<六十均线战法) AND (CLOSE<=OPEN),HIGH,LOW,0,1),CoLorFFFF00;
STICKLINE((CLOSE<六十均线战法) AND (CLOSE>OPEN),CLOSE,HIGH,0,1),CoLorFFFF00;
STICKLINE((CLOSE<六十均线战法) AND (CLOSE>OPEN),OPEN,LOW,0,1),CoLorFFFF00;
DD:=1;
SS:=7;
FF:=18;
GG:=33;
HH:=39;
MA1:=(LOW+HIGH+CLOSE)/(3);
MA2:=MA(MA1,2);
上线:HHV(MA2,20),Linethick2,CoLor00FFFF;
下线:LLV(MA2,20),Linethick2,CoLorFFFFFF;
操作线:MA(CLOSE,8),Linethick2,CoLor00FF00;
套牢线:HHV((HIGH)*(0.98),55),Linethick2,CoLor0000FF;
成本线:MA(CLOSE,18),CoLorFFFFFF;
均线:DMA(CLOSE,(VOL)/(CAPITAL)),CoLorFF00FF;
DRAWTEXT(CROSS(REF(ZIG(3,19),1),ZIG(3,19)),(HIGH)*(1.01),'日本◆鬼子'),CoLor00FFFF;
DRAWTEXT(CROSS(ZIG(3,19),REF(ZIG(3,19),1)),(LOW)*(0.96),'持久战'),Linethick2,CoLorFFFFFF;
AR3:=LLV(HIGH,240);
VAR4:=((100)*(CLOSE-VAR3))/(VAR3);
VAR5:=((CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528)))*(100);
VAR6:=((CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530)))*(100);
VAR7:=0;
VAR8:=((MA(HHV(CLOSE-REF(CLOSE,1),0),34))/(MA(ABS(CLOSE-REF(CLOSE,1)),7)))*(100);
VAR9:=((MA(HHV(CLOSE-REF(CLOSE,1),0),13))/(MA(ABS(CLOSE-REF(CLOSE,1)),13)))*(100);
VARA:=BARSCOUNT(CLOSE);
VARB:=(VAR8<20) AND (VAR9<23) AND (VARA>35);
VARC:=VARB AND (COUNT(VARB,1)=1);
VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);
VARE:=EMA(VARD,5);
VARF:=(TROUGH(3,6,1)<4) AND CROSS(VARD,VARE);
VAR10:=IF((TROUGH(3,16,1)=0) AND (HIGH>LOW+0.04),4,0);
VAR11:=(ZIG(3,6)>REF(ZIG(3,6),1)) AND (REF(ZIG(3,6),1)<=REF(ZIG(3,6),2)) AND
(REF(ZIG(3,6),2)<=REF(ZIG(3,6),3));
VAR12:=(ZIG(3,6)<REF(ZIG(3,6),1)) AND (REF(ZIG(3,6),1)>=REF(ZIG(3,6),2)) AND
(REF(ZIG(3,6),2)>=REF(ZIG(3,6),3));
VAR13:=(ZIG(3,22)>REF(ZIG(3,22),1)) AND (REF(ZIG(3,22),1)<=REF(ZIG(3,22),2)) AND
(REF(ZIG(3,22),2)<=REF(ZIG(3,22),3));
VAR14:=(ZIG(3,22)<REF(ZIG(3,22),1)) AND (REF(ZIG(3,22),1)>=REF(ZIG(3,22),2)) AND
(REF(ZIG(3,22),2)>=REF(ZIG(3,22),3));
VAR15:=(ZIG(3,51)>REF(ZIG(3,51),1)) AND (REF(ZIG(3,51),1)<=REF(ZIG(3,51),2)) AND
(REF(ZIG(3,51),2)<=REF(ZIG(3,51),3));
VAR16:=(ZIG(3,51)<REF(ZIG(3,51),1)) AND (REF(ZIG(3,51),1)>=REF(ZIG(3,51),2)) AND
(REF(ZIG(3,51),2)>=REF(ZIG(3,51),3));
VAR17:=(ZIG(3,72)>REF(ZIG(3,72),1)) AND (REF(ZIG(3,72),1)<=REF(ZIG(3,72),2)) AND
(REF(ZIG(3,72),2)<=REF(ZIG(3,72),3));
VAR18:=(ZIG(3,72)<REF(ZIG(3,72),1)) AND (REF(ZIG(3,72),1)>=REF(ZIG(3,72),2)) AND
(REF(ZIG(3,72),2)>=REF(ZIG(3,72),3));
VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR1D:=SQRT(SQRT((((LOW)*(HIGH))*(OPEN))*(CLOSE)));
VAR1E:=EMA((VAR1D)*(0.97),3);
VAR1F:=(HIGH+LOW+CLOSE)/(3);
VAR20:=(VAR1F-MA(VAR1F,14))/((0.015)*(AVEDEV(VAR1F,14)));
VAR21:=CROSS(VAR1E,LOW);
买点1:=VAR10;
买点2:=VAR11+VAR13+VAR15+VAR17;
卖点1:=VAR12+VAR14+VAR16+VAR18;
VAR22:=买点1 AND VARF AND VARC AND VAR21 AND (VAR4<0) AND (VAR5=0) AND
(VAR6=0) AND (VAR20<(-110));
VAR222:=MA(CLOSE,10);
VAR31:=MA(CLOSE,30);
VARB1:=(SUM(((CLOSE)*(VOL))*(100),28))/(SUM((VOL)*(100),28));
VARC1:=(INTPART((VARB1)*(100)))/(100);
VARD1:=EMA(CLOSE,5)-EMA(CLOSE,10);
VARE1:=EMA(VARD1,9);
VAR131:=REF(VARE1,1);
VAR141:=VARE1;
VAR151:=VAR141-VAR131;
VAR161:=REF(VARD1,1);
VAR171:=VARD1;
{说明:
上线:是散户跟风盘的一条线。
操作线:是机构持仓成本线。
厚德载福线:是普通的60日均价线。
下线:是中户,大户,特大户平均持仓成本线。
持久战与抗日快跑有未来函数会消失,需看股价处于底位或高位,结合各指标综合研判。
不要用一个指标来买卖,要综合研判,中线买点,卖点有未来函数其余没有未来函数,要特别注意!!!
第一天抗日需要等待第二天的确认,当股价回档出现第二次抗日时为买入信号[但不要以一个指标为买卖依据,要综合各指标及大盘走势来研判,要看清庄家的位置,在什么地方,庄家二次探底是为了走的更远。 }
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容