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

同花顺源码精选:次新股K线图,趋势,组合副图

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

1、次新股K线图

次新股K线图

aa1:=WMA(C,2);

bb1:=EMA(aa1,2);

a:=MA(bb1,3);

aa2:=WMA((H+C+O)/3,18);

dd3:=a>=aa2 AND C>aa2;

dd4:=a<aa2 ;

dd5:=a>aa2 ;

STICKLINE((dd4 OR dd5) AND O<=C ,H,L,2.5,0),colorblue;

STICKLINE((dd4 OR dd5) AND O<=C ,C,O,10,ROC,0),colorblue;

STICKLINE((dd4 OR dd5) AND O>=C ,H,L,2.5,0),color408000;

STICKLINE((dd4 OR dd5) AND O>=C ,C,O,10,ROC,0),color408000;

STICKLINE((dd3 OR C>aa2) AND O<=C,C,O,10,ROC,0),colorred;

STICKLINE((dd3 OR C>aa2) AND O<=C,H,L,2.5,0),colorred;

STICKLINE((dd3 OR C>aa2) AND O>=C,C,O,10,ROC,0),colorcyan;

STICKLINE((dd3 OR C>aa2) AND O>=C,H,L,2.5,0),colorcyan;

STICKLINE(C>O AND C=H AND C>REF(C,1)*1.098,CLOSE,O ,10,0),coloryellow;

STICKLINE(C>O AND C<H AND H>REF(C,1)*1.098,(CLOSE+OPEN)/2,OPEN,10,0),coloryellow;

STICKLINE(C>O AND C<H AND C>REF(C,1)*1.045,CLOSE,O ,10,0),coloryellow;

STICKLINE(C>O AND C<H AND H>REF(C,1)*1.045,(CLOSE+OPEN)/2,OPEN,10,0),coloryellow;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);

DEA :=EMA(DIFF,9);

MACD:=2*(DIFF-DEA);

做多:=IF(K>D AND MACD>0 AND V>1,2,0),colorred;

做空:=IF(K<D AND MACD<0 AND V>1,-2,0),colorblue;

强洗:=IF(MACD>0 AND K<D AND V>1,1,0),colorwhite;

弱升:=IF(MACD<0 AND K>D AND V>1,-1,0),colorlired;

STICKLINE(做多,L,H,2,0),colorred;

STICKLINE(做多 AND C>=O,C,O,7,0),colorred;

STICKLINE(做多 AND C<O,C,O,8,0),colorligray;

STICKLINE(做空,L,H,2,0),colorblue;

STICKLINE(做空 AND C>=O,C,O,7,0),colorligreen;

STICKLINE(做空 AND C<O,C,O,7,0),colorgreen;

STICKLINE(强洗,L,H,2,0),colorwhite;

STICKLINE(强洗 AND C>=O,C,O,7,0),colorwhite;

STICKLINE(强洗 AND C<O,C,O,7,0),colorwhite;

STICKLINE(弱升,L,H,2,0),colorlired;

STICKLINE(弱升 AND C>=O,C,O,7,0),colorlired;

STICKLINE(弱升 AND C<O,C,O,7,0),colorlired;

.............




