请老师包我这指标里的绿色箭头从函数里去掉,谢谢 [博易POBO]
咨询内容:
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA/2);
AH:=HHV(MACD,13*1);
AL:=LLV(MACD,13*0.3);
STICKLINE(MACD>0 ,MACD,0,1,0),COLOR0000AA,LINETHICK1;
STICKLINE(MACD<0 ,MACD,0,1,0),COLOR008800,LINETHICK1;
趋势线:=SMA(MACD,34,1);
PARTLINE2(趋势线,趋势线>REF(趋势线,1),COLOR00FFFF,趋势线<REF(趋势线,1),COLORFF5000),LINETHICK1;
FILLRGN(趋势线>REF(趋势线,1),趋势线,REF(趋势线,1)),COLOR00FFFF;
FILLRGN(趋势线<=REF(趋势线,1),趋势线,REF(趋势线,1)),COLORFF5800;
K:=SMA(MACD,2,1);
D:=SMA(K,2,1);
J:SMA(D,2,1);
STICKLINE(MACD>0,0.000001,0.000003,15,0),COLORRED;
STICKLINE(MACD<0,0.000001,0.000003,15,0),COLORGREEN;
PARTLINE2(K,K>REF(K,1),COLOR0000FF,K<REF(K,1),COLOR00FF00);
PARTLINE2(D,D>REF(D,1),COLOR0000FF,D<REF(D,1),COLOR00FF00);
PARTLINE2(J,J>REF(J,1),COLOR0000FF,J<REF(J,1),COLOR00FF00);
STICKLINE(REF(MACD,1)<MACD,MACD,REF(MACD,1),7,0),COLORYELLOW;
STICKLINE(MACD=AH,AH,K,8,0),LINETHICK1,COLORRED;
STICKLINE(REF(MACD,2)>MACD,MACD,REF(MACD,1),8,1),COLORGREEN;
DRAWICON(CROSS(MACD,AH),MACD,4);
DRAWICON(CROSS(MACD,REF(MACD,2)),MACD,5);
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA/2);
AH:=HHV(MACD,13*1);
AL:=LLV(MACD,13*0.3);
STICKLINE(MACD>0,MACD,0,1,0),COLOR0000AA,LINETHICK1;
STICKLINE(MACD<0,MACD,0,1,0),COLOR008800,LINETHICK1;
趋势线:=SMA(MACD,34,1);
PARTLINE2(趋势线,趋势线>REF(趋势线,1),COLOR00FFFF,趋势线<REF(趋势线,1),COLORFF5000),LINETHICK1;
FILLRGN(趋势线>REF(趋势线,1),趋势线,REF(趋势线,1)),COLOR00FFFF;
FILLRGN(趋势线<=REF(趋势线,1),趋势线,REF(趋势线,1)),COLORFF5800;
K:=SMA(MACD,2,1);
D:=SMA(K,2,1);
J:SMA(D,2,1);
STICKLINE(MACD>0,0.000001,0.000003,15,0),COLORRED;
STICKLINE(MACD<0,0.000001,0.000003,15,0),COLORGREEN;
PARTLINE2(K,K>REF(K,1),COLOR0000FF,K<REF(K,1),COLOR00FF00);
PARTLINE2(D,D>REF(D,1),COLOR0000FF,D<REF(D,1),COLOR00FF00);
PARTLINE2(J,J>REF(J,1),COLOR0000FF,J<REF(J,1),COLOR00FF00);
STICKLINE(REF(MACD,1)<MACD,MACD,REF(MACD,1),7,0),COLORYELLOW;
STICKLINE(MACD=AH,AH,K,8,0),LINETHICK1,COLORRED;
STICKLINE(REF(MACD,2)>MACD,MACD,REF(MACD,1),8,1),COLORGREEN;
DRAWICON(CROSS(MACD,AH),MACD,4); 来源 程序化久久网
请老师包我这指标里的绿色箭头从函数里去掉,谢谢
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA/2);
AH:=HHV(MACD,13*1);
AL:=LLV(MACD,13*0.3);
STICKLINE(MACD>0 ,MACD,0,1,0),COLOR0000AA,LINETHICK1;
STICKLINE(MACD<0 ,MACD,0,1,0),COLOR008800,LINETHICK1;
趋势线:=SMA(MACD,34,1);
PARTLINE2(趋势线,趋势线>REF(趋势线,1),COLOR00FFFF,趋势线<REF(趋势线,1),COLORFF5000),LINETHICK1;
FILLRGN(趋势线>REF(趋势线,1),趋势线,REF(趋势线,1)),COLOR00FFFF;
FILLRGN(趋势线<=REF(趋势线,1),趋势线,REF(趋势线,1)),COLORFF5800;
K:=SMA(MACD,2,1);
D:=SMA(K,2,1);
J:SMA(D,2,1);
STICKLINE(MACD>0,0.000001,0.000003,15,0),COLORRED;
STICKLINE(MACD<0,0.000001,0.000003,15,0),COLORGREEN;
PARTLINE2(K,K>REF(K,1),COLOR0000FF,K<REF(K,1),COLOR00FF00);
PARTLINE2(D,D>REF(D,1),COLOR0000FF,D<REF(D,1),COLOR00FF00);
PARTLINE2(J,J>REF(J,1),COLOR0000FF,J<REF(J,1),COLOR00FF00);
STICKLINE(REF(MACD,1)<MACD,MACD,REF(MACD,1),7,0),COLORYELLOW;
STICKLINE(MACD=AH,AH,K,8,0),LINETHICK1,COLORRED;
STICKLINE(REF(MACD,2)>MACD,MACD,REF(MACD,1),8,1),COLORGREEN;
DRAWICON(CROSS(MACD,AH),MACD,4);
DRAWICON(CROSS(MACD,REF(MACD,2)),MACD,5);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: xiexie laos 谢谢老师,辛苦了DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA/2);
AH:=HHV(MACD,13*1);
AL:=LLV(MACD,13*0.3);
STICKLINE(MACD>0,MACD,0,1,0),COLOR0000AA,LINETHICK1;
STICKLINE(MACD<0,MACD,0,1,0),COLOR008800,LINETHICK1;
趋势线:=SMA(MACD,34,1);
PARTLINE2(趋势线,趋势线>REF(趋势线,1),COLOR00FFFF,趋势线<REF(趋势线,1),COLORFF5000),LINETHICK1;
FILLRGN(趋势线>REF(趋势线,1),趋势线,REF(趋势线,1)),COLOR00FFFF;
FILLRGN(趋势线<=REF(趋势线,1),趋势线,REF(趋势线,1)),COLORFF5800;
K:=SMA(MACD,2,1);
D:=SMA(K,2,1);
J:SMA(D,2,1);
STICKLINE(MACD>0,0.000001,0.000003,15,0),COLORRED;
STICKLINE(MACD<0,0.000001,0.000003,15,0),COLORGREEN;
PARTLINE2(K,K>REF(K,1),COLOR0000FF,K<REF(K,1),COLOR00FF00);
PARTLINE2(D,D>REF(D,1),COLOR0000FF,D<REF(D,1),COLOR00FF00);
PARTLINE2(J,J>REF(J,1),COLOR0000FF,J<REF(J,1),COLOR00FF00);
STICKLINE(REF(MACD,1)<MACD,MACD,REF(MACD,1),7,0),COLORYELLOW;
STICKLINE(MACD=AH,AH,K,8,0),LINETHICK1,COLORRED;
STICKLINE(REF(MACD,2)>MACD,MACD,REF(MACD,1),8,1),COLORGREEN;
DRAWICON(CROSS(MACD,AH),MACD,4); 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容