同花顺买卖点很准源码副图
-
相关简介:三条线以下可以买,发出买入信号即买,稳健则第二天获利即卖,配合周线可长期持股,适合上班族。 //RUNO:=0; RUNO:=1; TJ:=REFX(CLOSE,5)0; 阴跌绵绵:=COUNT(CREF(C,1),12)=8; 动移均价:=DMA(CLOSE,VOL/SUM(VOL,5)); 现价偏离:=CLOSE/动移均价0.92; 回调买入:FILTER(阴跌绵绵 AND 现价偏离 AND CLOSELOW,10),coloryellow; VarA:=LLV(LOW,35); VarB:
-
文章来源:股海网作者:股海网发布时间:2016-07-04浏览次数:
三条线以下可以买,发出买入信号即买,稳健则第二天获利即卖,配合周线可长期持股,适合上班族。
//RUNO:=0;
RUNO:=1;
TJ:=REFX(&CLOSE,5)>0;
阴跌绵绵:=COUNT(C<REF(C,1),12)>=8;
动移均价:=DMA(CLOSE,VOL/SUM(VOL,5));
现价偏离:=CLOSE/动移均价<0.92;
回调买入:FILTER(阴跌绵绵 AND 现价偏离 AND CLOSE>LOW,10),coloryellow;
VarA:=LLV(LOW,35);
VarB:=HHV(HIGH,30);
VarC:=EMA((CLOSE-VarA)/(VarB-VarA)*4,4)*25;
趋势:IF(tj+RUNO,VarC,NULL),ColorFF00FF,linethick2;
VarD:=87.5;
VarE:=(VarC-LLV(VarC,4))/(HHV(VarC,4)-LLV(VarC,4))*4*25;
目标位: DRAWTEXT(IF(CROSS(趋势,VarD) AND VarE=100,50,0),56,'目标'),ColorFF00FF;
跑: DRAWTEXT(IF(CROSS(VarD,趋势) AND (tj+RUNO),87,0),85,'跑'),Color00FF00;
Var6:=(2*C+H+L)/4;
Var8:=LLV(LOW,30);
VarA:=HHV(HIGH,30);
B:=EMA((Var6-Var8)/(VarA-Var8)*100,8);
B1:=EMA(B,5);
STICKLINE(B>0 AND B-B1>=0 AND (tj+RUNO),79,80,6,0),COLOR00FF00;
STICKLINE(B>0 AND B-B1<0 AND (tj+RUNO),79,80,6,0),colorcyan;
STICKLINE(B>0 AND B-B1>=0 AND (tj+RUNO),49,50,6,0),colorred;
STICKLINE(B>0 AND B-B1<0 AND (tj+RUNO),49,50,6,0),colorcyan;
STICKLINE(B>0 AND B-B1>=0 AND (tj+RUNO),19,20,6,0),COLOR00FF00;
STICKLINE(B>0 AND B-B1<0 AND (tj+RUNO),19,20,6,0),colorcyan;
STICKLINE(B-B1>0 AND (tj+RUNO),B,B1,8,1),colorred;
STICKLINE(B-B1<0 AND (tj+RUNO),B,B1,8,1),Color00FF00;
V1:=(2*CLOSE+HIGH+LOW)/4;
V2:=LLV(LOW,21);
VA:=HHV(HIGH,34);
防线B:=EMA((V1-V2)/(VA-V2)*100,13);
防线BB:=EMA((0.667*REF(防线B,1)+0.333*防线B),2);
//战略线:EMA(0.382*REF(防线B,2)+0.618*防线B,12),coloryellow;
//买卖图票.这是另一段代码可以移除
VAR1:=HHV(HIGH,13)-LLV(LOW,13);
VAR2:=HHV(HIGH,13)-CLOSE;
VAR3:=CLOSE-LLV(LOW,13);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:=IF(VAR9>100,VAR9-100,0);
VAR11:=HHV(HIGH,34);
VAR12:=EMA((VAR6-VAR8)/(VAR11-VAR8)*100,13);
VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,2);
VAR14:IF(CROSS(VAR12,VAR13) AND VAR12>VAR13 AND VAR12<18,20,0);
DRAWICON(VAR14>0 AND (tj+RUNO),EMA(VAR13,5),1 );
VAR15:IF(CROSS(VAR13,VAR12) AND VAR12<VAR13 AND VAR12>60,VAR13,88);
STICKLINE((CROSS(VAR13,VAR12) AND VAR12<VAR13 AND VAR12>60) AND (tj+RUNO),VAR13,88,2,1);
DRAWICON(VAR15<88 AND (tj+RUNO),VAR15,2);
顶部:88;
排序:IF(VAR14>0 AND (tj+RUNO),5,0),STICK,colorcyan;
DRAWTEXT_FIX(1,0.01,0.82,0,),colorwhite