老师帮下忙把这通达信公式做成选股公式,只选‘金叉共振’? 通达信日线引入30分钟线
- 那位老师帮我编写一个通达信选股公式:要求共振信号(就是黄色线)刚刚出现1天或者2天时的选股公式
- 请教老师帮忙编辑个通达信日线,60,30分钟MACD金叉共振选股公式,谢谢了
- 请老师帮我把这条通达信公式改成选股公式,谢谢
- 请老师帮助通达信公式改为选股公式,谢谢!~
那位老师帮我编写一个通达信选股公式:要求共振信号(就是黄色线)刚刚出现1天或者2天时的选股公式
DIFF:=EMA(CLOSE,8) - EMA(CLOSE,32); DEA:=EMA(DIFF,8); 今天L最低:=LLV(L,60)=L;DIFF不最低:=NOT(LLV(DIFF,45)=DIFF); DIFF昨天不最低:=NOT(LLV(DIFF,45)=REF(DIFF,1)); DIFF低位X:=EXIST(CROSS(DIFF,DEA)AND (DIFF<0 AND DEA<0),40); 小确认2:=DIFF>REF(DIFF,1);昨天C最低:=LLV(C,60)=REF(C,1); MACD底背离1:=今天L最低 AND DIFF不最低 AND DIFF昨天不最低 AND DIFF低位X AND 小确认2; MACD底背离2:=昨天C最低 AND DIFF不最低 AND DIFF昨天不最低 AND DIFF低位X AND 小确认2; MACD共振买:(MACD底背离1 OR MACD底背离2) AND COUNT((MACD底背离1 OR MACD底背离2),5)>1; (MACD共振买) 昨天收盘新低:=REF(C,1)=LLV(C,32) OR L=LLV(L,32); RSI不新低:=NOT(RSI=LLV(RSI,32)); RSI昨天不新低:=NOT(REF(RSI,1)=LLV(RSI,32)); 超卖区:=RSI<40; 前一低点:=LLV(RSI,32)<25; 确认2:=RSI>REF(RSI,1); RSI底背离:=昨天收盘新低 AND RSI不新低 AND 超卖区 AND 前一低点 AND RSI昨天不新低 AND 确认2; RSI共振买:RSI底背离 AND COUNT(RSI底背离,5)>1; (RSI共振买) DIFF:=EMA(CLOSE,8) - EMA(CLOSE,32); DEA:=EMA(DIFF,8); 今天L最低:=LLV(L,60)=L;DIFF不最低:=NOT(LLV(DIFF,45)=DIFF); DIFF昨天不最低:=NOT(LLV(DIFF,45)=REF(DIFF,1)); DIFF低位X:=EXIST(CROSS(DIFF,DEA)AND (DIFF<0 AND DEA<0),40); 小确认2:=DIFF>REF(DIFF,1);昨天C最低:=LLV(C,60)=REF(C,1); MACD底背离1:=今天L最低 AND DIFF不最低 AND DIFF昨天不最低 AND DIFF低位X AND 小确认2; MACD底背离2:=昨天C最低 AND DIFF不最低 AND DIFF昨天不最低 AND DIFF低位X AND 小确认2; MACD共振买:=(MACD底背离1 OR MACD底背离2) AND COUNT((MACD底背离1 OR MACD底背离2),5)>1; LC := REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100; 昨天收盘新低:=REF(C,1)=LLV(C,32) OR L=LLV(L,32); RSI不新低:=NOT(RSI=LLV(RSI,32)); RSI昨天不新低:=NOT(REF(RSI,1)=LLV(RSI,32)); 超卖区:=RSI<40; 前一低点:=LLV(RSI,32)<25; 确认2:=RSI>REF(RSI,1); RSI底背离:=昨天收盘新低 AND RSI不新低 AND 超卖区 AND 前一低点 AND RSI昨天不新低 AND 确认2; RSI共振买:=RSI底背离 AND COUNT(RSI底背离,5)>1; XG:MACD共振买 OR RSI共振买; (2个公式合并在一起,信号都选)
请教老师帮忙编辑个通达信日线,60,30分钟MACD金叉共振选股公式,谢谢了
选股条件里直接同时加入三个周期就可以,选择同时满足3个条件就OK了。如图。看不懂就没办法了。
请老师帮我把这条通达信公式改成选股公式,谢谢
A:=(LOW+HIGH+CLOSE+OPEN)/4.2;
爆发线:=HHV((MA(A,6)),15),COLORYELLOW,LINETHICK2;
XG:L>爆发线;
请老师帮助通达信公式改为选股公式,谢谢!~
生命线:=MA(CLOSE,26),COLORRED,LINETHICK2;
A1:=STICKLINE(C>=生命线 AND C>=O,H,L,0,1),COLORRED;
A2:=STICKLINE(C>=生命线 AND C>=O,C,O,2.5,0),COLORRED;
DP:=IF(C=INDEXC,0,1);
GJ:=AMOUNT/V/100 ;
多头线:=EMA(C,1.5),COLOR0000CC;
空头线:=EMA(C,5),COLORMAGENTA;
均衡线:=EMA(空头线,5),COLORGREEN;
VARF1:=COUNT(CROSS(多头线,均衡线),2)=1;
VARF2:=COUNT(CROSS(空头线,均衡线),2)=1;
ZAI:=FILTER(VARF1 AND VARF2,2);
DRAWTEXT(ZAI,均衡线*0.98,'↖主力拉升'),COLOR00FF00;