2、趋势( 股民学院: http://www.58188.com )

趋势:EMA(100*(C-LLV(LOW,34))/(HHV(H,84)-LLV(LOW,34)),3), colorred,LINETHICK2;
STICKLINE( 趋势>30,趋势,30,2,0),colormagenta;
STICKLINE( 趋势<30,趋势,30,2,0),COLORFFAA00;
STICKLINE( 趋势<50 AND 趋势>30, 趋势,30,2,0),colorred;
STICKLINE(趋势<REF(趋势,2) AND 趋势>50,趋势,30,2,1),colorgreen;
水面线:30,LINETHICK1;
空方 : EMA(趋势,9),coloryellow,LINETHICK1;
STICKLINE(趋势<0,趋势,0,1,0),COLORFFAA00;
BT2:=CROSS(趋势,空方) AND 趋势<-10;
企稳:IF((CROSS(趋势,空方) AND 趋势<-10),1,50),DOTLINE,LINETHICK1;
DRAWTEXT(CROSS(趋势,50),趋势,'↑');



3、组合副图

B1:=(HHV(H,12)-C)/(HHV(H,12)-LLV(LOW,12))*100- 38;

B2:=SMA(B1,12,1)+100;
B3:=(C-LLV(L,12))/(HHV(H,12)- LLV(L,12))*100;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1)+100;
B6:=B5-B2;
控盘程度:(IF(B6>11,B6-1,0)),coloryellow,NODRAW;
控盘度:=50,colorred;
STICKLINE( 控盘程度,0,控盘程度 ,2,0 ),COLORA05858;
STICKLINE( 控盘程度 AND 控盘程度>50,50,控盘程度 ,2,0 ),colorred;
STICKLINE( 控盘程度<REF(控盘程度,1) AND 控盘程度>50,控盘程度,50,3,0 ),colorblue;
STICKLINE( 控盘程度<REF(控盘程度,1) AND 控盘程度<50,控盘程度,0,3,0 ),colorcyan;
STICKLINE( 控盘程度<REF(控盘程度,1) AND 控盘程度>50,控盘程度,50,0.3,0 ),colorgreen;
PVAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
PVAR2:=SMA(ABS(LOW-PVAR1),13,1)/SMA(MAX(LOW-PVAR1,0),10,1);
PVAR3:=EMA(PVAR2,10);
PVAR4:=LLV(LOW,33);
PVAR5:=EMA(IF(LOW<=PVAR4,PVAR3,0),3);
主力进场:IF(PVAR5>REF(PVAR5,1),PVAR5,0),colorred,LINETHICK1;
STICKLINE(PVAR5>REF(PVAR5,1),0,PVAR5,3,0 ),colorred;
主力洗盘:IF(PVAR5<REF(PVAR5,1),PVAR5,0),colorgreen,LINETHICK1;
STICKLINE(PVAR5<REF(PVAR5,1),0,PVAR5,3,0),colorgreen;
ATR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),14);
DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);
PDI:=DMP*100/ATR;
MDI:=DMM*100/ATR;0;
持币:=PDI-MDI;
{持币区:IF(持币<0,0,DRAWNULL),colorgreen, LINETHICK2;}
持股区:IF(持币>0,持币,0),colormagenta, LINETHICK2;
(IF(主力洗盘>0.01 AND 主力洗盘<0.05,70,0)),LINETHICK2;
DRAWTEXT(FILTER((IF(主力洗盘>0.01 AND 主力洗盘<0.05,58,0))=58,9),60,'洗盘即将结束'),colorred;
VAR51:=3;
VAR52:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1)) - (2)*(SMA(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1));
准备启动:=CROSS(VAR52,VAR51),STICK,colorred;
DRAWICON(准备启动>0,-8,34);
PLOWV:=LLV(LOW,17);
PHIGHV:=HHV(HIGH,17);
偏RSV:=EMA((CLOSE-PLOWV)/(PHIGHV-PLOWV)*100,6);
偏K:=EMA(偏RSV,3),colorcyan;
偏D:=MA(偏K,3),colorbrown;
P:=(C-MA(C,5))*100/MA(C,5);
偏5线:IF(P>0,P,0),coloryellow,NODRAW;
超买:IF(偏K>=79,偏K,110),DOTLINE,colorgreen,LINETHICK2;
危险:IF(偏K>=90,偏K,110),DOTLINE,colorred;
超卖:IF(偏K<15,-偏K,0),DOTLINE,colorred,LINETHICK2;
TJ1:=((C-LLV(LOW,22))/(HHV(HIGH,22)-LLV(LOW,22)))*110;
TJF:=SMA(TJ1,10,2);
TJFF:=SMA(TJ1,17,3);
DRAWBAND(TJF,RGB(250,110,110),TJFF,RGB(10,250,10));
日K:=("KDJ.K"(27,6,4)),colorwhite;
日D:=("KDJ.D"(27,6,4)),colorwhite,LINETHICK2;
STICKLINE( 控盘程度=0 AND 日K<日D,0,3,3,1 ),colorcyan;
GVAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
GVAR2:=SMA(GVAR1,3,1);
GVAR3:=SMA(GVAR2,3,1);
GVAR4:=SMA(GVAR3,3,1);
BBBB:=GVAR3;
GAA:=LLV(LOW,36);
GBB:=HHV(HIGH,20);
GDD:=(EMA(((CLOSE-GAA)/(GBB-GAA))*(4),4))*(25);
GSSS:=GDD*0.93,COLOR0000FF,LINETHICK2,colorgreen;
AZ:=CROSS(GSSS,BBBB) AND BBBB<25;
AZ1:=CROSS(BBBB,GSSS) AND BBBB<100 ;
DRAWTEXT(AZ,BBBB,'低买'),coloryellow;
DRAWTEXT(AZ1 AND 日K>75,100,'卖出'),colorwhite;

上一篇:同花顺公式下载: 自用主力进场,获利数据分析,坐庄达人

下一篇:同花顺公式下载:朵朵副图,二刀肉,天地买卖