• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • [股票基础知识]同花顺源码:抄底之王1,抄底配合,趋势

    发布时间: 2022-05-04 15:49 首页:股票一点通>股票公式>同花顺公式> 阅读()
    1、抄底之王1

    短趋势:((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)-50)*1.032+50),colorred;
    VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
    VAR3:=LLV(LOW,34);
    VAR4:=HHV(HIGH,34);
    长趋势:EMA((VAR2-VAR3)/(VAR4-VAR3)*100,13),COLOR00FF00;
    判断底:SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5;
    VAR5:=CROSS(短趋势,长趋势)AND 长趋势<25;
    底部:STICKLINE(短趋势<10 AND 判断底>0,0,30,6,1);
    STICKLINE(VAR5,0,50,8,0),colorred;
    DRAWICON(VAR5 AND 判断底>0,60,1);
    DRAWTEXT(COUNT(短趋势<10 AND 判断底>0,8) AND VAR5,50,'抄底');
    DRAWTEXT(CROSS(短趋势,长趋势)AND 长趋势>25 AND 长趋势>REF(长趋势,1),50,'快拉或短顶');
    VAR6:=CROSS(短趋势,长趋势)AND 长趋势<50;
    DRAWTEXT( COUNT(短趋势<30 AND 判断底>0,5) AND VAR6,30,'短线买');



    2、抄底配合,抄底类型公式( 顶尖财经 股票学院: )

    生命指数: 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);
    顶:IF(生命指数>90,80,90);
    底:IF(生命指数<10,20,10);
    买入时间: IF(CROSS(生命指数,底),20,0);
    N1:=3;N2:=7;N3:=21;
    LC:=REF(CLOSE,1);
    RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
    ZB1:=RSI1<底;
    建仓:IF(CROSS(RSI1,底) ,10,0),LINETHICK1;
    DRAWICON(CROSS(RSI1,底) ,20,1);
    DRAWICON(建仓 AND 买入时间,10,1);
    ZB2:=(ZB1=0 AND RSI1<=顶);
    卖出:IF(ZB2=1 AND REF(ZB2,1)=0 AND 建仓=0,90,100),LINETHICK1;
    N1:=3;N2:=7;N3:=21;
    LC:=REF(CLOSE,1);
    RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
    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>-150,0,VAR9,2,0),COLORFF00FF;
    底部吸筹指标:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
    STICKLINE(CROSS(底部吸筹指标,-24),100,0,1,0),colormagenta;
    先知:= (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
    放量拉升:IF(CROSS(底部吸筹指标,-24),1,0), colormagenta;
    短线获利:STICKLINE(REF("KDJ.J",1)<0 AND "KDJ.J">0,60,0,2,0),color0000FF;
    VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
    VARK2:=REVERSE(VARK1);
    VARK3:=SMA(VARK1,3,1);
    波段王:=SMA(VARK3,3,1);
    波段鬼:=SMA(波段王,2.5,1);
    趋势线:= 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);
    RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K1:=SMA(RSV9,3,1);
    DK1:=K1-REF(K1,1);
    STICKLINE( CROSS(趋势线,10),0,73,3,0), COLOR3366FF;
    DRAWTEXT(IF(CROSS(趋势线,10),100,0),68,'抄底'),COLOR0055ff ;
    DRAWTEXT(IF(CROSS(10,趋势线),1,0), 10,'$准备钱'),coloryellow;
    DRAWTEXT(REF("KDJ.J",1)<0 AND "KDJ.J">0,50,'短买'),colorred ;
    DRAWTEXT(CROSS(底部吸筹指标,-24),80,'抄底'),COLOR0055ff ;
    RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
    短期底部:=LLV(OPEN,30);
    K:=SMA(RSV,3,1);
    D:=SMA(K,3,1);
    J:=((3 * K) - (2 * D));
    AA10:=MA(CLOSE,10);
    AA12:=MA(CLOSE,12);
    BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);
    BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);
    MA13:=MA(CLOSE,13);
    VARB:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
    VARC:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
    VARD:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
    VARE:=(((VARB + (2 * VARC)) + (3 * VARD)) / 6);
    VARF:=MA(VARE,3);
    STICKLINE((CROSS(J,0) AND (VARF <= (0 - 7))),0,88,2,0),colorblue;
    DRAWICON((CROSS(J,0) AND (VARF <= (0 - 7))),88,10);
    VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
    VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
    VAR3:=EMA(VAR2,10);
    VAR4:=LLV(LOW,33);
    VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
    VAR6:0;
    主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),colorred,NODRAW;
    STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),colorred;
    洗盘:IF(VAR5STICKLINE(VAR5
    VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
    持币区域:VAR1,colorgreen;
    持股区域:IF(VAR1>0,VAR1,0),colorred;
    短顶:STICKLINE(VAR1>9 AND FILTER(VAR1大顶:STICKLINE(VAR1>20 AND FILTER(VAR1VAR2:=HHV(VAR1>20,10);
    危险: STICKLINE(VAR2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),VAR1+10,0,4,0);
    注意止损:STICKLINE(VAR2 AND FILTER(VAR1< REF(VAR1,1),6)
    AND CROSS(MA(CLOSE,5),MA(CLOSE,2)),VAR1+6,0,3,0);
    短底:STICKLINE(VAR1<-9 AND VAR1> REF(VAR1,1),VAR1-2,0,3,0),colorred;
    大底:STICKLINE(VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5),VAR1-5,0,7,0),coloryellow;
    买入准备:VAR1<-9 AND VAR1>REF(VAR1,1),coloryellow;
    DRAWTEXT(VAR1>9 AND FILTER(VAR1DRAWTEXT(VAR1>20 AND FILTER(VAR1DRAWTEXT(VAR2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),VAR1+10,'危险'),COLOR00FFFF;
    DRAWTEXT(VAR2 AND FILTER(VAR1< REF(VAR1,1),6) AND CROSS(MA(CLOSE,5),MA(CLOSE,2)),VAR1+6,'注意止损'),COLORFF00FF;
    DRAWTEXT(FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18),VAR1-2,'短底'),,COLOR0000FF;
    DRAWTEXT(VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5),VAR1-5,'大底'),;
    DRAWTEXT(FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18),1,'买入准备');




    3、趋势

    //趋势

    A1:=1;
    A2:=(3);
    A3:=(((2*CLOSE)+HIGH)+LOW)/4;
    A4:=LLV(LOW,36);
    A5:=HHV(HIGH,36);
    A6:=EMA((((A3-A4)/(A5-A4))*100),10);
    A7:=(EMA(((0.667*(REF(A6,1)))+(0.333*A6)),2))*A1;
    决策线:(EMA(A7,A2))*A1,colorred;
    A8:=(HHV(HIGH,7))-(LLV(LOW,7));
    A9:=(HHV(HIGH,7))-CLOSE;
    A10:=CLOSE-(LLV(LOW,7));
    A11:=((A9/A8)*100)-60;
    A12:=((CLOSE-(LLV(LOW,40)))/((HHV(HIGH,60))-(LLV(LOW,40))))*100;
    A13:=SMA(((A10/A8)*100),3,1);
    A14:=(SMA(A13,3,1))-(SMA(A11,7,1));
    A15:=IF((A14>100),(A14-100),0);
    A16:=(EMA((((A3-A4)/(A5-A4))*100),3))*A1;
    A17:=(EMA(A16,5))*A1;
    STICKLINE(((A16-A17)>0),A16,A17,3,1),COLORFFAA17;
    STICKLINE(((A16-A17)<0),A16,A17,3,0),colorgreen;
    A18:=(EMA(CLOSE,2))*A1;
    A19:=(EMA((((SLOPE(CLOSE,21))*20)+CLOSE),36))*A1;
    A20:=(HHV((MA(HIGH,13)),13))*A1;
    A21:=(LLV((MA(HIGH,13)),1))*A1;
    A22:=(EMA(CLOSE,4))*A1;
    A23:=((((A18>=A19) AND (A21=A20)) AND (A18>A22)) AND (CLOSE>A21)) AND ((REF(A21,1))<(REF(A20,1)));
    A24:=BARSLAST(A23)+1;
    A25:=(LLV(LOW,A24))*1.3;
    A26:=(LLV(LOW,20))*1.418;
    A27:=(((((A18>=A19) AND (A21=A20)) AND ((CLOSE/(REF(CLOSE,1)))>=1.07)) AND (A24<=30)) AND (CLOSE<=A25)) AND (CLOSE<=A26);
    A28:=A27 AND (FILTER(A27,A24));
    {A29:=(STRFIND(STKNAME,'ST',1)) > 0;}
    A30:=((((((A18>=A19) AND (A21=A20)) AND ((CLOSE/(REF(CLOSE,1)))>=1.535)) AND (A24<=30)) AND (CLOSE<=A25)) AND (CLOSE<=A26)) ;
    A31:=A30 AND (FILTER(A30,30));
    DRAWICON((A28 OR A31),决策线,1);
    A1:=1;
    A2:=(3);
    A3:=(((2*CLOSE)+HIGH)+LOW)/4;
    A4:=LLV(LOW,36);
    A5:=HHV(HIGH,36);
    A6:=EMA((((A3-A4)/(A5-A4))*100),10);
    A7:=(EMA(((0.667*(REF(A6,1)))+(0.333*A6)),2))*A1;
    决策线:(EMA(A7,A2))*A1,colorred;
    A8:=(HHV(HIGH,7))-(LLV(LOW,7));
    A9:=(HHV(HIGH,7))-CLOSE;
    A10:=CLOSE-(LLV(LOW,7));
    A11:=((A9/A8)*100)-60;
    A12:=((CLOSE-(LLV(LOW,40)))/((HHV(HIGH,60))-(LLV(LOW,40))))*100;
    A13:=SMA(((A10/A8)*100),3,1);
    A14:=(SMA(A13,3,1))-(SMA(A11,7,1));


    特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。

    网站首页-股票知识--股票公式-散户炒股-问答百科--缠中说禅-概念股

    未经本站书面特别授权,请勿转载或建立镜像

    Copyright @ 2020 All Rights Reserved.版权所有 XMl地图
    Baidu
    map