大智慧红绿买卖源码副图
-
相关简介:大智慧红绿买卖源码副图 LL:=26; S:=12; M:=9; DIFF :=( EMA(CLOSE,S) - EMA(CLOSE,LL))*100; DEA :=EMA(DIFF,M); MACD :=2*(DIFF-DEA); 绿柱消失买入:IF(DIFF0,DIFF,0),STICK,LINETHICK7,COLOR00FF00;0,STICK,LINETHICK7,COLOR000000; 红柱消失卖出:IF(DIFF=0,DIFF,0),STICK,LINETHICK7,COLORR
-
文章来源:股海网作者:股海网发布时间:2013-12-20浏览次数:
大智慧红绿买卖源码副图
LL:=26;
S:=12;
M:=9;
DIFF :=( EMA(CLOSE,S) - EMA(CLOSE,LL))*100;
DEA :=EMA(DIFF,M);
MACD :=2*(DIFF-DEA);
绿柱消失买入:IF(DIFF<0,DIFF,0),STICK,LINETHICK7,COLOR00FF00;0,STICK,LINETHICK7,COLOR000000;
红柱消失卖出:IF(DIFF>=0,DIFF,0),STICK,LINETHICK7,COLORRED;0,STICK,LINETHICK7,COLOR000000;
IF(DEA>=0,DEA,0),STICK,LINETHICK7,COLORBLUE;0,STICK,LINETHICK7,COLOR000000;
IF(DEA<0,DEA,0),STICK,LINETHICK7,COLORYELLOW;0,STICK,LINETHICK7,COLOR000000;
排序:if(diff<=0 and dea<=diff and ref(diff,1)<ref(dea,1),10,0), COLORWHITE,STICK;
卖出:=IF(diff>=0 and dea>=diff and ref(diff,1)>ref(dea,1),-20,0){colorred};
IF(diff>=0 and dea>=diff and ref(diff,1)>ref(dea,1),-30,0),STICK,LINETHICK2,colorred;0,STICK,LINETHICK2,colorred;
买入:=IF(diff<=0 and dea<=diff and ref(diff,1)<ref(dea,1),0,20);{STICK,LINETHICK4,colorgreen;}
IF(diff<=0 and dea<=diff and ref(diff,1)<ref(dea,1),30,0),STICK,LINETHICK4,color00ff00;0,STICK,LINETHICK2,color00FF00;