当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:惊天小买卖(同花顺指标 副图 源码 测试图)
软件名称:[B]惊天小买卖(同花顺指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:10.0 KB
官方主页:Home Page
更新时间:2023-02-27 00:08:16
软件简介:
惊天小买卖
有风险要多观察一天,调整1点左右,风险减低,价格上涨时可以建仓。
出现红叉后,就等风险下降,价格上升时买进。
出现买或买红,没有提示风险,开始建仓
G: 4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
X = REF(G,1);
动力向上= G>X;
RSV=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K: SMA(RSV,5,1);
b=SMA(k,3,1);
J:3*k-2*b;
J1=REF(J,1);
C1=C;
V1=MA(VOL,1);//1成交量
V2=REF(V1,1);//2成交量
J5 =MA(C,5);
J10=MA(C,10);
J20=MA(C,20);
J30=MA(C,30);
J60=MA(C,60);
J5A =REF(J5,1);
J10A=REF(J10,1);
J20A=REF(J20,1);
J30A=REF(J30,1);
J60A=REF(J60,1);
J10B=((J10-C1)/C1)*100;
J20B=((J20-C1)/C1)*100;
J30B=((J30-C1)/C1)*100;
J60B=((J60-C1)/C1)*100;
J60S = (J60<J20) OR (J60<J30) OR J60<J10 OR J60<J5;
J60L = J60<J60A AND J60>J20 AND J60>J30 AND J60>J10 AND J60>J5;
J10S = J10<J20 AND J10<J30 AND J10<J60;
J60JXB= J60<J60A AND (J60B < 3 AND J60B>-0.5);
J30JXB= J30<J30A AND (J30B < 3 AND J30B>-0.5);
J20JXB= J20<J20A AND (J20B < 3 AND J20B>-0.5);
J10JXB= J10<J10A AND (J10B < 3 AND J10B>-0.5);
C2=REF(CLOSE,1 );
C0=REFX ( & CLOSE,1);
C3=REF(CLOSE,2 );
C5=REF(CLOSE,5 );
CH3X = HHV(HIGH,3);
CH1 = HHV(HIGH,1);
CH3=HHV(C,3);
LLV6 = LLV(LOW,6);
LL1 = LLV(LOW,1);
CL6=LLV(C,6);
O1= O;
O2=REF(O,1 );
O3=REF(O,2 );
CA = ((HHV(HIGH,1))-C1)/C1*100;
JXXX = ( J60JXB OR J30JXB OR J20JXB OR ( C<J5 AND J5<J5A) OR ( J5<J5A AND C<J10 ) OR ( J5<J10 AND J10<J10A) ) ;//均线向下 ,coloryellow;J60JXB OR AND 小于均线
XCKX = ( C > J10 AND O < J10 AND J10<J10A ) OR ( C > J20 AND O < J20 AND J20<J20A ) OR ( (C >J30 AND O <J30 AND J30<J30A ) OR ( C >J60 AND O <J60 AND J60<J60A ) OR ( C > J5 AND O < J5 AND C<J5A ) ); // 下穿均线
MCD1 =( EMA(CLOSE,12) - EMA(CLOSE,24));
MCB1 =( EMA(MCD1,6));
NL= 10*(MCD1-MCB1);
QNL1 = REF ( NL,1 );
QNL2 = REF ( NL,2 );
GZF:=(G-X)/(X)*80;
RZF=(C-C2)/(C2)*100;
STF=(C-O)/(O)*100;
SYX= (CA>3 AND CA>STF AND CA>RZF);
FX1= IF (( XCKX ),100,0),colorFF5688;
FX2= IF (( JXXX),99,0),colorFF5688;
FX3= IF (( C<J5),97,0),colorFF5688;
FX4= IF (( C<J5 AND JXXX ),4,0),colorFF5688;
KFX=(K>45 AND k>J) OR J<36 OR (J1-J)>9 OR J<J1 OR G<X OR (K-J >10 AND J<J1*0.98) OR ((J-K) >18 AND K<36) OR J<32 OR G < X OR G < 36 OR ((C2-C)/C2*100)>6 ;
NLFX1 = NL<-0.03 OR J > 81 OR G < J*0.99 ;
KFX1= IF ( NLFX1 OR QNL2>QNL1 ,60,0 );
KFX2= IF ( kFX OR G-J>45 OR G>99 ,80,0 );
KFX3= IF ( (G>99 OR G<J OR J5<J10 ) ,60,0 );
KFX4= IF ( (G<100 AND G>90) OR J>90 OR QNL2>QNL1 ,20,0 );
KFX5= IF ( GZF<RZF AND G>80 ,80,0 );
K线风险: KFX2 +KFX3 + KFX4 + KFX5 + KFX1 ;
下穿风险: FX1 + FX2 + FX3 + FX4 ;
大风险1= IF ( CROSS(81,K线风险) ,80,0 );
大风险2= IF ( CROSS(81,下穿风险) ,80,0 );
大风险3= IF ( 下穿风险<81 AND K线风险<81 ,110,0 );
位置=10;
SAR1=SAR_S(10,2,10);
HC1 = CROSS(K,J) AND LLV( NL,6 )>0 AND J<66;
建仓条件=BARSLAST(HC1) < 10.5 AND G>42 AND BARSLAST(HC1) > 1.5 AND C>O AND K<61 AND G<99 AND J>28 AND G>x ;
建仓条件2= G>x AND C>O AND K<61 AND G<99 AND J>28 AND BARSLAST(HC1) > 10.5;
日2幅度=(C - LLV(C,3))/C*100;
JCFX= CH1<SAR1 OR 日2幅度>8 OR J5<J5A OR (J60<J60A AND J60>J20) OR C<C2;
DRAWTEXT (FILTER ( CROSS(大风险3,100),3) AND 建仓条件 AND JCFX ,150,'建仓1有风险 ' ),colorgreen;
DRAWTEXT (FILTER ( CROSS(大风险3,100),3) AND 建仓条件 ,150,'建仓1' ),colorred;
DRAWTEXT (FILTER ( CROSS(大风险3,100),3) AND 建仓条件2 AND JCFX ,150,'建仓2有风险 ' ),colorgreen;
DRAWTEXT (FILTER ( CROSS(大风险3,100),3) AND 建仓条件2 ,150,'建仓2' ),colorred;
DRAWTEXT (FILTER ( CROSS(大风险1,70),3) AND G>X AND 下穿风险>55 ,120,'突K' ),colorred;
DRAWTEXT (FILTER ( CROSS(大风险2,70),3) AND G>X AND K线风险>55 ,120,'突J' ),colorred;
DRAWTEXT (FILTER ( HC1,3) ,j-10,'红叉' ),colorgreen;
DRAWTEXT (FILTER ( HC1,3) ,j-10,'红' ),colorred;
DRAWTEXT (FILTER ( HC1,3) AND C>SAR1,k+10,'红中红' ),colorred;
风险1=(下穿风险>55 AND G>70 AND J>52) OR (k线风险>88 AND G>70 AND J>55);
有风险 = J>75 OR G>93 OR K>61 OR C<O OR G<K OR 风险1 OR G-J>45 OR (K>50 AND K>J) OR BARSLAST(HC1)>9.5 OR j5<j5a ;
GG=CROSS(G,J) AND G<66 AND NL>0 ;
买金叉= CROSS(J,K) AND LLV( NL,6 )>0 ;
DRAWTEXT (FILTER ( 买金叉,3) AND 有风险 ,180,'买金叉有风险' ),colorgreen;
DRAWTEXT (FILTER ( 买金叉,3) ,180,'买金叉' ),colorred;
DRAWICON ((买金叉 AND J>36 AND 动力向上 AND G>40) ,k,7 );
DRAWICON ((GG AND J>36 AND 动力向上 AND G>40) ,k-10,1 );
DRAWTEXT ((GG AND J>36 AND 动力向上 AND G>40) AND 有风险 ,20,'买有风险' ),colorgreen;
DRAWTEXT ((GG AND J>36 AND 动力向上 AND G>40) ,20,'买' ),colorred;
减仓=CROSS(90,G) OR CROSS(100,G) OR (CROSS(80,G) AND G>70) OR(( CROSS(J,G)AND J<J1 ) ); // CROSS(80,G) OR( CROSS(J,G) AND J<J1) OR CROSS(100,G) OR
DRAWTEXT ( FILTER(减仓,3)AND C<O AND J5<J5A,80,'减仓' ),colorgreen;
FD3=(CH3-C)/CH3*100;
FD1=(C2 - C1)/C2*100;
加仓=C1<C2 AND C2<C3 AND FD3>2.5 AND FD1>1.1;
DRAWTEXT ( 加仓 AND C<O AND J5>J5A,90,'加仓' ),colorblue;
DRAWTEXT ( 加仓 AND C<O AND J5>J5A,90,'加' ),colorred;
惊天线=SAR_S(5,2,10);
昨惊天线 = REF(惊天线,1 );
前惊天线 = REF(惊天线,2 );
昨最低 = REF(LL1,1 );
前最低 = REF(LL1,2 );
昨最高 = REF(CH1,1 );
前最高 = REF(CH1,2 );
日幅度=(C - C2)/C2*100;
CH20=HHV(C,5);
日20幅度=(CH20 - LLV(C,20))/C*100;
大顶出现 = CH1>昨最高 AND 日幅度<-2 AND 日20幅度>20 AND C<O ;
DRAWTEXT ( 大顶出现 ,120,'大顶'),colorgreen;
DRAWTEXT ( 大顶出现 AND V1>V2 ,120,'大顶出现'),colorgreen;
转绿 = 惊天线>=LL1 AND 昨最低>昨惊天线 ;// AND 昨最低>昨惊天线 AND 前最低>前惊天线
转红 = CH1>= 惊天线 AND 昨最高<昨惊天线 ;
DRAWTEXT ( 转绿 ,10,'转绿' ),colorgreen;
DRAWTEXT ( 转红 ,10,'转红' ),colorred;