首页 > 专栏 > 机构专栏 > 机构白银>正文

通达信diff指标的角度(求个通达信公式:LON中,黄线大于等于白线?)

机构白银
来源:中亿财经网 作者:gengxing 时间:2023-09-15 05:38:17
1. 求个通达信公式:LON中,黄线大于等于白线?LC := REF(CLOSE,1);VID := SUM(VOL,2)/(((HHV(HIGH,2)-LLV(LOW,2)))*100);RC := (CLOSE-LC)*VID;LONG := SUM(RC,0);DIFF :=

1. 求个通达信公式:LON中,黄线大于等于白线?

LC := REF(CLOSE,1);9Ej中亿财经网财经门户

VID := SUM(VOL,2)/(((HHV(HIGH,2)-LLV(LOW,2)))*100);9Ej中亿财经网财经门户

RC := (CLOSE-LC)*VID;9Ej中亿财经网财经门户

LONG := SUM(RC,0);9Ej中亿财经网财经门户

DIFF := SMA(LONG,10,1);9Ej中亿财经网财经门户

DEA := SMA(LONG,20,1);9Ej中亿财经网财经门户

LON : =DIFF-DEA;9Ej中亿财经网财经门户

LONMA := MA(LON,10);9Ej中亿财经网财经门户

LON>=LONMA; 9Ej中亿财经网财经门户

2. DIF.DEA大于0轨,选股公式编写?

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);9Ej中亿财经网财经门户

DEA:=EMA(DIF,9);9Ej中亿财经网财经门户

MACD:=(DIF-DEA)*2; 9Ej中亿财经网财经门户

XG:CROSS(MACD,0) AND REF(CROSS(0,MACD),3); 9Ej中亿财经网财经门户

3. 编制MACD中DIFF背离画线公式(通达信)?

A1:=BARSLAST(REF(CROSS(MACD.DIF,MACD.DEA),1)); 底背离:REF(CLOSE,A1+1)>CLOSEANDMACD.DIF>REF(MACD.DIF,A1+1)ANDCROSS(MACD.DIF,MACD.DEA);9Ej中亿财经网财经门户

4. DIF.DEA大于0轨,选股公式编写?

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);9Ej中亿财经网财经门户

DEA:=EMA(DIF,9);9Ej中亿财经网财经门户

MACD:=(DIF-DEA)*2; 9Ej中亿财经网财经门户

XG:CROSS(MACD,0) AND REF(CROSS(0,MACD),3); 9Ej中亿财经网财经门户

5. 通达信抛压指标公式?

VARA:=EMA(REF(CLOSE,1),4); 9Ej中亿财经网财经门户

色彩峰:(SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100); 9Ej中亿财经网财经门户

STICKLINE(色彩峰,0,150,5,0),COLORDDA85C;9Ej中亿财经网财经门户

STICKLINE(色彩峰,0,-50,5,0),COLORE7B400;9Ej中亿财经网财经门户

STICKLINE(色彩峰>0,0,色彩峰,5,0),COLOR1E1E64;9Ej中亿财经网财经门户

AA:=100*EMA((100*(HIGH-REF(LOW,1))/REF(LOW,1)-2.618),2);9Ej中亿财经网财经门户

VARA1:=VOL/CAPITAL/100< 0.015;9Ej中亿财经网财经门户

VARA2:=C/REF(C,1)> 1.05 AND C>O; 9Ej中亿财经网财经门户

VARA3:=CLOSE<=1.47*LLV(CLOSE,58) AND CLOSE<=15; 9Ej中亿财经网财经门户

VARA4:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));9Ej中亿财经网财经门户

VARZ:=IF(VARA1 AND VARA2 AND VARA4<40,1,0);9Ej中亿财经网财经门户

PF1 :=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; 9Ej中亿财经网财经门户

RSV:=SMA(PF1,9,1);9Ej中亿财经网财经门户

DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);9Ej中亿财经网财经门户

DEA :=EMA(DIFF,9);9Ej中亿财经网财经门户

MACD1:=2000* (2*(DIFF-DEA))/EMA(C,30);9Ej中亿财经网财经门户

FASTK1:=SMA(RSV,3,1);9Ej中亿财经网财经门户

K1:=SMA(FASTK1,2,1), COLORYELLOW;9Ej中亿财经网财经门户

D1:=SMA(K1,5,1),COLOR006CB5;9Ej中亿财经网财经门户

T3:=(K1-D1)>REF((K1-D1),5);9Ej中亿财经网财经门户

STICKLINE(MACD1>=0,0,MACD1,4,0) ,COLOR666666;9Ej中亿财经网财经门户

STICKLINE(MACD1>=0 AND MACD1>REF(MACD1,1),0,MACD1,3,0),COLORAAAAAA;9Ej中亿财经网财经门户

STICKLINE(MACD1<0,0, 0.3*MACD1,4,0), COLOR666666;9Ej中亿财经网财经门户

STICKLINE(MACD1<0 AND MACD1>REF(MACD1,1),0,0.3*MACD1,3,0),COLOR9A9A9A;9Ej中亿财经网财经门户

