飞狐智慧之家副图指标
-
相关简介:飞狐智慧之家副图指标 源码 F:=18; STICKLINE(110,10,110,10,0),ColorFF9000; STICKLINE(90,10,90,10,0),ColorFF8000; STICKLINE(70,10,70,10,0),ColorFF7000; STICKLINE(50,10,50,10,0),ColorFF5500; STICKLINE(30,0,30,10,0),ColorFF4000; STICKLINE(10,(-10),10,10,0),ColorFF000
-
文章来源:股海网作者:股海网发布时间:2016-05-15浏览次数:
飞狐智慧之家副图指标
源码
F:=18;
STICKLINE(110,10,110,10,0),ColorFF9000;
STICKLINE(90,10,90,10,0),ColorFF8000;
STICKLINE(70,10,70,10,0),ColorFF7000;
STICKLINE(50,10,50,10,0),ColorFF5500;
STICKLINE(30,0,30,10,0),ColorFF4000;
STICKLINE(10,(-10),10,10,0),ColorFF0000;
50,ColorFF5500;
VAR1:=(3)*(SMA(((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75)))*(100),20,1))-(2)*(SMA(SMA(((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75)))*(100),20,1),15,1));
VAR2:=(3)*(SMA(((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75)))*(100),20,1))-(2)*(SMA(SMA(((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75)))*(100),20,1),15,1));
VAR3:=(3)*(SMA(((HIGH-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75)))*(100),20,1))-(2)*(SMA(SMA(((HIGH-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75)))*(100),20,1),15,1));
VAR4:=(3)*(SMA(((LOW-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75)))*(100),20,1))-(2)*(SMA(SMA(((LOW-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75)))*(100),20,1),15,1));
STICKLINE((VAR1>=REF(VAR2,1)),VAR1,VAR2,8,0),Color0000FF;
STICKLINE((VAR1>=REF(VAR2,1)),VAR2,VAR4,0.80000001,0),Color0000FF;
STICKLINE((VAR1>=REF(VAR2,1)),VAR1,VAR3,0.80000001,0),Color0000FF;
STICKLINE((VAR1<REF(VAR2,1)),VAR1,VAR2,8,0),Color00FF00;
STICKLINE((VAR1<REF(VAR2,1)),VAR3,VAR4,0.80000001,0),Color00FF00;
VARC:=(ZIG(2,P)>REF(ZIG(2,P),1)) AND (REF(ZIG(2,P),1)<REF(ZIG(2,P),2));
VARD:=(ZIG(1,P)<REF(ZIG(1,P),1)) AND (REF(ZIG(1,P),1)>REF(ZIG(1,P),2));
相逢:IF((VARC)*(30),20,(-10)),ColorFFFFFF;
朋友:IF((VARD)*(80),90,110),ColorFFFF00;
DRAWICON(VARC,(VARC)*(30),3),Color0000FF;
DRAWICON(VARD,(VARD)*(90),1),Color008000;
DRAWTEXT(VARC,(VARC)*(8),'相 逢'),Color00FFFF;
DRAWTEXT(VARD,(VARD)*(105),'朋 友'),Color00FFFF;
DRAWTEXT(CROSS(VAR1,70) AND FILTER(CROSS(VAR1,70),20),80,'让我们一起'),ColorFFFFFF;
DRAWTEXT(CROSS(VAR1,70) AND FILTER(CROSS(VAR1,70),20),65,'攀登高峰!'),ColorFFFFFF;
上一篇:飞狐私募操盘精品指标
下一篇:飞狐智慧导弹副图指标