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

同花顺源码:双响炮,主散降龙通道,SDKJ平台

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

双响炮:

前炮:=(C-REF(C,1))*100/REF(C,1)>5;

后炮:=(C-REF(C,1))*100/REF(C,1)>5;
调整天数:=BARSLAST(前炮)<10;
不破前炮开盘:=LLV(C,BARSLAST(前炮))>=REF(O,BARSLAST(前炮));
小实体:=HHV(ABS(C-REF(C,1))/REF(C,1)*100,BARSLAST(前炮))<=5;
回调:=调整天数 AND 不破前炮开盘 AND 小实体;
选股:后炮 AND REF(回调,1);
 


主散降龙通道:

通过主力散户 变化寻找买卖点,找到买卖点。

A1:=REF(CLOSE,2);
A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;
A3:=DATE <= 10706159999;
A4:=REF(LOW,1);
A5:=SMA(ABS(LOW-A4),3,1)/SMA(MAX(LOW-A4,0),3,1)*100;
A6:=EMA(IF(CLOSE*1.3,A5*10,A5/10),3);
A7:=LLV(LOW,29);
A8:=HHV(A6,37);
A9:=IF(MA(CLOSE,90),1,0);
A10:=EMA(IF(LOW<=A7,(A6+A8*2)/2,0),3)/1688*A9;
A11:=IF(A10>100,100,A10);
STICKLINE(A11,0,A11,4,1) * A3,COLOR990000;
主力:EMA(WINNER(C)*100,5),LINETHICK5,colorred;
散户:EMA((WINNER(C*1.1)-WINNER(C*0.9))*100,5),LINETHICK3,coloryellow;
吸筹:A11,colorliblue;
获利盘:WINNER(CLOSE)*100,LINETHICK1,COLORFFFFFF;
熊线:30,DOTLINE,colorgreen;
中线:50, DOTLINE,coloryellow;
牛股线:75, LINETHICK5,colormagenta;
警戒线:15, DOTLINE,colorred;
STICKLINE(CROSS(主力,散户) AND 散户-REF(散户,1)<1 AND 散户<主力,50,80,3,0), colorgreen;
STICKLINE((主力-散户) -(REF(主力,1)-REF(散户,1))>8 AND 散户<主力,散户,主力,3,0), colorbrown;
STICKLINE(CROSS(获利盘,散户) AND CROSS(获利盘,主力) AND 散户<主力,散户,获利盘,3,0), colormagenta;
STICKLINE((获利盘-REF(获利盘,1)>37 OR 获利盘-REF(获利盘,2)>52) AND 主力-REF(主力,1)>8,0,30,2,0),colorliblue;
LC :=REF(CLOSE,1);
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;
MMS:MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3), DOTLINE,colorgreen;
MMM:EMA(MMS,8),coloryellow;
MML:MA(3*RSI3-2*SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,5),DOTLINE;
翻身:REF(MMS,1)-REF(MMS,2)<0 AND MMS-REF(MMS,1)>0 AND MMS>MMM AND MMM-REF(MMM,1)>1.4;
金叉:CROSS(MMS,MMM) AND MMM-REF(MMM,1)>0;
STICKLINE((获利盘-REF(获利盘,1)>37 OR 获利盘-REF(获利盘,2)>52) AND 主力-REF(主力,1)>8 AND (金叉 OR 翻身),0,20,5,0),colorred;
STICKLINE(((主力-散户) -(REF(主力,1)-REF(散户,1))>8) AND 散户<主力 AND (金叉 OR 翻身),0,20,5,0),colorred;




SDKJ平台:

低位白线上穿黄线可积极关注,如果此时配合股价的止跌企稳可买入。( 顶尖财经 股票学院: http://www.58188.com )

 TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;

CI:(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30));
C2:MA(CI,4);
C3:MA(CI,10),linethick2;;
FILLRGN(CI,C2,CI>C2,RGB(0,255,0,),CI<C2,colorblack);
FILLRGN(CI,C3,CI>C3,RGB(255,0,0,),CI<C3,colorblack);
LC := REF(CLOSE,1);
DI:=(EMA(CLOSE,12) - EMA(CLOSE,26))*200;
DE:=EMA(DI,9);
MACD:=2*(DI-DE);
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*400-200;
STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,8,0),COLOR0000AA;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD,0,8,0),COLOR0090FF;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD,0,8,0),COLORFF0000;
STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,8,0),COLORFF00A9;

上一篇:同花顺源码:简单趋势顶底,多空捉妖股更新版,均线法则1250

下一篇:同花顺源码:XL自用均线系统,红买蓝卖,必涨买入