RSV2:= (CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;9Ej中亿财经网财经门户

FASTK:=SMA(RSV2,3,1);9Ej中亿财经网财经门户

K:SMA(FASTK,2,1), COLORYELLOW;9Ej中亿财经网财经门户

D:=SMA(K,5,1),COLOR006CB5;9Ej中亿财经网财经门户

多方拱桥:IF(K1>=D1,D1,DRAWNULL),NODRAW,COLORRED;9Ej中亿财经网财经门户

空方拱桥:IF(K1<=D1,D1,DRAWNULL),NODRAW,COLORGREEN;9Ej中亿财经网财经门户

STICKLINE(K1>=D1,D1,K1,3,0),COLORRED;9Ej中亿财经网财经门户

STICKLINE(K1<=D1,D1,K1,3,0),COLORBLUE;9Ej中亿财经网财经门户

跟庄多头:IF(K>=D,D,DRAWNULL),NODRAW,COLORMAGENTA;9Ej中亿财经网财经门户

跟庄空头:IF(K<=D,D,DRAWNULL),NODRAW,COLORLICYAN;9Ej中亿财经网财经门户

STICKLINE(K>=D,D,K,1,0),COLORMAGENTA;9Ej中亿财经网财经门户

STICKLINE(K<=D,D,K,1,0),COLORWHITE;9Ej中亿财经网财经门户

{短进:DRAWICON(CROSS(MACD1,150),150,1);}9Ej中亿财经网财经门户

DRAWTEXT(色彩峰<3.5,-30,'■'),COLORDBDBDB;9Ej中亿财经网财经门户

DRAWTEXT(色彩峰<3.5,-30,'?'),COLORC18E68;9Ej中亿财经网财经门户

DRAWTEXT(CROSS(色彩峰,90),98,'?'),COLORFFFFFF;9Ej中亿财经网财经门户

DRAWICON(CROSS(MACD1,150),150,1);9Ej中亿财经网财经门户

出航:FILTER(MACD1<0 AND MACD1>REF(MACD1,1) AND 色彩峰<20,5), COLORBROWN;9Ej中亿财经网财经门户

DRAWICON(MACD1>0 AND MACD1>REF(MACD1,1)*2 AND REF(MACD1,1)>0,0,9);9Ej中亿财经网财经门户

DRAWTEXT(FILTER(MACD<0 AND MACD>REF(MACD,1) AND 色彩峰<20,5) AND T3,-1,'▲'),COLORFFFFFF;9Ej中亿财经网财经门户

抛压筹码:IF(色彩峰>0,色彩峰,DRAWNULL),NODRAW,COLOR1E1E64;9Ej中亿财经网财经门户

主控力度:IF(MACD1>=0,MACD1,DRAWNULL),NODRAW ,COLOR666666;9Ej中亿财经网财经门户

价值引力:IF(MACD1<0,MACD1,DRAWNULL),NODRAW ,COLOR666666;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.00,0.00,0,'【红】多方拱桥'),COLORRED;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.10,0.00,0,'【白】空方拱桥'),COLORWHITE;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.20,0.00,0,'【粉】跟庄多头'),COLORMAGENTA;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.30,0.00,0,'【蓝】跟庄空头'),COLORBLUE;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.40,0.00,0,'【紫】抛压筹码'),COLOR1E1E64;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.50,0.00,0,'【灰】主控力度'),COLOR666666;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.60,0.00,0,'【-灰】价值引力'),COLOR666666;9Ej中亿财经网财经门户

6. 求个通达信公式:LON中,黄线大于等于白线?

LC := REF(CLOSE,1);9Ej中亿财经网财经门户

VID := SUM(VOL,2)/(((HHV(HIGH,2)-LLV(LOW,2)))*100);9Ej中亿财经网财经门户

RC := (CLOSE-LC)*VID;9Ej中亿财经网财经门户

LONG := SUM(RC,0);9Ej中亿财经网财经门户

DIFF := SMA(LONG,10,1);9Ej中亿财经网财经门户

DEA := SMA(LONG,20,1);9Ej中亿财经网财经门户

LON : =DIFF-DEA;9Ej中亿财经网财经门户

LONMA := MA(LON,10);9Ej中亿财经网财经门户

LON>=LONMA; 9Ej中亿财经网财经门户

7. 通达信选股公式怎么合并,输出不能超过一个,求老师帮忙?

{信号同时满足}9Ej中亿财经网财经门户

{公式一 }9Ej中亿财经网财经门户

DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);9Ej中亿财经网财经门户

DEA:=EMA(DIFF,5);9Ej中亿财经网财经门户

A1:=DIFF>DEA;9Ej中亿财经网财经门户

RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;9Ej中亿财经网财经门户

K:=SMA(RSV1,3,1);9Ej中亿财经网财经门户

D:=SMA(K,3,1);9Ej中亿财经网财经门户

A2:=K>D;9Ej中亿财经网财经门户

LC:=REF(CLOSE,1);9Ej中亿财经网财经门户

RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;9Ej中亿财经网财经门户

RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;9Ej中亿财经网财经门户

A3:=RSI1>RSI2;9Ej中亿财经网财经门户

RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;9Ej中亿财经网财经门户

LWR1:=SMA(RSV,3,1);9Ej中亿财经网财经门户

LWR2:=SMA(LWR1,3,1);9Ej中亿财经网财经门户

A4:=LWR1>LWR2;9Ej中亿财经网财经门户

BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;9Ej中亿财经网财经门户

A5:=CLOSE>BBI;9Ej中亿财经网财经门户

MTM:=CLOSE-REF(CLOSE,1);9Ej中亿财经网财经门户

MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);9Ej中亿财经网财经门户

MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);9Ej中亿财经网财经门户

A6:=MMS>MMM;9Ej中亿财经网财经门户

涨买入:=IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,7,0);9Ej中亿财经网财经门户

{公式二}9Ej中亿财经网财经门户

丁丁1:=EMA(C,3);9Ej中亿财经网财经门户

丁丁2:=EMA(C,5);9Ej中亿财经网财经门户

丁丁3:=EMA(C,7);9Ej中亿财经网财经门户

丁丁4:=EMA(C,12);9Ej中亿财经网财经门户

丁丁5:=EMA(C,20);9Ej中亿财经网财经门户

SS:=CROSS(丁丁1,丁丁2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁1,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁1,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁1,丁丁4);9Ej中亿财经网财经门户

DD:=CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁5) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁3,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁1,丁丁5);9Ej中亿财经网财经门户

XG:涨买入 AND SS AND DD;9Ej中亿财经网财经门户

=======================9Ej中亿财经网财经门户

{满足其中一个信号}9Ej中亿财经网财经门户

{公式一 }9Ej中亿财经网财经门户

DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);9Ej中亿财经网财经门户

DEA:=EMA(DIFF,5);9Ej中亿财经网财经门户

A1:=DIFF>DEA;9Ej中亿财经网财经门户

RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;9Ej中亿财经网财经门户

K:=SMA(RSV1,3,1);9Ej中亿财经网财经门户

D:=SMA(K,3,1);9Ej中亿财经网财经门户

A2:=K>D;9Ej中亿财经网财经门户

LC:=REF(CLOSE,1);9Ej中亿财经网财经门户

RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;9Ej中亿财经网财经门户

RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;9Ej中亿财经网财经门户

A3:=RSI1>RSI2;9Ej中亿财经网财经门户

RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;9Ej中亿财经网财经门户

