精简主图指标源码[通达信公式]
相关标签: 精简主图指标源码,精简游戏外挂网源码 、 丁丁五线主图指标源码 、 通天心主图指标源码 、 短线是银主图指标源码 、 博弈主图指标公式源码 、 同花顺主图筹码峰源码 、 智策波段淘金主图源码 、 空中加油主图源码 、 丁丁主图指标源码 、
精简主图(主图、源码、贴图)
QQ:=C<3;
MM:=3>ref(3,1) AND ref(3,1)<ref(3,2) ;
超买:MA(C,10)*IF(CAPITAL=0,1.04,1.1),POINTDOT,COLORGREEN,LINETHICK2;
超卖:MA(C,10)*IF(CAPITAL=0,0.95,0.9),POINTDOT,COLORRED,LINETHICK2;
趋势线:EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42);
获利盘%:WINNER(CLOSE)*100,NODRAW;
V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
V2:=(1-7/100)*(DMA(CLOSE,V1));
V3:=(1+7/100)*(DMA(CLOSE,V1));
V5:=MA((LOW+HIGH+CLOSE)/3,5);
VAR1:=CLOSE=HHV(C,4) AND (ref(C,1)>=ref(C,2) OR ref(C,1)>=ref(C,3))
OR ref(C,1)=HHV(C,4) AND CLOSE>=ref(C,2) OR ref(C,2)=HHV(C,4) AND
ref(C,3)=LLV(C,4) AND C>=ref(C,1) OR ref(C,3)=HHV(C,4) AND
C>=ref(C,1) AND C>=ref(C,2);
{收盘价=4日内收盘价的最高值 AND 昨收>=2日前的收盘价}
VAR2:=CLOSE=HHV(C,4) AND ref(C,1)=LLV(C,4);
{收盘价=4日内收盘价的最高值 AND 昨收=4日内收盘价的最低值}
VAR3:=CLOSE=LLV(C,4) AND (ref(C,1)<ref(C,2) OR ref(C,1)<ref(C,3)) OR
ref(C,1)=LLV(C,4) AND C<ref(C,2) OR ref(C,2)=LLV(C,4) AND {内容来至程序化交易网 CXH99.COM}
ref(C,1)=HHV(C,4) AND C<ref(C,1) OR ref(C,3)=LLV(C,4) AND
C<ref(C,1) AND C<ref(C,2);
{收盘价=4日内收盘价的最低值 AND (昨收<2日前的收盘价}
VAR4:=ref(C,1)=LLV(C,4) AND C>=ref(C,2) OR ref(C,2)=LLV(C,4) AND
ref(C,1)<=ref(C,3) AND ref(C,2)<ref(C,4) AND C>=ref(C,1);
{昨收=4日内收盘价的最低值 AND 收盘价>=2日前的收盘价}
VAR5:=ref(C,1)=HHV(C,4) AND C<ref(C,2) OR (ref(C,2)=HHV(C,4) AND
ref(C,1)>ref(C,3) OR ref(C,3)=HHV(C,4) AND ref(C,1)>ref(C,2)) AND
ref(C,2)>=ref(C,4) AND C<ref(C,1);
{昨收=4日内收盘价的最高值 AND 收盘价<2日前的收盘价}
VAR6:=V5>ref(V5,1) AND ref(V5,1)<ref(V5,2);
{今日V5向上形成拐点}
VAR7:=LOW<HHV(V5,13) AND HIGH>HHV(V5,13) AND CLOSE>ref(C,1) AND CLOSE>OPEN;
VAR8:=VAR7 AND COUNT(VAR6,2);
VAR9:=100*EMA(EMA(C-ref(C,1),6),6)/EMA(EMA(ABS(C-ref(C,1)),6),6);
VAR10:=EMA(MA(C,13),13);
VAR11:=FILTER((LLV(VAR9,2)=LLV(VAR9,7) AND COUNT(VAR9<0,2) AND
CROSS(VAR9,MA(VAR9,2)))=1,5);
VAR12:=FILTER((HHV(VAR9,2)=HHV(VAR9,7) AND COUNT(VAR9>50,2) AND {本文来至CXH99.COM}
CROSS(MA(VAR9,2),VAR9))=1,1);
VAR13:=SMA(EMA((C-ref(C,1))/ref(C,1),5)*100,3,1)*10;
VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3);
VAR15:=MA(C,18)>=ref(MA(C,18),3) AND CROSS(C,MA(C,18));
VAR16:=VAR8 AND NOT(ref(VAR8,1));
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
金叉:=CROSS(J,D);
死叉:=CROSS(D,J);
买1:=(VAR14 OR VAR15) AND VAR11;
买2:=(VAR14 OR VAR15) AND VAR4;
买3:=(VAR14 OR VAR15) AND VAR2;
买4:=(VAR2 AND VAR11) OR (VAR4 AND VAR11);
买5:=(金叉 AND VAR4) OR (金叉 AND VAR2) OR (金叉 AND VAR11);
STICKLINE(金叉,OPEN,CLOSE,0.5,0),COLORYELLOW;
STICKLINE(死叉,OPEN,CLOSE,0.5,0),COLOR000066;
DRAWICON(VAR16,LOW-0.02,15);
DRAWICON(买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MM,LOW-0.05,15);
DRAWICON(死叉 OR CROSS(50,VAR9) AND QQ AND K>50,HIGH+0.01,2);
X1:=(C+L+H)/3;
BB5:=ATAN(EMA(X1,7)-ref(EMA(X1,7),1))*3.1416*10;
EMA3:=EMA(C,3);
DRAWTEXT(FILTER(BB5>1 AND EMA(X1,7)>ref(EMA(X1,7),1),10),
LOW*0.99,'★∠45'),COLORFFFFFF;
VAR81:=1;
VAR82:=((((2*CLOSE)+HIGH)+LOW) / 4);
低金叉进:=20;
高死叉出:=90;
VAR84:=LLV(LOW,5);
VAR85:=HHV(HIGH,4);
C1:=(EMA((((VAR82-VAR84)/(VAR85-VAR84))*100),4)*VAR81);
C2:=(EMA(((0.667*ref(C1,1))+(0.333*C1)),2)*VAR81);
条件:=CROSS(C1,C2) AND C1<40;
条件0:=CROSS(C2,C1) AND C1>90;
TJ1:=CROSS(C1,C2);
TJ2:=CROSS(C2,C1);
TJ3:=CROSS(C1,C2) AND ref(C1,1)<20;
TJ4:=CROSS(C2,C1) AND ref(C1,1)>80;
DRAWTEXT(条件0,H*1.02,'S'),COLORBLUE;
DRAWTEXT(TJ3 AND MM,L*0.98,'底');
DRAWTEXT(TJ4 AND QQ,H*1.02,'逃');
水平面:=EMA(CLOSE,89);
AAA:=(3*C+H+L+O)/6;
短趋:=(8*AAA+7*ref(AAA,1)+6*ref(AAA,2)+5*ref(AAA,3)+4*ref(AAA,4)+3*ref(AAA,5)+2*ref(AAA,6)+ref(AAA,8))/36;
中趋:=(LLV(短趋,2)+LLV(短趋,4)+LLV(短趋,6))/3;
TTJ1:=VOL=HHV(VOL,10) AND VOL>2*ref(VOL,1) AND CLOSE>短趋;
立桩量:=FILTER(TTJ1,5);
TTJ2:=IF(BARSLAST(立桩量)=1 AND CLOSE>ref(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>ref(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>ref(HIGH,3),1,0)));
突破:=TTJ2=1;
TTJ3:=IF(BARSLAST(立桩量)=1 AND CLOSE>ref(LOW,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>ref(LOW,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>ref(LOW,3),1,0)));
三天法则:=TTJ3=1;
成立:=三天法则 AND 突破;
条件成立:=FILTER(成立,3);
DRAWTEXT(条件成立,L*0.93,'桩'),COLOR00FFFF;
VAR90:=((((HHV((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)
-EMA(DCLOSE,26)),9)))*2),4)<0) AND ((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-
(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2)>ref((((EMA(DCLOSE,12)
-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),1)))
AND (ref((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-
EMA(DCLOSE,26)),9)))*2),1)<ref((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-
(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),2))) AND (ref((((EMA(DCLOSE,12)
-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),2)
<ref((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,
26)),9)))*2),3)));
DRAWTEXT(VAR90 AND MM,L*0.98,'买'),COLORRED;
DRAWTEXT(CROSS(MA(C,3),MA(C,9)) AND C>=ref(C,1) AND C>O,L*0.98,'追'),COLORMAGENTA;
低点:=ref(LLV(L,250),3);
VAR111:=(2)*(MA((LLV((CLOSE + LOW)/(2),8))*(1.1),13)) - EMA((CLOSE + LOW)/(2),3) -
((CLOSE + LOW)/(2))*(0.1);
VAR211:=IF(((EMA((CLOSE + LOW)/(2),3) - VAR111)*(5) > 0),(POW((EMA((CLOSE +
LOW)/(2),3) - VAR111)*(5),2))/(10),(((-1))*(POW((EMA((CLOSE + LOW)/(2),3) -
VAR111)*(5),2)))/(10));{本文来源:'www.328588.com' }
VAR311:=IF((VAR211 > 0),VAR211 - 0,(-1));
DRAWTEXT(CROSS(VAR311,0) AND ((CLOSE + LOW)/(2) > MA((CLOSE +
LOW)/(2),8)),(H)*(1.01),'绝杀'),LINETHICK2,COLORYELLOW;
如果以上指标公式不适用于您常用的行情软件
或者您想改编成选股公式,以便快速选出某种形态个股的话,
- 上一篇:短线加仓逃顶源码 主图指标
- 下一篇:没有了!
相关文章
-
没有相关内容