晓得通道[其他软件公式]
相关标签:
原理解析:
来源:程序化99( WWW.CXH99.COM )
源码:
VAR1A:=BARSCOUNT(CLOSE);
VAR2A:=HHV(HIGH,200);
VAR3A:=LLV(LOW,200);
VAR4A:=(VAR2A-VAR3A)/200;
VAR5A:=HIGH+VAR4A;
STICKLINE(VAR1A/30=FLOOR(VAR1A/30),VAR5A,VAR5A+3*VAR4A,8,0);
STICKLINE(VAR1A/30=FLOOR(VAR1A/30),VAR5A,VAR5A+2*VAR4A,7,0);
VAR7A:=REF(CLOSE-OPEN,2);
VAR8A:=REF(CLOSE,1);
VAR9A:=REF(CLOSE,2);
VARAA:=REF(CLOSE,3);
VARBA:=REF(CLOSE,4);
VARCA:=MAX(MAX(MAX(CLOSE,VAR8A),VAR9A),VARAA);
VARDA:=MIN(MIN(MIN(CLOSE,VAR8A),VAR9A),VARAA);
持股:STICKLINE(CLOSE=VARCA AND (VAR8A>=VAR9A OR VAR8A>=VARAA) OR VAR8A=VARCA AND (VAR9A=VARDA OR VARAA=VARDA) AND CLOSE>=VAR9A OR VAR9A=VARCA AND VARAA=VARDA AND CLOSE>=VAR8A OR VARAA=VARCA AND CLOSE>=VAR8A AND CLOSE>=VAR9A,VAR8A,CLOSE,5,1),colorFF;
变盘:STICKLINE(CLOSE=VARCA AND VAR8A=VARDA,VAR9A,CLOSE,5,1),colorFF00FF;
下跌:STICKLINE(CLOSE=VARDA AND (VAR8A<VAR9A OR VAR8A<VARAA) OR VAR8A=VARDA AND (VAR9A=VARCA OR VARAA=VARCA) AND CLOSE<VAR9A OR VAR9A=VARDA AND VARAA=VARCA AND CLOSE<VAR8A OR VARAA=VARDA AND CLOSE<VAR8A AND CLOSE<VAR9A,VAR8A,CLOSE,5,0),colorFFFF;
买:STICKLINE(VAR8A=VARCA AND CLOSE=VARDA,VAR9A,CLOSE,5,0),colorFF00;
STICKLINE(VAR8A=VARDA AND CLOSE>=VAR9A OR (VAR9A=VARDA AND VAR8A<=VARAA OR VARAA=VARDA AND VAR8A<=VAR9A) AND VAR9A<VARBA AND CLOSE>=VAR8A,VAR8A,VAR9A,5,0);
抛:STICKLINE(VAR8A=VARCA AND CLOSE<VAR9A OR (VAR9A=VARCA AND VAR8A>VARAA OR VARAA=VARCA AND VAR8A>VAR9A) AND VAR9A>=VARBA AND CLOSE<VAR8A,VAR8A,VAR9A,5,1),colorFFFF00;
均5:MA(CLOSE,5),colorFFFF;
均10:MA(CLOSE,10),colorFF00FF;
均20:MA(CLOSE,20),colorFF00;
均32:MA(CLOSE,32),colorFF;
均60:MA(CLOSE,60),POINTDOT,LINETHICK2,colorFFFF00;
通道上:均32+2*STD(CLOSE,60),POINTDOT,LINETHICK2,colorFF6633;
通道下:均32-2*STD(CLOSE,60),POINTDOT,LINETHICK2,colorFF99;
VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,34);
VAR3:=MA(CLOSE,60);
VARA:=REF(CLOSE,1);
VARE:=(SMA(MAX(CLOSE-VARA,0),6,1))/(SMA(ABS(CLOSE-VARA),6,1))*100;
DRAWTEXT(CROSS(84,VARE),HIGH,'☆止赢'),colorFF00;
VARF:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,34);
VAR5:=HHV(HIGH,34);
VAR6:=EMA((VARF-VAR4)/(VAR5-VAR4)*100,6);
VAR7:=EMA(0.667*REF(VAR6,1)+0.333*VAR6,4);
VAR8:=LLV(LOW,120);
VAR9:=HHV(HIGH,120);
VAR10:=VAR9-VAR8;
DRAWTEXT(IF((COUNT(CLOSE<REF(CLOSE,1),8))/8>0.3 AND COUNT(VAR6>VAR7,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),LOW,'出击'),colorFFFF;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容