LWR1:=SMA(RSV,3,1);9Ej中亿财经网财经门户

LWR2:=SMA(LWR1,3,1);9Ej中亿财经网财经门户

A4:=LWR1>LWR2;9Ej中亿财经网财经门户

BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;9Ej中亿财经网财经门户

A5:=CLOSE>BBI;9Ej中亿财经网财经门户

MTM:=CLOSE-REF(CLOSE,1);9Ej中亿财经网财经门户

MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);9Ej中亿财经网财经门户

MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);9Ej中亿财经网财经门户

A6:=MMS>MMM;9Ej中亿财经网财经门户

涨买入:=IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,7,0);9Ej中亿财经网财经门户

{公式二}9Ej中亿财经网财经门户

丁丁1:=EMA(C,3);9Ej中亿财经网财经门户

丁丁2:=EMA(C,5);9Ej中亿财经网财经门户

丁丁3:=EMA(C,7);9Ej中亿财经网财经门户

丁丁4:=EMA(C,12);9Ej中亿财经网财经门户

丁丁5:=EMA(C,20);9Ej中亿财经网财经门户

SS:=CROSS(丁丁1,丁丁2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁1,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁1,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁1,丁丁4);9Ej中亿财经网财经门户

DD:=CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁5) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁3,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁1,丁丁5);9Ej中亿财经网财经门户

XG:涨买入 OR SS OR DD;9Ej中亿财经网财经门户

8. 通达信选股公式怎么合并,输出不能超过一个,求老师帮忙?

{信号同时满足}9Ej中亿财经网财经门户

{公式一 }9Ej中亿财经网财经门户

DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);9Ej中亿财经网财经门户

DEA:=EMA(DIFF,5);9Ej中亿财经网财经门户

A1:=DIFF>DEA;9Ej中亿财经网财经门户

RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;9Ej中亿财经网财经门户

K:=SMA(RSV1,3,1);9Ej中亿财经网财经门户

D:=SMA(K,3,1);9Ej中亿财经网财经门户

A2:=K>D;9Ej中亿财经网财经门户

LC:=REF(CLOSE,1);9Ej中亿财经网财经门户

RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;9Ej中亿财经网财经门户

RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;9Ej中亿财经网财经门户

A3:=RSI1>RSI2;9Ej中亿财经网财经门户

RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;9Ej中亿财经网财经门户

LWR1:=SMA(RSV,3,1);9Ej中亿财经网财经门户

LWR2:=SMA(LWR1,3,1);9Ej中亿财经网财经门户

A4:=LWR1>LWR2;9Ej中亿财经网财经门户

BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;9Ej中亿财经网财经门户

A5:=CLOSE>BBI;9Ej中亿财经网财经门户

MTM:=CLOSE-REF(CLOSE,1);9Ej中亿财经网财经门户

MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);9Ej中亿财经网财经门户

MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);9Ej中亿财经网财经门户

A6:=MMS>MMM;9Ej中亿财经网财经门户

涨买入:=IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,7,0);9Ej中亿财经网财经门户

{公式二}9Ej中亿财经网财经门户

丁丁1:=EMA(C,3);9Ej中亿财经网财经门户

丁丁2:=EMA(C,5);9Ej中亿财经网财经门户

丁丁3:=EMA(C,7);9Ej中亿财经网财经门户

丁丁4:=EMA(C,12);9Ej中亿财经网财经门户

丁丁5:=EMA(C,20);9Ej中亿财经网财经门户

SS:=CROSS(丁丁1,丁丁2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁1,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁1,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁1,丁丁4);9Ej中亿财经网财经门户

DD:=CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁5) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁3,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁1,丁丁5);9Ej中亿财经网财经门户

XG:涨买入 AND SS AND DD;9Ej中亿财经网财经门户

=======================9Ej中亿财经网财经门户

{满足其中一个信号}9Ej中亿财经网财经门户

{公式一 }9Ej中亿财经网财经门户

DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);9Ej中亿财经网财经门户

DEA:=EMA(DIFF,5);9Ej中亿财经网财经门户

A1:=DIFF>DEA;9Ej中亿财经网财经门户

RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;9Ej中亿财经网财经门户

K:=SMA(RSV1,3,1);9Ej中亿财经网财经门户

D:=SMA(K,3,1);9Ej中亿财经网财经门户

A2:=K>D;9Ej中亿财经网财经门户

LC:=REF(CLOSE,1);9Ej中亿财经网财经门户

RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;9Ej中亿财经网财经门户

RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;9Ej中亿财经网财经门户

A3:=RSI1>RSI2;9Ej中亿财经网财经门户

RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;9Ej中亿财经网财经门户

LWR1:=SMA(RSV,3,1);9Ej中亿财经网财经门户

LWR2:=SMA(LWR1,3,1);9Ej中亿财经网财经门户

A4:=LWR1>LWR2;9Ej中亿财经网财经门户

BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;9Ej中亿财经网财经门户

A5:=CLOSE>BBI;9Ej中亿财经网财经门户

MTM:=CLOSE-REF(CLOSE,1);9Ej中亿财经网财经门户

MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);9Ej中亿财经网财经门户

MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);9Ej中亿财经网财经门户

A6:=MMS>MMM;9Ej中亿财经网财经门户

涨买入:=IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,7,0);9Ej中亿财经网财经门户

{公式二}9Ej中亿财经网财经门户

丁丁1:=EMA(C,3);9Ej中亿财经网财经门户

丁丁2:=EMA(C,5);9Ej中亿财经网财经门户

丁丁3:=EMA(C,7);9Ej中亿财经网财经门户

丁丁4:=EMA(C,12);9Ej中亿财经网财经门户

丁丁5:=EMA(C,20);9Ej中亿财经网财经门户

SS:=CROSS(丁丁1,丁丁2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁1,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁1,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁1,丁丁4);9Ej中亿财经网财经门户

DD:=CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁5) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁3,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁1,丁丁5);9Ej中亿财经网财经门户

XG:涨买入 OR SS OR DD;9Ej中亿财经网财经门户

9. DIF.DEA大于0轨,选股公式编写?

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);9Ej中亿财经网财经门户

DEA:=EMA(DIF,9);9Ej中亿财经网财经门户

MACD:=(DIF-DEA)*2; 9Ej中亿财经网财经门户

