马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
有人在新浪博客很牛叉的卖这个公式,先发出来共享!!!不过有未来函数!!使用要慎重!!!!一个主图,一个副图有未来函数!!
M 0 300 5
月金:STICKLINE(CROSS("MACD.DIF#MONTH","MACD.DEA#MONTH"),LOW,CLOSE,9,0),COLORRED;DRAWKLINE(H,O,L,C);
月死:STICKLINE(CROSS("MACD.DEA#MONTH","MACD.DIF#MONTH"),LOW,CLOSE,9,0),COLORBLUE;DRAWKLINE(H,O,L,C);
周金:STICKLINE(CROSS("MACD.DIF#WEEK","MACD.DEA#WEEK"),LOW,CLOSE,5,0),COLORFF00FF;DRAWKLINE(H,O,L,C);
周死:STICKLINE(CROSS("MACD.DEA#WEEK","MACD.DIF#WEEK"),LOW,CLOSE,5,0),COLOR00FF00;DRAWKLINE(H,O,L,C);
DRAWICON(CROSS("MACD.DIF#MONTH","MACD.DEA#MONTH"),(H,O,L,C),26);
DRAWICON(CROSS("MACD.DEA#MONTH","MACD.DIF#MONTH"),(H,O,L,C),6);
DRAWICON(CROSS("MACD.DIF#WEEK","MACD.DEA#WEEK"),(H,O,L,C),34);
DRAWICON(CROSS("MACD.DEA#WEEK","MACD.DIF#WEEK"),(H,O,L,C),35);
MA5:MA(CLOSE,M),COLORFF8000,LINETHICK2;
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORFF00FF;
熊线:MA(牛线,6),COLORGREEN;
Y:=EMA(C,2);
DEA:EMA(Y,9),COLOR00FFFF;
DRAWICON(CROSS(牛线,熊线),熊线,1);
DRAWICON(CROSS(熊线,牛线),熊线,2);
下面是副图
50,DOTLINE,COLORYELLOW;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
短期趋势:3*Q3-2*Q4,COLORWHITE,LINETHICK2;
反短:-短期趋势+100,COLORBLUE;
中期趋势:EMA(Q3, 3),COLORRED,LINETHICK2;
DRAWTEXT(CROSS(中期趋势, 短期趋势) AND REF(短期趋势,1)>80, REF(短期趋势,3), '▼逢高派发'), COLOR00FF00,LINETHICK5;
▲逢低关注: DRAWTEXT(REF(CROSS(中期趋势,短期趋势),82) AND 中期趋势>1.3*短期趋势,短期趋势,'▲逢低关注'), COLOR00FFFF, LINETHICK1;
▲抄底: DRAWTEXT(REF(CROSS(短期趋势,中期趋势),1) AND 短期趋势>1.3*中期趋势,中期趋势,'▲抄底'),COLORBLUE,LINETHICK1;
VAR3:=PEAKBARS(3,5,1)<10;
VAR5:=IF(VAR3=1,2,0);
顶:=IF(VAR5=2,2,0);
顶A:IF(顶>REF(顶,1),50,0),COLORGREEN;
DRAWTEXT(顶A=50,45,'小 心'),COLOR00FF00;
|