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

同花顺源码精选:牛股起步LY,超准超短副图,超准短线买卖

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

1、牛股起步LY

//牛股起步LY

N3:=4;N4:=6;
快:COUNT(CLOSE>REF(CLOSE,2),N3)/N3*100,colorgreen;
慢:COUNT(CLOSE>REF(CLOSE,2),N4)/N4*100,colorred;
买入: IF(REF(慢,1)=慢 AND REF(快,1)>快 AND 快=0,100,0),colorred,linethick1;
DRAWTEXT( 买入 AND REF(买入 ,1)=0,100,'明');
关注: IF(慢=0 AND 快=0,60,0),colorred,linethick1;
DRAWTEXT( 关注 AND REF(关注 ,1)=0,60,'关注'),colorred;
0,colorgray;
100;
VAR8:=VOL>2*MA(VOL,30);
VAR9:="DMI.ADX"(10,6);
VARA:="DMI.ADXR"(10,6);
VARB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;
VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
VARE:=0-"MACD.DIFF"(7,21,3);
VARF:=TROUGHBARS(3,15,1)<4;
VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
VAR11:=IF(VARF=1,50,0);
多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),colorwhite;
0,colorred;
STICKLINE(FILTER(VARF=1,5) AND 多空<-10,50,0,15,0),colorf00ff0;
STICKLINE(FILTER(VARF=1,5),50,0,8,0),coloryellow;
DRAWTEXT(FILTER(VARF=1,3),25,'主力潜伏'),colorred ;
STICKLINE(多空<-10,0,多空,0.85,0),coloryellow;
STICKLINE(多空>10,0,多空,0.95,0),colorred;
 


2、超准超短副图