XG:CROSS(MACD,0) AND REF(CROSS(0,MACD),3); 9Ej中亿财经网财经门户

10. 求个通达信公式:LON中,黄线大于等于白线?

LC := REF(CLOSE,1);9Ej中亿财经网财经门户

VID := SUM(VOL,2)/(((HHV(HIGH,2)-LLV(LOW,2)))*100);9Ej中亿财经网财经门户

RC := (CLOSE-LC)*VID;9Ej中亿财经网财经门户

LONG := SUM(RC,0);9Ej中亿财经网财经门户

DIFF := SMA(LONG,10,1);9Ej中亿财经网财经门户

DEA := SMA(LONG,20,1);9Ej中亿财经网财经门户

LON : =DIFF-DEA;9Ej中亿财经网财经门户

LONMA := MA(LON,10);9Ej中亿财经网财经门户

LON>=LONMA; 9Ej中亿财经网财经门户

11. 通达信选股公式怎么合并,输出不能超过一个,求老师帮忙?

{信号同时满足}9Ej中亿财经网财经门户

{公式一 }9Ej中亿财经网财经门户

DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);9Ej中亿财经网财经门户

DEA:=EMA(DIFF,5);9Ej中亿财经网财经门户

A1:=DIFF>DEA;9Ej中亿财经网财经门户

RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;9Ej中亿财经网财经门户

K:=SMA(RSV1,3,1);9Ej中亿财经网财经门户

D:=SMA(K,3,1);9Ej中亿财经网财经门户

A2:=K>D;9Ej中亿财经网财经门户

LC:=REF(CLOSE,1);9Ej中亿财经网财经门户

RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;9Ej中亿财经网财经门户

RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;9Ej中亿财经网财经门户

A3:=RSI1>RSI2;9Ej中亿财经网财经门户

RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;9Ej中亿财经网财经门户

LWR1:=SMA(RSV,3,1);9Ej中亿财经网财经门户

LWR2:=SMA(LWR1,3,1);9Ej中亿财经网财经门户

A4:=LWR1>LWR2;9Ej中亿财经网财经门户

BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;9Ej中亿财经网财经门户

A5:=CLOSE>BBI;9Ej中亿财经网财经门户

MTM:=CLOSE-REF(CLOSE,1);9Ej中亿财经网财经门户

MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);9Ej中亿财经网财经门户

MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);9Ej中亿财经网财经门户

A6:=MMS>MMM;9Ej中亿财经网财经门户

涨买入:=IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,7,0);9Ej中亿财经网财经门户

{公式二}9Ej中亿财经网财经门户

丁丁1:=EMA(C,3);9Ej中亿财经网财经门户

丁丁2:=EMA(C,5);9Ej中亿财经网财经门户

丁丁3:=EMA(C,7);9Ej中亿财经网财经门户

丁丁4:=EMA(C,12);9Ej中亿财经网财经门户

丁丁5:=EMA(C,20);9Ej中亿财经网财经门户

SS:=CROSS(丁丁1,丁丁2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁1,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁1,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁1,丁丁4);9Ej中亿财经网财经门户

DD:=CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁5) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁3,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁1,丁丁5);9Ej中亿财经网财经门户

XG:涨买入 AND SS AND DD;9Ej中亿财经网财经门户

=======================9Ej中亿财经网财经门户

{满足其中一个信号}9Ej中亿财经网财经门户

{公式一 }9Ej中亿财经网财经门户

DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);9Ej中亿财经网财经门户

DEA:=EMA(DIFF,5);9Ej中亿财经网财经门户

A1:=DIFF>DEA;9Ej中亿财经网财经门户

RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;9Ej中亿财经网财经门户

K:=SMA(RSV1,3,1);9Ej中亿财经网财经门户

D:=SMA(K,3,1);9Ej中亿财经网财经门户

A2:=K>D;9Ej中亿财经网财经门户

LC:=REF(CLOSE,1);9Ej中亿财经网财经门户

RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;9Ej中亿财经网财经门户

RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;9Ej中亿财经网财经门户

A3:=RSI1>RSI2;9Ej中亿财经网财经门户

RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;9Ej中亿财经网财经门户

LWR1:=SMA(RSV,3,1);9Ej中亿财经网财经门户

LWR2:=SMA(LWR1,3,1);9Ej中亿财经网财经门户

A4:=LWR1>LWR2;9Ej中亿财经网财经门户

BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;9Ej中亿财经网财经门户

A5:=CLOSE>BBI;9Ej中亿财经网财经门户

MTM:=CLOSE-REF(CLOSE,1);9Ej中亿财经网财经门户

MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);9Ej中亿财经网财经门户

MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);9Ej中亿财经网财经门户

A6:=MMS>MMM;9Ej中亿财经网财经门户

涨买入:=IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,7,0);9Ej中亿财经网财经门户

{公式二}9Ej中亿财经网财经门户

丁丁1:=EMA(C,3);9Ej中亿财经网财经门户

丁丁2:=EMA(C,5);9Ej中亿财经网财经门户

丁丁3:=EMA(C,7);9Ej中亿财经网财经门户

丁丁4:=EMA(C,12);9Ej中亿财经网财经门户

丁丁5:=EMA(C,20);9Ej中亿财经网财经门户

SS:=CROSS(丁丁1,丁丁2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁1,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁1,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁1,丁丁4);9Ej中亿财经网财经门户

DD:=CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁5) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁3,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁1,丁丁5);9Ej中亿财经网财经门户

XG:涨买入 OR SS OR DD;9Ej中亿财经网财经门户

12. 通达信抛压指标公式?

VARA:=EMA(REF(CLOSE,1),4); 9Ej中亿财经网财经门户

色彩峰:(SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100); 9Ej中亿财经网财经门户

STICKLINE(色彩峰,0,150,5,0),COLORDDA85C;9Ej中亿财经网财经门户

STICKLINE(色彩峰,0,-50,5,0),COLORE7B400;9Ej中亿财经网财经门户

STICKLINE(色彩峰>0,0,色彩峰,5,0),COLOR1E1E64;9Ej中亿财经网财经门户

AA:=100*EMA((100*(HIGH-REF(LOW,1))/REF(LOW,1)-2.618),2);9Ej中亿财经网财经门户

VARA1:=VOL/CAPITAL/100< 0.015;9Ej中亿财经网财经门户

