指标源码
{MA1:=MA(CLOSE,MAA1);}
中线支撑压力:EMA(CLOSE,50);
长线支撑压力:EMA(CLOSE,250);
限时:=TDXDLL2(1,2,1,0);
到期日:TDXDLL2(1,2,2,1)*10000+TDXDLL2(1,2,2,2),NODRAW;
见底1:=TDXDLL2(40,TDXDLL2(20,INDEXADV,INDEXDEC,20),TDXDLL2(5,CODELIKE('3'),CODELIKE('0'),CODELIKE('688')),40);
DRAWICON(见底1,LOW,11);
DRAWTEXT(见底1,LOW*0.98,' 见底1'),COLORRED;
JDD3:=TDXDLL2(9,TDXDLL2(24,TDXDLL2(32,HIGH,LOW,CLOSE)/3,OPEN,24)/(15*AVEDEV(TDXDLL2(32,HIGH,LOW,CLOSE)/3,14)),OPEN,9);
JDD4:=IF(BARSLAST(JDD3)=0,REF(BARSLAST(JDD3),1)+1,BARSLAST(JDD3));
见底2:=JDD4>1 AND JDD3;
同时:=见底1 AND 见底2;
DRAWICON(同时,LOW*0.96,11);
DRAWTEXT(同时,LOW*0.96,' 见底2'),COLORRED;
DRAWICON(见底2 AND 同时=0,LOW,11);
DRAWTEXT(见底2 AND 同时=0,LOW*0.98,' 见底2'),COLORRED;
MD:=TDXDLL2(23,TDXDLL2(22,TDXDLL2(21,HIGH,LOW,CLOSE),3,1),TDXDLL2(22,TDXDLL2(22,TDXDLL2(21,HIGH,LOW,CLOSE),3,1),3,1),23);
见顶1:=TDXDLL2(10,MD,OPEN,CLOSE);
DRAWICON(见顶1,HIGH*1.01,12),COLORGREEN;
DRAWTEXT(见顶1,HIGH*1.01,' 见顶1'),COLORGREEN;
买点:=TDXDLL2(39,MD,CLOSE,OPEN);
DRAWICON(买点,LOW,1),COLORRED;
DRAWTEXT(买点,LOW*0.985,'买入'),COLORMAGENTA;
BARSM:=BARSLAST(买点);
出场:=MD<50 AND MDDRAWICON(出场,HIGH,2),COLORGREEN;
DRAWTEXT(出场,HIGH*1.015,'卖出'),COLORGREEN;
MD2:=TDXDLL2(23,TDXDLL2(22,TDXDLL2(21,HIGH,LOW,HIGH),3,1),TDXDLL2(22,TDXDLL2(22,TDXDLL2(21,HIGH,LOW,HIGH),3,1),3,1),23);
DP:=CLOSE
HCOUND1:=HA AND DP AND CLOSE见顶2:=HCOUND1 AND 见顶1=0 AND REF(HCOUND1,1)=0;
DRAWICON(见顶2,HIGH*1.02,12),COLORGREEN;
DRAWTEXT(见顶2,HIGH*1.02,' 见顶2'),COLORGREEN;
见顶:=见顶1 OR 见顶2;
RC1:=BARSLAST(见顶);
RC2:=CLOSE>MAX(REF(HIGH,RC1),REF(HIGH,RC1+1)) AND RC1<7 AND RC1>0;
入场:=RC2 AND COUNT(RC2,RC1)=1;
DRAWICON(入场,LOW,11);
DRAWTEXT(入场,LOW*0.98,' 入场'),COLORRED;
选股源码
见底1:=TDXDLL2(40,TDXDLL2(20,INDEXADV,INDEXDEC,20),TDXDLL2(5,CODELIKE('3'),CODELIKE('0'),CODELIKE('688')),40);
JDD3:=TDXDLL2(9,TDXDLL2(24,TDXDLL2(32,HIGH,LOW,CLOSE)/3,OPEN,24)/(15*AVEDEV(TDXDLL2(32,HIGH,LOW,CLOSE)/3,14)),OPEN,9);
JDD4:=IF(BARSLAST(JDD3)=0,REF(BARSLAST(JDD3),1)+1,BARSLAST(JDD3));
见底2:=JDD4>1 AND JDD3;
更多精彩内容,请关注财富池订阅号
财富池指标公式网(www.cfchi.com)提醒您:股市有风险,投资需谨慎。
2024-03-12 11:30:43
2023-05-08 15:07:50
2021-12-15 19:21:53
按时间
按热度2024-03-20 18:02:54
2024-03-14 19:11:10
2022-11-26 22:03:43
2023-06-01
2023-06-01
2023-06-01
2023-06-01
龙虎榜净买入前十
更多连板股票
更多今日上榜游资
更多
评论
(通达信趋势波段压力线+选股)