//超准超短
//每日点位判断,点击指标说明,超准六件套,底部哪里跑。超准超短
MAV:=(C*2+H+L)/4;
SK:=EMA(MAV,8) - EMA(MAV,30);
SD:=EMA(SK,10);
空方控盘:=(-2*(SK-SD))*3,colorblue,LINETHICK3;
空方:=(-2*(SK-SD))*3,coloryellow,LINETHICK1;
多方控盘:=(2*(SK-SD))*3,colorred,LINETHICK3;
强弱分界线:=0,DOTLINE;
MACD:(2*(SK-SD))*3,colorwhite,LINETHICK1;
进场:IF(多方控盘>REF(多方控盘,1),多方控盘,DRAWNULL),COLORFF00FF,LINETHICK3;
观望:IF(多方控盘<REF(多方控盘,1),多方控盘,DRAWNULL),COLOR00FF00,LINETHICK3;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD,0,4,0),color007546;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD*0.9,0,4,0),color008C54,LINETHICK5;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD*0.8,0,4,0),color00A664,LINETHICK5;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD*0.7,0,4,0),color00BF73,LINETHICK5;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD*0.6,0,4,0),color00D982,LINETHICK5;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD*0.5,0,4,0),color00EA8C,LINETHICK5;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD*0.4,0,4,0),color02FF9A,LINETHICK5;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD*0.3,0,4,0),color00F9F9,LINETHICK5;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD*0.2,0,4,0),color37FFFF,LINETHICK5;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD*0.1,0,4,0),color6FFFFF,LINETHICK5;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),MACD,0,4,0),color6000BF,LINETHICK5;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),MACD*0.9,0,4,0),color6C00D9,LINETHICK5;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),MACD*0.8,0,4,0),color7800F0,LINETHICK5;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),MACD*0.7,0,4,0),color8000FF,LINETHICK5;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),MACD*0.6,0,4,0),color9A35FF,LINETHICK5;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),MACD*0.5,0,4,0),colorAF60FF,LINETHICK5;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),MACD*0.4,0,4,0),colorBC79FF,LINETHICK5;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),MACD*0.3,0,4,0),colorCA95FF,LINETHICK5;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),MACD*0.3,0,4,0),colorD5AAFF,LINETHICK5;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),MACD*0.2,0,4,0),colorE0C1FF,LINETHICK5;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),MACD*0.1,0,4,0),colorECD9FF,LINETHICK5;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD,0,4,0),color009100,LINETHICK5;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD*0.9,0,4,0),color00A600,LINETHICK5;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD*0.8,0,4,0),color00BB00,LINETHICK5;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD*0.7,0,4,0),color00DB00,LINETHICK5;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD*0.6,0,4,0),color00EC00,LINETHICK5;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD*0.5,0,4,0),color28FF28,LINETHICK5;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD*0.4,0,4,0),color53FF53,LINETHICK5;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD*0.3,0,4,0),color79FF79,LINETHICK5;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD*0.2,0,4,0),color93FF93,LINETHICK5;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD*0.1,0,4,0),colorA6FFA6,LINETHICK5;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),MACD,0,4,0),colorAE00AE,LINETHICK5;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),MACD*0.9,0,4,0),colorD200D2,LINETHICK5;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),MACD*0.8,0,4,0),colorE800E8,LINETHICK5;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),MACD*0.7,0,4,0),colorff00ff,LINETHICK5;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),MACD*0.6,0,4,0),colorFF44FF,LINETHICK5;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),MACD*0.5,0,4,0),colorFF77FF,LINETHICK5;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),MACD*0.4,0,4,0),colorFF8EFF,LINETHICK5;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),MACD*0.3,0,4,0),colorFFA6FF,LINETHICK5;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),MACD*0.2,0,4,0),colorFFBFFF,LINETHICK5;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),MACD*0.1,0,4,0),colorFFD0FF,LINETHICK5;
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100;
相对强弱:=0.5*RSI1+0.31*RSI2+0.19*RSI3;
WAVE1:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),3,1);
WAVE2:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),5,1);
WAVE3:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),8,1);
短线波段:=0.5*WAVE1+0.31*WAVE2+0.19*WAVE3;
机会区:=20,POINTDOT,colorred;
风险区:=80,POINTDOT,colorgreen;
上涨系数:=0.5*相对强弱+0.5*短线波段,coloryellow;
CD1:=IF(上涨系数<20 AND CLOSE>OPEN,1,0);
CD2:=IF(上涨系数<20 AND LOW>=REF(LOW,1) AND CLOSE>LOW,1,0);
CD3:=IF(REF(上涨系数,1)<20 AND 上涨系数>REF(上涨系数,1),1,0);
LBUY:=(CD1=1 OR CD2=1 OR CD3=1);
X:=(LBUY AND COUNT(LBUY,3)=1);
DRAWICON(X,强弱分界线,1);
〖每日实战分享〗:STRLEFT('股 民 学 院 www.58188.net',100),colorwhite;



3、超准短线买卖

///超准短线买卖

O1:(SUM(EMA((CLOSE+LOW)/2,1)/3,3)),COLOR00FFFF,LINETHICK1;
O2:EMA(O1,3),COLORFF00FF,LINETHICK1;
O3:EMA(O2,3),COLOR00FF00,LINETHICK1;
MMM:=MA(CLOSE,20);
DRAWTEXT((CLOSE<MMM),MMM,'*'),COLOR00FF00,LINETHICK5;
DRAWTEXT((CLOSE>MMM),MMM,'*'),COLOR0000FF,LINETHICK5;
VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR
VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR
VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;
DRAWTEXT(FILTER(VAR19=1,5),LOW*0.94,' 买'),colorred;
DRAWICON(FILTER(VAR19=1,5),LOW*0.97,1);
DRAWTEXT(FILTER(VAR1A=1,5),HIGH*1.05,' 卖'),COLOR00FF00;
DRAWICON(FILTER(VAR1A=1,5),HIGH*1.03,2);
〖每日实战分享〗:STRLEFT('股 民 学 院 www.58188.net',100),colorwhite;

上一篇:同花顺源码精选:菩提树,KDJ自用优化,CDMA与KDJ金叉

下一篇:同花顺源码精选:无极稳赚不赔,花神副图,分时买卖点超准