VARA2:=C/REF(C,1)> 1.05 AND C>O; 9Ej中亿财经网财经门户

VARA3:=CLOSE<=1.47*LLV(CLOSE,58) AND CLOSE<=15; 9Ej中亿财经网财经门户

VARA4:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));9Ej中亿财经网财经门户

VARZ:=IF(VARA1 AND VARA2 AND VARA4<40,1,0);9Ej中亿财经网财经门户

PF1 :=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; 9Ej中亿财经网财经门户

RSV:=SMA(PF1,9,1);9Ej中亿财经网财经门户

DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);9Ej中亿财经网财经门户

DEA :=EMA(DIFF,9);9Ej中亿财经网财经门户

MACD1:=2000* (2*(DIFF-DEA))/EMA(C,30);9Ej中亿财经网财经门户

FASTK1:=SMA(RSV,3,1);9Ej中亿财经网财经门户

K1:=SMA(FASTK1,2,1), COLORYELLOW;9Ej中亿财经网财经门户

D1:=SMA(K1,5,1),COLOR006CB5;9Ej中亿财经网财经门户

T3:=(K1-D1)>REF((K1-D1),5);9Ej中亿财经网财经门户

STICKLINE(MACD1>=0,0,MACD1,4,0) ,COLOR666666;9Ej中亿财经网财经门户

STICKLINE(MACD1>=0 AND MACD1>REF(MACD1,1),0,MACD1,3,0),COLORAAAAAA;9Ej中亿财经网财经门户

STICKLINE(MACD1<0,0, 0.3*MACD1,4,0), COLOR666666;9Ej中亿财经网财经门户

STICKLINE(MACD1<0 AND MACD1>REF(MACD1,1),0,0.3*MACD1,3,0),COLOR9A9A9A;9Ej中亿财经网财经门户

RSV2:= (CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;9Ej中亿财经网财经门户

FASTK:=SMA(RSV2,3,1);9Ej中亿财经网财经门户

K:SMA(FASTK,2,1), COLORYELLOW;9Ej中亿财经网财经门户

D:=SMA(K,5,1),COLOR006CB5;9Ej中亿财经网财经门户

多方拱桥:IF(K1>=D1,D1,DRAWNULL),NODRAW,COLORRED;9Ej中亿财经网财经门户

空方拱桥:IF(K1<=D1,D1,DRAWNULL),NODRAW,COLORGREEN;9Ej中亿财经网财经门户

STICKLINE(K1>=D1,D1,K1,3,0),COLORRED;9Ej中亿财经网财经门户

STICKLINE(K1<=D1,D1,K1,3,0),COLORBLUE;9Ej中亿财经网财经门户

跟庄多头:IF(K>=D,D,DRAWNULL),NODRAW,COLORMAGENTA;9Ej中亿财经网财经门户

跟庄空头:IF(K<=D,D,DRAWNULL),NODRAW,COLORLICYAN;9Ej中亿财经网财经门户

STICKLINE(K>=D,D,K,1,0),COLORMAGENTA;9Ej中亿财经网财经门户

STICKLINE(K<=D,D,K,1,0),COLORWHITE;9Ej中亿财经网财经门户

{短进:DRAWICON(CROSS(MACD1,150),150,1);}9Ej中亿财经网财经门户

DRAWTEXT(色彩峰<3.5,-30,'■'),COLORDBDBDB;9Ej中亿财经网财经门户

DRAWTEXT(色彩峰<3.5,-30,'?'),COLORC18E68;9Ej中亿财经网财经门户

DRAWTEXT(CROSS(色彩峰,90),98,'?'),COLORFFFFFF;9Ej中亿财经网财经门户

DRAWICON(CROSS(MACD1,150),150,1);9Ej中亿财经网财经门户

出航:FILTER(MACD1<0 AND MACD1>REF(MACD1,1) AND 色彩峰<20,5), COLORBROWN;9Ej中亿财经网财经门户

DRAWICON(MACD1>0 AND MACD1>REF(MACD1,1)*2 AND REF(MACD1,1)>0,0,9);9Ej中亿财经网财经门户

DRAWTEXT(FILTER(MACD<0 AND MACD>REF(MACD,1) AND 色彩峰<20,5) AND T3,-1,'▲'),COLORFFFFFF;9Ej中亿财经网财经门户

抛压筹码:IF(色彩峰>0,色彩峰,DRAWNULL),NODRAW,COLOR1E1E64;9Ej中亿财经网财经门户

主控力度:IF(MACD1>=0,MACD1,DRAWNULL),NODRAW ,COLOR666666;9Ej中亿财经网财经门户

价值引力:IF(MACD1<0,MACD1,DRAWNULL),NODRAW ,COLOR666666;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.00,0.00,0,'【红】多方拱桥'),COLORRED;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.10,0.00,0,'【白】空方拱桥'),COLORWHITE;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.20,0.00,0,'【粉】跟庄多头'),COLORMAGENTA;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.30,0.00,0,'【蓝】跟庄空头'),COLORBLUE;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.40,0.00,0,'【紫】抛压筹码'),COLOR1E1E64;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.50,0.00,0,'【灰】主控力度'),COLOR666666;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.60,0.00,0,'【-灰】价值引力'),COLOR666666;9Ej中亿财经网财经门户

13. 通达信抛压指标公式?

VARA:=EMA(REF(CLOSE,1),4); 9Ej中亿财经网财经门户

色彩峰:(SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100); 9Ej中亿财经网财经门户

STICKLINE(色彩峰,0,150,5,0),COLORDDA85C;9Ej中亿财经网财经门户

STICKLINE(色彩峰,0,-50,5,0),COLORE7B400;9Ej中亿财经网财经门户

STICKLINE(色彩峰>0,0,色彩峰,5,0),COLOR1E1E64;9Ej中亿财经网财经门户

AA:=100*EMA((100*(HIGH-REF(LOW,1))/REF(LOW,1)-2.618),2);9Ej中亿财经网财经门户

VARA1:=VOL/CAPITAL/100< 0.015;9Ej中亿财经网财经门户

VARA2:=C/REF(C,1)> 1.05 AND C>O; 9Ej中亿财经网财经门户

VARA3:=CLOSE<=1.47*LLV(CLOSE,58) AND CLOSE<=15; 9Ej中亿财经网财经门户

