当前位置: 网站首页 > 股票软件公式 > 同花顺公式 > 文章 当前位置: 同花顺公式 > 文章

同花顺源码:牛牛牛熊线,短线精品,激战法卡山

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

1、牛牛牛熊线

要想生活过得去,头上必须带点绿

股海无涯小散泪,心中不知该恨谁
 
t:=63;
d:=13;
z:=3;
智:EMA(CLOSE,T) - EMA(CLOSE,D),coloryellow,LINETHICK3;
诵:EMA(智,Z),colorwhite,LINETHICK2;
多头分界线:0,COLORFF00FF,LINETHICK5,POINTDOT;
STICKLINE(智>诵,智,诵,5,0),colorred;



2、短线精品

///出现白色柱子为关注区域,之后绿线继续上翘,白色柱子消失,为买入机会。一般来说,有一定的跌幅,
///均线之间举例疏散为宜。当趋势线在高位运行,出现白色柱子,控制仓位,适当减仓,走平后即将死叉卖出。
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
短线:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00;
中线:SMA(RSV2,5,1)+2*STD(CLOSE,37),colorred;
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
长线:SMA(RSV3,5,1),coloryellow;
看底:STICKLINE(中线<15,中线,15,6,0),COLORF00FF0;
黄金坑:STICKLINE(短线<20 AND 中线<20 AND 长线<20,MAX(长线,MAX(短线,中线)),20,8,0),COLOR00CCFF;
看顶:STICKLINE(中线>80,80,中线,6,0),COLORFFF000;
DRAWICON(CROSS(长线,15),中线,1);
DRAWTEXT(LONGCROSS(中线,20,15),20,'追涨');
DRAWTEXT(CROSS(短线,长线)AND 长线<18 AND 长线>REF(长线,1)OR CROSS(长线,5),20,'千载难逢');
粘合星:DRAWTEXT(ABS(中线-长线)<2 AND 中线>REF(中线,1),中线,'*');
中线2:=-100*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40));
底:DRAWTEXT(CROSS(中线2,-90) AND (长线<中线 AND 长线>REF(长线,1)OR 短线<20 AND 中线<20 AND 长线<20),长线,'底'),COLORFF00FF;
IF(COUNT(CROSS(中线2,-90),12)=3,30,5);
IF(COUNT(CROSS(-5,中线2),12)=3 OR COUNT(CROSS(-15,中线2),6)=3,70,100);
///
HSL:=EMA(VOL/CAPITAL,3);
ZDL:=HHV(HSL,240);
ZXL:=LLV(HSL,240);
XS:=MA(C,33);
锁定筹码:EMA((HSL-ZXL)/ZXL*XS,13);
浮动筹码:EMA((ZDL-HSL)/HSL*XS,13);
///
VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1)/30;
VAR4:=EMA(VAR3,5);
VAR5:=3*VAR3-2*VAR4;
AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,13);
VAR8:=HHV(HIGH,13);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
STICKLINE(VAR9>VARA,VAR9,VARA,3,0), colormagenta;
STICKLINE(VAR9<=VARA,VAR9,VARA,3,0), coloryellow;
STICKLINE(AA,0,10,3,0),colorblue;
你:=MA(CLOSE,1);
老:=(LOW+HIGH+CLOSE)/3;
板:= MA(老,5);
好:= HHV(板,10);
老板:= MA(老,5);
买卖:=LLV(老板,10);
短买奇准:IF(LLV((你<买卖),10),50,0),colorwhite;
TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);
神偷线:=(((DMP ) * 100) / TR);
辅助线:=((DMM * 100) / TR);
动向趋势线:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));
ADXR:=((动向趋势线 + REF(动向趋势线,3)) / 2);
万:=MA(LOW,1);
事:=MA(HIGH,2);
如:=MA(CLOSE,2);
意:=REF(如,1);
【强弱】:=((SMA(MAX((如 - 意),0),5,1) / SMA(ABS((如 -意)),5,1)) * 100);
BIAS1:=MA((CLOSE-MA(CLOSE,13))/MA(CLOSE,13),3)*100,colorwhite;
BIAS3:=MA((CLOSE-MA(CLOSE,27))/MA(CLOSE,27),3)*100,COLORFF00FF,LINETHICK2;
操作区:IF(BIAS3<0,BIAS3,0),COLOR00EE00,LINETHICK1;
观望区:IF(BIAS3>0,BIAS3,0),colorgreen,LINETHICK1;
见底:IF(BIAS3<-15,10,0),LINETHICK1,coloryellow;
抄底:IF(COUNT(BIAS3<0,8)>=8 AND COUNT(BIAS3>0,34)>13 AND COUNT(BIAS3<0,55)>30,15,0),LINETHICK3;
var1:=REF(CLOSE,1);
var2:=SMA(MAX(CLOSE-var1,0),7,1)/SMA(ABS(CLOSE-var1),7,1)*100,coloryellow;
var21:IF(var2<20,40,20),colorred;
var22:IF(var2>80,60,80),COLORFFFF50;
var2↑:STICKLINE(FILTER(REF(var2,1)<20 AND var2>REF(var2,1),5),20,40,8,0),colorred;
var2↓:STICKLINE(FILTER(REF(var2,1)>80 AND var2<REF(var2,1),5),60,80,8,0),COLORFFFF50;
80,colorgreen;
20,colorgreen;
BIAS1:=MA((CLOSE-MA(CLOSE,13))/MA(CLOSE,13),3)*100,colorwhite;
BIAS3:=MA((CLOSE-MA(CLOSE,27))/MA(CLOSE,27),3)*100,COLORFF00FF,LINETHICK1;
操作区:IF(BIAS3<0,BIAS3,0),COLOR00EE00,LINETHICK2;
观望区:IF(BIAS3>0,BIAS3,0),COLORFF00FF,LINETHICK2;
见底:IF(BIAS3<-15,10,0),LINETHICK2,coloryellow;
抄底:IF(COUNT(BIAS3<0,8)>=8 AND COUNT(BIAS3>0,34)>13 AND COUNT(BIAS3<0,55)>30,15,0),LINETHICK1;
N:=5;
VAR01:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),coloryellow,LINETHICK0;
VAR02:8,colorgreen,LINETHICK0;
上升在即: IF(CROSS(VAR01,VAR02),80,0),STICK,COLOR0000CC,LINETHICK2;
专吸庄血: IF(VAR01<=8,25,0),STICK,colorwhite,LINETHICK2;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓区: IF((VARO7<10),80,100) ,COLOR00CCFF,LINETHICK1;
0,LINETHICK2 ,COLORFFCC00;
 



3、激战法卡山,有买卖提示( 顶尖财经 股票学院: http://www.58188.com )

Var1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;

Var2:=SMA(Var1,7,1);

法卡山: SMA(Var2,5,1);

我军: IF(CROSS(Var2,法卡山) AND Var2<20,80,10), , ;

敌军: IF(CROSS(Var1,75),30,80);

上一篇:同花顺公式下载:股神降临,史丹顶底,短线终结者

下一篇:同花顺源码:擒牛控鹤三线粘合,抄底ABC,预测抄底