下载
登录/ 注册
主页
论坛
视频
热股
可转债
下载
下载

大智慧诀

23-12-22 15:17 191次浏览
飞猪上天入地
+关注
博主要求身份验证
登录用户ID:
大智慧

同在再次把源码公布如下,如果新建指标时有问题可根据源码下的帖图来修改:

DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);
DEA:=EMA(DIFF,5);
{DRAWICON(DIFF>DEA,1,7),align1;
DRAWICON(DIFFDEA),colorred,circledot,linethick5;
1*(DIFFDEA;
MACD金叉:=IF(A1,1,0);
RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
K:=SMA(RSV1,3,1);
D:=SMA(K,3,1);
{DRAWICON(K>D,2,7),align1;
DRAWICON(KD),colorred,circledot,linethick5;
2*(KD;
KDJ金叉:=IF(A2,2,0){,COLORRED,precis0};
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
{DRAWICON(RSI1>RSI2,3,7),align1;
DRAWICON(RSI1RSI2),colorred,circledot,linethick5;
3*(RSI1RSI2;
RSI金叉:=IF(A3,3,0);
RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,3,1);
{DRAWICON(LWR1>LWR2,4,7),align1;
DRAWICON(LWR1LWR2),colorred,circledot,linethick5;
4*(LWR1LWR2;
LWR金叉:=IF(A4,4,0);
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
{DRAWICON(CLOSE>BBI,5,7),align1;
DRAWICON(CLOSEBBI),colorred,circledot,linethick5;
5*(CLOSEBBI;
BBI金叉:=IF(A5,5,0);
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
{DRAWICON(MMS>MMM,6,7),align1;
DRAWICON(MMSMMM),colorred,circledot,linethick5;
6*(MMSMMM;
MTM金叉:=IF(A6,6,0);
涨买入: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),COLORred,LINETHICK2,precis0;
DRAWTEXT(涨买入=7,7,‘买入‘),COLORred;
上涨(黄线):IF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,7,0),COLORYELLOW,LINETHICK2,precis0;
晴天(红线):last(A1 AND A2 AND A3 AND A4 AND A5 AND A6),LINETHICK3,precis0,colorred;
雨天(虚线):last(MACD金叉+KDJ金叉+RSI金叉+LWR金叉+BBI金叉+MTM金叉>0 AND MACD金叉+KDJ金叉+RSI金叉+LWR金叉+BBI金叉+MTM金叉3 and 金叉数<=3;
DRAWTEXT(跌卖出,7,‘卖出‘),COLORgreen;

0.1,linethick7,colorblack;
0,linethick7,colorblack;
-0.2,linethick7,colorblack;
0.1,linethick2,colorwhite;
打开淘股吧APP
0
评论(0)
收藏
展开
热门 最新
提交