VARA4:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));9Ej中亿财经网财经门户

VARZ:=IF(VARA1 AND VARA2 AND VARA4<40,1,0);9Ej中亿财经网财经门户

PF1 :=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; 9Ej中亿财经网财经门户

RSV:=SMA(PF1,9,1);9Ej中亿财经网财经门户

DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);9Ej中亿财经网财经门户

DEA :=EMA(DIFF,9);9Ej中亿财经网财经门户

MACD1:=2000* (2*(DIFF-DEA))/EMA(C,30);9Ej中亿财经网财经门户

FASTK1:=SMA(RSV,3,1);9Ej中亿财经网财经门户

K1:=SMA(FASTK1,2,1), COLORYELLOW;9Ej中亿财经网财经门户

D1:=SMA(K1,5,1),COLOR006CB5;9Ej中亿财经网财经门户

T3:=(K1-D1)>REF((K1-D1),5);9Ej中亿财经网财经门户

STICKLINE(MACD1>=0,0,MACD1,4,0) ,COLOR666666;9Ej中亿财经网财经门户

STICKLINE(MACD1>=0 AND MACD1>REF(MACD1,1),0,MACD1,3,0),COLORAAAAAA;9Ej中亿财经网财经门户

STICKLINE(MACD1<0,0, 0.3*MACD1,4,0), COLOR666666;9Ej中亿财经网财经门户

STICKLINE(MACD1<0 AND MACD1>REF(MACD1,1),0,0.3*MACD1,3,0),COLOR9A9A9A;9Ej中亿财经网财经门户

RSV2:= (CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;9Ej中亿财经网财经门户

FASTK:=SMA(RSV2,3,1);9Ej中亿财经网财经门户

K:SMA(FASTK,2,1), COLORYELLOW;9Ej中亿财经网财经门户

D:=SMA(K,5,1),COLOR006CB5;9Ej中亿财经网财经门户

多方拱桥:IF(K1>=D1,D1,DRAWNULL),NODRAW,COLORRED;9Ej中亿财经网财经门户

空方拱桥:IF(K1<=D1,D1,DRAWNULL),NODRAW,COLORGREEN;9Ej中亿财经网财经门户

STICKLINE(K1>=D1,D1,K1,3,0),COLORRED;9Ej中亿财经网财经门户

STICKLINE(K1<=D1,D1,K1,3,0),COLORBLUE;9Ej中亿财经网财经门户

跟庄多头:IF(K>=D,D,DRAWNULL),NODRAW,COLORMAGENTA;9Ej中亿财经网财经门户

跟庄空头:IF(K<=D,D,DRAWNULL),NODRAW,COLORLICYAN;9Ej中亿财经网财经门户

STICKLINE(K>=D,D,K,1,0),COLORMAGENTA;9Ej中亿财经网财经门户

STICKLINE(K<=D,D,K,1,0),COLORWHITE;9Ej中亿财经网财经门户

{短进:DRAWICON(CROSS(MACD1,150),150,1);}9Ej中亿财经网财经门户

DRAWTEXT(色彩峰<3.5,-30,'■'),COLORDBDBDB;9Ej中亿财经网财经门户

DRAWTEXT(色彩峰<3.5,-30,'?'),COLORC18E68;9Ej中亿财经网财经门户

DRAWTEXT(CROSS(色彩峰,90),98,'?'),COLORFFFFFF;9Ej中亿财经网财经门户

DRAWICON(CROSS(MACD1,150),150,1);9Ej中亿财经网财经门户

出航:FILTER(MACD1<0 AND MACD1>REF(MACD1,1) AND 色彩峰<20,5), COLORBROWN;9Ej中亿财经网财经门户

DRAWICON(MACD1>0 AND MACD1>REF(MACD1,1)*2 AND REF(MACD1,1)>0,0,9);9Ej中亿财经网财经门户

DRAWTEXT(FILTER(MACD<0 AND MACD>REF(MACD,1) AND 色彩峰<20,5) AND T3,-1,'▲'),COLORFFFFFF;9Ej中亿财经网财经门户

抛压筹码:IF(色彩峰>0,色彩峰,DRAWNULL),NODRAW,COLOR1E1E64;9Ej中亿财经网财经门户

主控力度:IF(MACD1>=0,MACD1,DRAWNULL),NODRAW ,COLOR666666;9Ej中亿财经网财经门户

价值引力:IF(MACD1<0,MACD1,DRAWNULL),NODRAW ,COLOR666666;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.00,0.00,0,'【红】多方拱桥'),COLORRED;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.10,0.00,0,'【白】空方拱桥'),COLORWHITE;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.20,0.00,0,'【粉】跟庄多头'),COLORMAGENTA;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.30,0.00,0,'【蓝】跟庄空头'),COLORBLUE;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.40,0.00,0,'【紫】抛压筹码'),COLOR1E1E64;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.50,0.00,0,'【灰】主控力度'),COLOR666666;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.60,0.00,0,'【-灰】价值引力'),COLOR666666;9Ej中亿财经网财经门户

14. 通达信选股公式怎么合并,输出不能超过一个,求老师帮忙?

{信号同时满足}9Ej中亿财经网财经门户

{公式一 }9Ej中亿财经网财经门户

DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);9Ej中亿财经网财经门户

DEA:=EMA(DIFF,5);9Ej中亿财经网财经门户

A1:=DIFF>DEA;9Ej中亿财经网财经门户

RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;9Ej中亿财经网财经门户

K:=SMA(RSV1,3,1);9Ej中亿财经网财经门户

D:=SMA(K,3,1);9Ej中亿财经网财经门户

A2:=K>D;9Ej中亿财经网财经门户

LC:=REF(CLOSE,1);9Ej中亿财经网财经门户

RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;9Ej中亿财经网财经门户

RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;9Ej中亿财经网财经门户

A3:=RSI1>RSI2;9Ej中亿财经网财经门户

RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;9Ej中亿财经网财经门户

LWR1:=SMA(RSV,3,1);9Ej中亿财经网财经门户

LWR2:=SMA(LWR1,3,1);9Ej中亿财经网财经门户

A4:=LWR1>LWR2;9Ej中亿财经网财经门户

BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;9Ej中亿财经网财经门户

