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

同花顺源码:底顺买点二+操盘线+发财线段

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

底顺买点二:

N:=9;M1:=3;M2:=3;P:=9;

RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1),colorred,LINETHICK2;
D:=SMA(K,M2,1),COLOR00FF00;
JJ:=P*(3*D-2*K),COLOR00FF00;
J:=((3 * K) - (2 * D));
MAIRU:=  CROSS(K,D) AND K<20;
MAICHU:= CROSS(D,K) AND D>80;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
吸筹:STICKLINE(VAR9>-120,0,VAR9,6,1),COLORF00FF0;
快线:(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,COLORFF937F;
慢线:SMA(快线,M1,1),colorred,LINETHICK2;
空:SMA(慢线,M2,1),COLOR00FF00;
牛股:IF(BARSLAST(CROSS(慢线,空))<P AND BARSLAST(CROSS(空,慢线))<P AND CROSS(慢线,空) AND 慢线<20,90,0),STICK,COLORFF937F;
STICKLINE(牛股,0,90,6,1),LINETHICK4,STICK,COLORFF937F;
BB:=IF(BARSLAST(CROSS(慢线,快线))>=3 AND CROSS(快线,慢线) AND 慢线<30,20,0);
买:STICKLINE(BB,0,20,7,1),coloryellow;
AA:=IF(BARSLAST(CROSS(快线,慢线))>=4 AND CROSS(慢线,快线) AND 快线>50,20,0);
卖:STICKLINE(AA,80,100,7,1),COLOR00FF00;




操盘线:

★与庄共舞:STRLEFT('★★',68),COLOR33CCCC;

同花顺操盘手:IF(1>10,HIGH*1.03,DRAWNULL),POINTDOT,LINETHICK9,COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=60,0.001,0.05,0,'【一个好的买点是等出来的,而卖货也要等一下,后面一般会有更好的价钱,不要急于操作!】'),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=60,0.001,0.09,0,'【顺势而为 盆满钵满】'),COLOR33CCCC;
MA5:MA(CLOSE,5),LINETHICK1,colorwhite;
MA10:MA(CLOSE,10),LINETHICK1,coloryellow;
MA20:MA(CLOSE,20),LINETHICK1,colormagenta;
MA30:MA(CLOSE,30),LINETHICK1,colorcyan;
MA120:MA(CLOSE,120),LINETHICK1,colorgreen;
益盟操盘线:IF(1>10,HIGH*1.03,DRAWNULL),POINTDOT,LINETHICK9,coloryellow;
买线:=EMA(C,4);
卖线:=EMA(SLOPE(C,20)*10+C,35);
DRAWICON(CROSS(买线,卖线),LOW*0.999,1);
DRAWICON(CROSS(卖线,买线),HIGH*1.002,2);
STICKLINE(买线>=卖线,LOW,HIGH,0,0),colorlired;
STICKLINE(买线>=卖线,CLOSE,OPEN,9,2),colorlired;
DRAWTEXT(CLOSE/OPEN>1.08,LOW,' ');
STICKLINE(买线<卖线,LOW,HIGH,0,0),colorcyan;
STICKLINE(买线<卖线,CLOSE,OPEN,9.8,2),colorcyan;
STICKLINE(OPEN>CLOSE,CLOSE,OPEN,7.8,0),colorcyan;
 



发财线段 --股票,外汇,期货都适用(顶尖财经 股票学院: www.58188.com):

AA:ZIG(3,5)+0.5,COLOR338800,linethick2;

GG:=EMA(AA,2);
BB:ZIG(3,10),COLOREEDD00,linethick2;
HH:=EMA(BB,2);
//DD:C,COLORFFFF00;
DRAWICON(CROSS(AA,GG),L,"BUY");
DRAWICON(CROSS(GG,AA),H,"SELL")
 

上一篇:同花顺源码:换手率趋势战法+趋势顶底王

下一篇:同花顺源码:追板板指标+多空精准主图