股票投资小常识:有些ST股是由于特殊原因造成的亏损,或者有些ST股正在进行资产重组,则这些股票往往潜力巨大。
股票公式源码
DIF:=((EMA(CLOSE,26)-EMA(CLOSE,12)))*-1;
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
GUH:=MA(CLOSE,10);
GUG:=MA(CLOSE,12);
天:=EMA((MA(HIGH,3) * 1.05),30);
地:=EMA((MA(LOW,3) * 0.96),30);
决:STICKLINE((((CROSS(DIF,DEA) AND ((地 - REF(地,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIF < 0)),DIF,0.4,3,0),COLOR0000FF;
DRAWICON((((CROSS(DIF,DEA) AND ((地 - REF(地,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIF < 0)),0.4,0);
DRAWTEXT((((CROSS(DIF,DEA) AND ((地 - REF(地,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIF <= 0)),0.4,DIFF金叉),COLOR0000FF;
STICKLINE(FILTER(((((MACD >= REF(MACD,5)) AND ((地 - REF(地,1)) > 0)) AND (MACD <= 0)) AND ((GUG - REF(GUG,1)) >= 0)),3),0,0.5,3,0),COLOR00FF00;
DRAWICON(FILTER(((((MACD >= REF(MACD,5)) AND ((地 - REF(地,1)) > 0)) AND (MACD <= 0)) AND ((GUG - REF(GUG,1)) >= 0)),3),0.5,0);
DRAWTEXT(FILTER(((((MACD >= REF(MACD,5)) AND ((地 - REF(地,1)) > 0)) AND (MACD <= 0)) AND ((GUG - REF(GUG,1)) >= 0)),3),0.5,坚决买入),COLOR00FF00;
GUP26:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
GUP27:=((EMA(CLOSE,12) - EMA(CLOSE,26)) * 100);
GUP28:=EMA(GUP27,9);
GUP29:=(2 * (GUP27 - GUP28));
STICKLINE(((GUP27 < (0 - 50)) AND (GUP26 > 7)),0,(0 - 0.1),5,0),COLOR0000FF;
DRAWTEXT((((GUP27 < (0 - 50)) AND (GUP26 > 7)) AND (GUP27 < GUP28)),(0 - 0.09),底),COLORFFFFFF;
DRAWTEXT((((GUP27 < (0 - 50)) AND (GUP26 > 7)) AND (GUP27 >= GUP28)),(0 - 0.1),追),COLORFFFFFF;
GUP1:=1;
GUP2:=MA(CLOSE,18);
GUP3:=(((CLOSE - GUP2) / GUP2) * 100);
GUP4:=MA(GUP3,1);
涨跌:=(GUP4 * GUP1);
GUP5:=BARSLAST((CROSS((0 - 10),GUP4) = 1));
GUP6:=BARSLAST((CROSS(GUP4,10) = 1));
GUP7:=((GUP4 < (0 - 10)) AND (GUP5 >= 5));
GUP8:=((GUP4 > 10) AND (GUP6 >= 5));
C3:=(IF(((GUP4 > 10) AND (GUP6 >= 5)),GUP4,0) * GUP1);
C4:=C3;
D1:=((((涨跌 > REF(涨跌,1)) AND GUP7) * 0.2) * GUP1);
中线底部:=LLV(CLOSE,30);
D:(FILTER(((((((涨跌 > REF(涨跌,1)) AND (LOW <= 中线底部)) AND (CLOSE > 中线底部)) AND GUP7) * 0.5) * GUP1),3) * 0.5),LINETHICK2,COLOR0000FF;
DRAWTEXT((D >= 0.25),D,★铁底),COLOR00FFFF;
STICKLINE(((CROSS(MACD,DIF) AND (MACD >= (0 - 0.05))) AND (MACD <= 0.02)),MACD,0.23,0,0),LINETHICK2,COLOR00FFFF;
DRAWTEXT(((CROSS(MACD,DIF) AND (MACD >= (0 - 0.05))) AND (MACD <= 0.02)),0.23,MACD),COLOR0000FF;
DRAWTEXT(((CROSS(MACD,DIF) AND (MACD >= (0 - 0.05))) AND (MACD <= 0.02)),0.23,金叉),LINETHICK4,COLORFFFFFF;
DRAWICON(((CROSS(MACD,DIF) AND (MACD >= (0 - 0.05))) AND (MACD <= 0.02)),0.23,1);
DIFF2:=(EMA(CLOSE,2) - EMA(OPEN,5));
操盘:=DIFF2;
(0.4 * ((CROSS(操盘,MACD) AND (MACD <= (0 - 0.11))) AND (LOW <= 地))),LINETHICK2,COLORFFFFFF;
DRAWTEXT(((CROSS(操盘,MACD) AND (LOW <= 地)) AND (MACD <= (0 - 0.11))),0.6,短线5%),COLORB7D16F;
MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
BB:(0.7 * ((((((CROSS(DIF,DEA) AND (CLOSE <天)) AND ((地 - REF(地,1)) > 0)) AND CROSS(MACD,0)) AND (MACD >= 0)) AND (DIF > 0)) AND (((GUH - REF(GUH,1)) > 0) AND (VOL > REF(VOL,1)))));
DRAWTEXT((((BB >= 0.7) AND (CLOSE <天)) AND ((地 - REF(地,1)) > 0)),0.7,量价合),COLOR00FF00;
N15HIGH:=REF(HIGH,15);
N1LOW:=REF(LOW,1);
FF:=(((N15HIGH - N1LOW) / N1LOW) > 0.15);
DRAWICON((((((CROSS(MA(CLOSE,19),MA(CLOSE,120)) > 0) AND (((N15HIGH - N1LOW) / N1LOW) < 0.15)) AND (OPEN >= MA(CLOSE,19))) AND (CLOSE >= MA(CLOSE,19))) AND (LOW <= MA(CLOSE,19))),0.5,1);
DRAWTEXT((((((CROSS(MA(CLOSE,19),MA(CLOSE,120)) > 0) AND (((N15HIGH - N1LOW) / N1LOW) < 0.15)) AND (OPEN >= MA(CLOSE,19))) AND (CLOSE >= MA(CLOSE,19))) AND (LOW <= MA(CLOSE,19))),0.5,★回头望月),COLORFF0000;
多:=IF(DIF>=0 AND MACD>=0 OR (DIF<0 AND MACD>=0),1,0);
空:=DIF<0 AND MACD<0 OR (DIF>=0 AND MACD<0);
UP:=FILTER(多,13);
DRAWTEXT(UP,DIF,¤多),COLORRED;
PU :=FILTER(空,13);
DRAWTEXT(PU,DIF,¤空),COLORFF8800;
低位金叉:=CROSS(DIF,DEA) AND DIF<-0.1;
STICKLINE(低位金叉,0,0.08,6,0),COLORYELLOW;
DRAWTEXT(低位金叉,低位金叉-1.5,低位金叉),COLORWHITE;
JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,0,0.06,6,0),COLORFF00FF;
DRAWICON(二次金叉,DEA*1.04,1) ;
DRAWTEXT(二次金叉,0.5,二次金叉),COLORYELLOW;股票投资小常识:普通股票大概率会因为大盘的新低而股价不断创新低,而好股票虽然也会因为熊市而下跌,但不会那么容易创历史新低,好股票和普通股票的本质区别就是低点可以不断提高。
选股公式
{选股公式一:DIFF金叉}
DIF:=((EMA(CLOSE,26)-EMA(CLOSE,12)))*-1;
DEA:=EMA(DIF,9);
地:=EMA((MA(LOW,3) * 0.96),30);
DIFF金叉:(((CROSS(DIF,DEA) AND ((地 - REF(地,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIF <= 0));
{选股公式二:坚决买入}
DIF:=((EMA(CLOSE,26)-EMA(CLOSE,12)))*-1;
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
GUG:=MA(CLOSE,12);
地:=EMA((MA(LOW,3) * 0.96),30);
坚决买入:FILTER(((((MACD >= REF(MACD,5)) AND ((地 - REF(地,1)) > 0)) AND (MACD <= 0)) AND ((GUG - REF(GUG,1)) >= 0)),3);
{选股公式三:底}
GUP26:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
GUP27:=((EMA(CLOSE,12) - EMA(CLOSE,26)) * 100);
GUP28:=EMA(GUP27,9);
底:(((GUP27 < (0 - 50)) AND (GUP26 > 7)) AND (GUP27 < GUP28));
{选股公式四:追}
GUP26:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
GUP27:=((EMA(CLOSE,12) - EMA(CLOSE,26)) * 100);
GUP28:=EMA(GUP27,9);
追:(((GUP27 < (0 - 50)) AND (GUP26 > 7)) AND (GUP27 < GUP28));
{选股公式五:铁底}
GUP1:=1;
股票投资小常识:经常看盘的朋友应该都有过这样的经验,当某只股票在低位横盘,庄家处于吸筹阶段时,往往是内盘大于外盘的,具体的情形就是庄家用较大的单子托住股价,而在若干个价位上面用更大的单子压住股价,许多人被上面的大卖单所迷惑,同时也经不起长期的横盘,就一点点地卖出。
GUP2:=MA(CLOSE,18);
GUP3:=(((CLOSE - GUP2) / GUP2) * 100);
GUP4:=MA(GUP3,1);
涨跌:=(GUP4 * GUP1);
GUP5:=BARSLAST((CROSS((0 - 10),GUP4) = 1));
GUP7:=((GUP4 < (0 - 10)) AND (GUP5 >= 5));
D1:=((((涨跌 > REF(涨跌,1)) AND GUP7) * 0.2) * GUP1);
中线底部:=LLV(CLOSE,30);
D:=(FILTER(((((((涨跌 > REF(涨跌,1)) AND (LOW <= 中线底部)) AND (CLOSE > 中线底部)) AND GUP7) * 0.5) * GUP1),3) * 0.5);
铁底:D >= 0.25;
{选股公式六:金叉}
DIF:=((EMA(CLOSE,26)-EMA(CLOSE,12)))*-1;
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
金叉:((CROSS(MACD,DIF) AND (MACD >= (0 - 0.05))) AND (MACD <= 0.02));
{选股公式七:短线5%}
DIF:=((EMA(CLOSE,26)-EMA(CLOSE,12)))*-1;
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
地:=EMA((MA(LOW,3) * 0.96),30);
DIFF2:=(EMA(CLOSE,2) - EMA(OPEN,5));
操盘:=DIFF2;
短线5%:((CROSS(操盘,MACD) AND (LOW <= 地)) AND (MACD <= (0 - 0.11)));
{选股公式八:量价合}
DIF:=((EMA(CLOSE,26)-EMA(CLOSE,12)))*-1;
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
GUH:=MA(CLOSE,10);
天:=EMA((MA(HIGH,3) * 1.05),30);
地:=EMA((MA(LOW,3) * 0.96),30);
BB:=(0.7 * ((((((CROSS(DIF,DEA) AND (CLOSE <天)) AND ((地 - REF(地,1)) > 0)) AND CROSS(MACD,0)) AND (MACD >= 0)) AND (DIF > 0)) AND (((GUH - REF(GUH,1)) > 0) AND (VOL > REF(VOL,1)))));
量价合:(((BB >= 0.7) AND (CLOSE < 天)) AND ((地 - REF(地,1)) > 0));
{选股公式九:回头望月}
N15HIGH:=REF(HIGH,15);
N1LOW:=REF(LOW,1);
回头望月:(((((CROSS(MA(CLOSE,19),MA(CLOSE,120)) > 0) AND (((N15HIGH - N1LOW) / N1LOW) < 0.15)) AND (OPEN >= MA(CLOSE,19))) AND (CLOSE >= MA(CLOSE,19))) AND (LOW <= MA(CLOSE,19)));
{选股公式十:多}
DIF:=((EMA(CLOSE,26)-EMA(CLOSE,12)))*-1;
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
多:=IF(DIF>=0 AND MACD>=0 OR (DIF<0 AND MACD>=0),1,0);
UP:=FILTER(多,13);
多XG:UP;
{选股公式十一:低位金叉}
DIF:=((EMA(CLOSE,26)-EMA(CLOSE,12)))*-1;
DEA:=EMA(DIF,9);
低位金叉:CROSS(DIF,DEA) AND DIF<-0.1;
{选股公式十二:二次金叉}
DIF:=((EMA(CLOSE,26)-EMA(CLOSE,12)))*-1;
DEA:=EMA(DIF,9);
JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
二次金叉:CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;图片示例
本文指标公式仅供学习交流,请勿用于股票交易。
股市有风险,风险请自担,入市需谨慎。
股旁网
好公式 只为你
长按二维码关注股票投资小常识:赚真钱的公司没有财务造假的动机。造假的公司现金流都有问题
免责声明:本站所有信息均搜集自互联网,并不代表本站观点,本站不对其真实合法性负责。如有信息侵犯了您的权益,请告知,本站将立刻处理。联系QQ:1640731186