A5:=CLOSE>BBI;9Ej中亿财经网财经门户

MTM:=CLOSE-REF(CLOSE,1);9Ej中亿财经网财经门户

MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);9Ej中亿财经网财经门户

MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);9Ej中亿财经网财经门户

A6:=MMS>MMM;9Ej中亿财经网财经门户

涨买入:=IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,7,0);9Ej中亿财经网财经门户

{公式二}9Ej中亿财经网财经门户

丁丁1:=EMA(C,3);9Ej中亿财经网财经门户

丁丁2:=EMA(C,5);9Ej中亿财经网财经门户

丁丁3:=EMA(C,7);9Ej中亿财经网财经门户

丁丁4:=EMA(C,12);9Ej中亿财经网财经门户

丁丁5:=EMA(C,20);9Ej中亿财经网财经门户

SS:=CROSS(丁丁1,丁丁2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁1,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁1,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁1,丁丁4);9Ej中亿财经网财经门户

DD:=CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁5) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁3,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁1,丁丁5);9Ej中亿财经网财经门户

XG:涨买入 AND SS AND DD;9Ej中亿财经网财经门户

=======================9Ej中亿财经网财经门户

{满足其中一个信号}9Ej中亿财经网财经门户

{公式一 }9Ej中亿财经网财经门户

DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);9Ej中亿财经网财经门户

DEA:=EMA(DIFF,5);9Ej中亿财经网财经门户

A1:=DIFF>DEA;9Ej中亿财经网财经门户

RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;9Ej中亿财经网财经门户

K:=SMA(RSV1,3,1);9Ej中亿财经网财经门户

D:=SMA(K,3,1);9Ej中亿财经网财经门户

A2:=K>D;9Ej中亿财经网财经门户

LC:=REF(CLOSE,1);9Ej中亿财经网财经门户

RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;9Ej中亿财经网财经门户

RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;9Ej中亿财经网财经门户

A3:=RSI1>RSI2;9Ej中亿财经网财经门户

RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;9Ej中亿财经网财经门户

LWR1:=SMA(RSV,3,1);9Ej中亿财经网财经门户

LWR2:=SMA(LWR1,3,1);9Ej中亿财经网财经门户

A4:=LWR1>LWR2;9Ej中亿财经网财经门户

BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;9Ej中亿财经网财经门户

A5:=CLOSE>BBI;9Ej中亿财经网财经门户

MTM:=CLOSE-REF(CLOSE,1);9Ej中亿财经网财经门户

MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);9Ej中亿财经网财经门户

MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);9Ej中亿财经网财经门户

A6:=MMS>MMM;9Ej中亿财经网财经门户

涨买入:=IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,7,0);9Ej中亿财经网财经门户

{公式二}9Ej中亿财经网财经门户

丁丁1:=EMA(C,3);9Ej中亿财经网财经门户

丁丁2:=EMA(C,5);9Ej中亿财经网财经门户

丁丁3:=EMA(C,7);9Ej中亿财经网财经门户

丁丁4:=EMA(C,12);9Ej中亿财经网财经门户

丁丁5:=EMA(C,20);9Ej中亿财经网财经门户

SS:=CROSS(丁丁1,丁丁2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁1,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁1,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁1,丁丁4);9Ej中亿财经网财经门户

DD:=CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁5) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁3,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.0189Ej中亿财经网财经门户

OR CROSS(丁丁2,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁1,丁丁5);9Ej中亿财经网财经门户

XG:涨买入 OR SS OR DD;9Ej中亿财经网财经门户

15. 编制MACD中DIFF背离画线公式(通达信)?

A1:=BARSLAST(REF(CROSS(MACD.DIF,MACD.DEA),1)); 底背离:REF(CLOSE,A1+1)>CLOSEANDMACD.DIF>REF(MACD.DIF,A1+1)ANDCROSS(MACD.DIF,MACD.DEA);9Ej中亿财经网财经门户

16. 编制MACD中DIFF背离画线公式(通达信)?

A1:=BARSLAST(REF(CROSS(MACD.DIF,MACD.DEA),1)); 底背离:REF(CLOSE,A1+1)>CLOSEANDMACD.DIF>REF(MACD.DIF,A1+1)ANDCROSS(MACD.DIF,MACD.DEA);9Ej中亿财经网财经门户

17. 求个通达信公式:LON中,黄线大于等于白线?

LC := REF(CLOSE,1);9Ej中亿财经网财经门户

VID := SUM(VOL,2)/(((HHV(HIGH,2)-LLV(LOW,2)))*100);9Ej中亿财经网财经门户

RC := (CLOSE-LC)*VID;9Ej中亿财经网财经门户

LONG := SUM(RC,0);9Ej中亿财经网财经门户

DIFF := SMA(LONG,10,1);9Ej中亿财经网财经门户

DEA := SMA(LONG,20,1);9Ej中亿财经网财经门户

LON : =DIFF-DEA;9Ej中亿财经网财经门户

LONMA := MA(LON,10);9Ej中亿财经网财经门户

LON>=LONMA; 9Ej中亿财经网财经门户

18. DIF.DEA大于0轨,选股公式编写?

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);9Ej中亿财经网财经门户

DEA:=EMA(DIF,9);9Ej中亿财经网财经门户

MACD:=(DIF-DEA)*2; 9Ej中亿财经网财经门户

XG:CROSS(MACD,0) AND REF(CROSS(0,MACD),3); 9Ej中亿财经网财经门户

19. 编制MACD中DIFF背离画线公式(通达信)?

A1:=BARSLAST(REF(CROSS(MACD.DIF,MACD.DEA),1)); 底背离:REF(CLOSE,A1+1)>CLOSEANDMACD.DIF>REF(MACD.DIF,A1+1)ANDCROSS(MACD.DIF,MACD.DEA);9Ej中亿财经网财经门户

20. 通达信抛压指标公式?

VARA:=EMA(REF(CLOSE,1),4); 9Ej中亿财经网财经门户

色彩峰:(SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100); 9Ej中亿财经网财经门户

STICKLINE(色彩峰,0,150,5,0),COLORDDA85C;9Ej中亿财经网财经门户

STICKLINE(色彩峰,0,-50,5,0),COLORE7B400;9Ej中亿财经网财经门户

