最强大的邪风 发表于 2020-4-6 09:27:29

少时诵诗书所所所所所所所

达达 发表于 2020-4-5 04:26:15

DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA), COLORSTICK;
低金:=CROSS(DIFF,DEA) AND DIFF<-0.1;
DRAWICON(低金,0.2,24);
DRAWTEXT(低金,0.2,'低金'),COLORWHITE;
JC:=BARSLAST(DEA>=0);
JCCOUNT:=COUNT(CROSS(DIFF,DEA),JC);
JC2:=COUNT(JCCOUNT=2,21)=1;
二金:=CROSS(DIFF,DEA) AND DEA<0 AND JC2;
DRAWICON(二金,0.4,25);
DRAWTEXT(二金,0.4,'二金');
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),NODRAW;
DRAWICON(底背离,0,1);
DRAWTEXT(底背离,0,'底背离'),COLORBLUE;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
DRAWTEXT(顶背离,DEA,'顶背离'),COLORBLUE;
DRAWICON(顶背离,DEA,2);
三金:低金 AND 二金 AND 底背离,NODRAW;
DRAWICON(三金,0.6,26);
DRAWTEXT(三金,0.6,'三金'),COLORRED,LINETHICK2;
红面积:SUM(MACD,BARSLAST(MACD<0))*(MACD>0),COLOR0000FF,NODRAW;
绿面积:SUM(MACD,BARSLAST(MACD>0))*(MACD<0),COLORFFFF00,NODRAW;
AA:=REF(绿面积,1)*100;
BB:=REF(红面积,1)*100;
DRAWNUMBER(CROSS(0,MACD),HHV(REF(MACD,1),5)+0.03,ABS(BB)),COLORRED;
DRAWNUMBER(CROSS(MACD,0),LLV(REF(MACD,1),5)-0.03,ABS(AA)),COLORBLUE;
JC3 := DEA-DIFF;
绿柱面积:=IF(MACD<0,SUM(MACD,BARSLAST(JC3<0)),0);
红柱面积:=IF(MACD>0,SUM(MACD,BARSLAST(JC3>0)),0);
本次最低价:=LLV(L,BARSLAST(JC3<0));
本次最高价:=HHV(H,BARSLAST(JC3>0));
X1:=IF (MACD<0,BARSLAST(CROSS(DIFF,DEA)),0);
前次绿柱面积:=REF(绿柱面积,X1+1);
前次最低价:=REF(本次最低价,X1+1);
Y1:=IF((绿柱面积<0 AND ABS(绿柱面积) AND 本次最低价<前次最低价 ),1,0);
RS1:= MACD<0 AND REF(MACD,1)<0 AND C<前次最低价 AND ABS(绿柱面积);
底背驰:IF(CROSS(DIFF,DEA),REF(Y1,1),0),NODRAW;
X2:=IF (MACD>0,BARSLAST(CROSS(DEA,DIFF)),0);
前次红柱面积:=REF(红柱面积,X2+1);
前次最高价:=REF(本次最高价,X2+1);
Y2:=IF((红柱面积>0 AND 红柱面积<前次红柱面积 AND 本次最高价>前次最高价 ),1,0);
RS2:= MACD>0 AND REF(MACD,1)>0 AND C>前次最高价 AND ABS(红柱面积);
顶背驰:IF(CROSS(DEA,DIFF),REF(Y2,1),0),NODRAW;
DRAWICON(底背驰,DEA,1);
DRAWTEXT(底背驰,DEA,'底背驰'),COLORRED;
DRAWICON(顶背驰,DIFF,2);
DRAWTEXT(顶背驰,DIFF,'顶背驰'),COLORBLUE;

可遇微笑 发表于 2020-3-24 23:49:13

看看咋样?能值多少钱?

大麦粥 发表于 2020-3-24 19:47:54

有未来函数吗?真的这么牛批吗

掩饰沉沦 发表于 2020-3-21 19:48:02

溺水鱼 发表于 2020-3-21 13:19:36

66666666666

正合义 发表于 2020-3-3 02:00:50

谢谢楼主大爱分享!

鹏程 发表于 2019-12-6 15:59:37

谢谢分享啊

幻影战机 发表于 2019-12-1 23:39:10

11111111111111

王泡泡 发表于 2019-11-27 23:17:45

6666666666666666666666
页: 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 17 18 19
查看完整版本: 某网站标题题定义为价值20000元精品主图指标