趋势轨道[其他软件公式]
相关标签:轨道线被突破说明趋势反转 、 威海轨道一号线站点 、 突破轨道线标志着趋势可能 、 轨道一号线路线 、 如何正确的画趋势线 、 通达信趋势轨道 、 期货趋势线的正确画法 、 股票趋势线的正确画法 、 下降趋势线的正确画法 、 轨道线的正确画法步骤 、 macd趋势线的正确画法 、 excel趋势线公式 、
趋势轨道
原理解析:
来源:程序化99( WWW.CXH99.COM )
源码:
AC:=CLOSE;
AH:=HIGH;
AL:=LOW;
AO:=OPEN;
STICKLINE(AC>=AO,AH,AC,1,0),color8899;
STICKLINE(AC>=AO,AH,AC,0,0),color77FFEE;
STICKLINE(AC>=AO,AO,AL,1,0),color8899;
STICKLINE(AC>=AO,AO,AL,0,0),color77FFEE;
STICKLINE(AC>AO,AC,AO,8,0),color8899;
STICKLINE(AC>AO,AC,AO,7,0),color1199AA;
STICKLINE(AC>AO,AC,AO,6,0),color22AABB;
STICKLINE(AC>AO,AC,AO,5,0),color33BBCC;
STICKLINE(AC>AO,AC,AO,4,0),color44CCDD;
STICKLINE(AC>AO,AC,AO,3,0),color55DDEE;
STICKLINE(AC>AO,AC,AO,2,0),color66EEEE;
STICKLINE(AC>AO,AC,AO,1,0),color77FFEE;
STICKLINE(AC<=AO,AH,AC,1,0),colorFF8800;
STICKLINE(AC<=AO,AH,AC,0,0),colorFFFF33;
STICKLINE(AC<=AO,AO,AL,1,0),colorFF8800;
STICKLINE(AC<=AO,AO,AL,0,0),colorFFFF33;
STICKLINE(AC<=AO,AC,AO,8,0),colorFF8800;
STICKLINE(AC<=AO,AC,AO,7,0),colorFF9900;
STICKLINE(AC<=AO,AC,AO,6,0),colorFFAA11;
STICKLINE(AC<=AO,AC,AO,5,0),colorFFBB11;
STICKLINE(AC<=AO,AC,AO,4,0),colorFFCC22;
STICKLINE(AC<=AO,AC,AO,3,0),colorFFDD22;
STICKLINE(AC<=AO,AC,AO,2,0),colorFFEE33;
STICKLINE(AC<=AO,AC,AO,1,0),colorFFFF33;
V1:=MA(HIGH,30)*1.15;
V2:=MA(HIGH,3)*1.03;
V3:=MA(LOW,3)*0.97;
V4:=MA(LOW,30)*0.85;
小通道上:FFT(V2,30);
小通道下:FFT(V3,30);
A2:=小通道上-REF(小通道上,1);
A3:=小通道下-REF(小通道下,1);
PARTLINE(A2>0,小通道上),LINETHICK2,colorFF;
K:A2>0 AND REF(A2<0,1),LINETHICK0;
K1:A3>0 AND REF(A3<0,1),LINETHICK0;
K2:CLOSE<小通道下 AND HIGH<小通道下,LINETHICK0;
K3:CLOSE<小通道下 AND A3>0,LINETHICK0;
K4:HIGH<小通道下 AND A3>0,LINETHICK0;
PARTLINE(A2=0,小通道上),LINETHICK1,colorFFFFFF;
PARTLINE(A2<0,小通道上),LINETHICK1,colorFF00;
PARTLINE(A3>0,小通道下),LINETHICK2,colorFF;
PARTLINE(A3=0,小通道下),LINETHICK1,colorFFFFFF;
PARTLINE(A3<0,小通道下),LINETHICK1,colorFF00;
V1:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
HY1:=REF(EMA(V1,3),1);
HY2:=EMA(HY1,5);
明警点:HY1,LINETHICK0,colorFF00;
FILLRGN(1,HY1,HY1*1.005),colorFFFF66;
FILLRGN(HY1>HY2,HY1,HY1*1.005),colorFF;
FILLRGN(1,HY2,HY2*0.995),colorFF99CC;
VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;
DRAWTEXT(IF(CLOSE<VF1 AND VOL/240>MA(VOL,5)/240 AND CLOSE>=REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'☆'),colorFF;
VARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
VARB:=EMA(0.667*REF(VARA,1)+0.333*VARA,5);
DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(VARA>=VARB AND VARA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'猎庄'),colorFFFF;
VARR1:=(SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE-REF(CLOSE,1)),6,1))*100;
DRAWTEXT(CROSS(84,VARR1),HIGH,'卖'),colorFF00;
VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
VAR2:=REF(VAR1,1);
VAR3:=(SMA(MAX(VAR1-VAR2,0),10,1))/(SMA(ABS(VAR1-VAR2),10,1))*100;
HY3:=IF((COUNT(VAR3<20,5))>=1 AND (COUNT(VAR1=LLV(VAR1,10),10))>=1 AND CLOSE>=OPEN*1.033 AND VOL>MA(VOL,5)*1.2,1,0);
DRAWTEXT(HY3,LOW,'买'),colorFF00FF;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,谢谢您!)
相关文章
-
没有相关内容