STICKLINE(色彩峰>0,0,色彩峰,5,0),COLOR1E1E64;9Ej中亿财经网财经门户

AA:=100*EMA((100*(HIGH-REF(LOW,1))/REF(LOW,1)-2.618),2);9Ej中亿财经网财经门户

VARA1:=VOL/CAPITAL/100< 0.015;9Ej中亿财经网财经门户

VARA2:=C/REF(C,1)> 1.05 AND C>O; 9Ej中亿财经网财经门户

VARA3:=CLOSE<=1.47*LLV(CLOSE,58) AND CLOSE<=15; 9Ej中亿财经网财经门户

VARA4:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));9Ej中亿财经网财经门户

VARZ:=IF(VARA1 AND VARA2 AND VARA4<40,1,0);9Ej中亿财经网财经门户

PF1 :=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; 9Ej中亿财经网财经门户

RSV:=SMA(PF1,9,1);9Ej中亿财经网财经门户

DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);9Ej中亿财经网财经门户

DEA :=EMA(DIFF,9);9Ej中亿财经网财经门户

MACD1:=2000* (2*(DIFF-DEA))/EMA(C,30);9Ej中亿财经网财经门户

FASTK1:=SMA(RSV,3,1);9Ej中亿财经网财经门户

K1:=SMA(FASTK1,2,1), COLORYELLOW;9Ej中亿财经网财经门户

D1:=SMA(K1,5,1),COLOR006CB5;9Ej中亿财经网财经门户

T3:=(K1-D1)>REF((K1-D1),5);9Ej中亿财经网财经门户

STICKLINE(MACD1>=0,0,MACD1,4,0) ,COLOR666666;9Ej中亿财经网财经门户

STICKLINE(MACD1>=0 AND MACD1>REF(MACD1,1),0,MACD1,3,0),COLORAAAAAA;9Ej中亿财经网财经门户

STICKLINE(MACD1<0,0, 0.3*MACD1,4,0), COLOR666666;9Ej中亿财经网财经门户

STICKLINE(MACD1<0 AND MACD1>REF(MACD1,1),0,0.3*MACD1,3,0),COLOR9A9A9A;9Ej中亿财经网财经门户

RSV2:= (CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;9Ej中亿财经网财经门户

FASTK:=SMA(RSV2,3,1);9Ej中亿财经网财经门户

K:SMA(FASTK,2,1), COLORYELLOW;9Ej中亿财经网财经门户

D:=SMA(K,5,1),COLOR006CB5;9Ej中亿财经网财经门户

多方拱桥:IF(K1>=D1,D1,DRAWNULL),NODRAW,COLORRED;9Ej中亿财经网财经门户

空方拱桥:IF(K1<=D1,D1,DRAWNULL),NODRAW,COLORGREEN;9Ej中亿财经网财经门户

STICKLINE(K1>=D1,D1,K1,3,0),COLORRED;9Ej中亿财经网财经门户

STICKLINE(K1<=D1,D1,K1,3,0),COLORBLUE;9Ej中亿财经网财经门户

跟庄多头:IF(K>=D,D,DRAWNULL),NODRAW,COLORMAGENTA;9Ej中亿财经网财经门户

跟庄空头:IF(K<=D,D,DRAWNULL),NODRAW,COLORLICYAN;9Ej中亿财经网财经门户

STICKLINE(K>=D,D,K,1,0),COLORMAGENTA;9Ej中亿财经网财经门户

STICKLINE(K<=D,D,K,1,0),COLORWHITE;9Ej中亿财经网财经门户

{短进:DRAWICON(CROSS(MACD1,150),150,1);}9Ej中亿财经网财经门户

DRAWTEXT(色彩峰<3.5,-30,'■'),COLORDBDBDB;9Ej中亿财经网财经门户

DRAWTEXT(色彩峰<3.5,-30,'?'),COLORC18E68;9Ej中亿财经网财经门户

DRAWTEXT(CROSS(色彩峰,90),98,'?'),COLORFFFFFF;9Ej中亿财经网财经门户

DRAWICON(CROSS(MACD1,150),150,1);9Ej中亿财经网财经门户

出航:FILTER(MACD1<0 AND MACD1>REF(MACD1,1) AND 色彩峰<20,5), COLORBROWN;9Ej中亿财经网财经门户

DRAWICON(MACD1>0 AND MACD1>REF(MACD1,1)*2 AND REF(MACD1,1)>0,0,9);9Ej中亿财经网财经门户

DRAWTEXT(FILTER(MACD<0 AND MACD>REF(MACD,1) AND 色彩峰<20,5) AND T3,-1,'▲'),COLORFFFFFF;9Ej中亿财经网财经门户

抛压筹码:IF(色彩峰>0,色彩峰,DRAWNULL),NODRAW,COLOR1E1E64;9Ej中亿财经网财经门户

主控力度:IF(MACD1>=0,MACD1,DRAWNULL),NODRAW ,COLOR666666;9Ej中亿财经网财经门户

价值引力:IF(MACD1<0,MACD1,DRAWNULL),NODRAW ,COLOR666666;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.00,0.00,0,'【红】多方拱桥'),COLORRED;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.10,0.00,0,'【白】空方拱桥'),COLORWHITE;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.20,0.00,0,'【粉】跟庄多头'),COLORMAGENTA;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.30,0.00,0,'【蓝】跟庄空头'),COLORBLUE;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.40,0.00,0,'【紫】抛压筹码'),COLOR1E1E64;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.50,0.00,0,'【灰】主控力度'),COLOR666666;9Ej中亿财经网财经门户

DRAWTEXT_FIX(1,0.60,0.00,0,'【-灰】价值引力'),COLOR666666;9Ej中亿财经网财经门户

关键字:通达信   diff   通达信   线
1.中亿财经网(http://www.zhongyi9999.com/)遵循行业规范,任何转载的稿件都会明确标注作者和来源;
2.中亿财经网的原创文章,请转载时务必注明文章作者和"来源:中亿财经网",不尊重原创的行为或将追究责任;
3.作者投稿可能会经中亿财经网编辑修改或补充。
【免责声明】本文仅代表作者本人观点,与本网站无关。本网站对文中陈述、观点判断保持中立,不对所包含内容的准确性、可靠性或完整性提供任何明示或暗示的保证。请读者仅作参考,并请自行承担全部责任。