今买明卖 超短指标 无末来

[复制链接]
查看295 | 回复0 | 2021-8-20 14:51:20 | 显示全部楼层 |阅读模式

以下是今买明卖 超短指标 无末来(无源码的请下载附件导入)

今买明卖 超短指标 无末来

自己一直在用的超短指标,绿色横线出来就进入,要是觉得好用就推荐下

幅图源码

均价线:=AMOUNT/V/100;
C2:=REF(C,1);
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,0,5,6,0),COLORYELLOW;
DRAWTEXT(涨停,8,'涨停'),COLORYELLOW;
MA13:=MA(C,13),COLORGRAY;
MA21:=MA(C,21),COLORWHITE;
支撑线:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
震仓线:=45;
震仓线2:=50;
逃命线:=80;
抄底线:=20;
绝底线:=5;
PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;
PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;
PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线;
HH:=COUNT(涨停,13)>=1;
STICKLINE(PP2 AND HH,0,5,3,0),COLORRED;
STICKLINE(PP AND HH,0,5,3,0),COLORRED;
STICKLINE(PP3 AND HH,0,5,3,0),COLORRED;
DRAWTEXT(PP2 AND HH,8,'预警'),COLORRED;
DRAWTEXT(PP AND HH,8,'预警'),COLORRED;
DRAWTEXT(PP3 AND HH,8,'预警'),COLORRED;
A:=SMA(L,4,3) ;
绿色买入:IF (((A AND REF(PP,1) AND HH) OR (A AND REF(PP3,1) AND HH)),1,0 );
STICKLINE(A AND REF(PP,1) AND HH ,0,10,1,0),COLORGREEN;
DRAWICON(A AND REF(PP,1) AND HH,12,1);
STICKLINE(A AND REF(PP3,1) AND HH ,0,10,1,0)COLORGREEN;
DRAWICON(A AND REF(PP3,1) AND HH,12,1);
均价线:=AMOUNT/V/100;
 C2:=REF(C,1);
 涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
 STICKLINE(涨停,OPEN,CLOSE,4,0),COLORRED;
 STICKLINE(涨停,OPEN,CLOSE,3,0),COLORRED;
 STICKLINE(涨停,H,L,0,0),COLORRED;
 B1:='';
 DRAWTEXT(均价线 AND 涨停,均价线,B1),COLORGREEN;
 B3:='';

 


主图源码


 DRAWTEXT((O+C)/2 AND 涨停,(O+C)/2 ,B3),COLORMAGENTA;
 B2:='';
 DRAWTEXT(涨停,L,B2),COLORGRAY;
 MA13:MA(C,13),COLORGRAY;
 MA21:MA(C,21),COLORWHITE;
 支撑线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
 LC:=REF(CLOSE,1);
 操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
 趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
 震仓线:=45;
 震仓线2:=50;
 逃命线:=80;
 抄底线:=20;
 绝底线:=5;
 PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;
 PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;
 PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线;
 HH:=COUNT(涨停,13)>=1;
 STICKLINE(PP2 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
 STICKLINE(PP AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
 STICKLINE(PP3 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
 A:=SMA(L,4,3) ;
 STICKLINE(A AND REF(PP,1) AND HH ,A*0.9999,A*0.9979,5,0);
 DRAWICON(A AND REF(PP,1) AND HH,L*0.98,1);
 STICKLINE(A AND REF(PP3,1) AND HH ,A*0.9999,A*0.9979,5,0);
 DRAWICON(A AND REF(PP3,1) AND HH,L*0.98,1);
STICKLINE(涨停,OPEN,CLOSE,4,0),COLORRED;
 STICKLINE(涨停,OPEN,CLOSE,3,0),COLORRED;
 DRAWTEXT(涨停,L-0.1,'涨停'),COLORRED;
 C3:=REF(C,1);
 跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
 STICKLINE(跌停,OPEN,CLOSE,4,0),COLORBLUE;
 STICKLINE(跌停,OPEN,CLOSE,3,0),COLORBLUE;
 DRAWTEXT(跌停,H+0.3,'跌停'),COLORBLUE;

73022473.jpg

73022473.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则