通达信上边绿点卖出 下边红点买入源码副图
B007:=EMA((((B004 + B005) / 2) - B006),6);
B008:=REF(CLOSE,1);
B009:=((((SMA(MAX((CLOSE - B008),0),19,1) / SMA(ABS((CLOSE - B008)),19,1)) * 100) - 50) * 1.25);
B010:=((((SMA(MAX((CLOSE - B008),0),34,1) / SMA(ABS((CLOSE - B008)),34,1)) * 100) - 50) * 1.25);
B011:=((((SMA(MAX((CLOSE - B008),0),72,1) / SMA(ABS((CLOSE - B008)),72,1)) * 100) - 50) * 1.25);
B012:=EMA(((((B009 + B010) / 2) - B011) * 5),6);
B013:=((((0 - 1) * ((B007 + B003) + B012)) / 3) * 1.5);
B017:=B012;
DPM1:=EMA(B013,4);
多头:=B017,COLOR0000FF;
空均:=DPM1;
STICKLINE(CROSS(多头,空均),20,40,8,1) ,COLORYELLOW;
{}
A1HM:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
黑码线:=EMA(A1HM,5),LINETHICK2,COLOR6600FF;
A2HM:=(黑码线-REF(黑码线,1))/REF(黑码线,1)*100;
A3HM:=EMA(C,5);
底部:=(A2HM<-10 AND A2HM>REF(A2HM,1))*25,COLORRED;
DRAWICON(底部 AND A3HM>REF(A3HM,1),25,4);
{HM}
VAR6HM:=(2*CLOSE+HIGH+LOW)/4;
VAR8HM:=LLV(LOW,34);
VAR11HM:=HHV(HIGH,34);
VAR12HM:=EMA((VAR6HM-VAR8HM)/(VAR11HM-VAR8HM)*100,13);
VAR13HM:=EMA(0.667*REF(VAR12HM,1)+0.333*VAR12HM,2);
DRAWBAND(VAR12HM,RGB(231,69,80),VAR13HM,RGB(0,142,35 ));
QW1:=(HIGH+LOW+CLOSE*2)/4;
QW3:=EMA(QW1,10);
QW4:=STD(QW1,10);
QW5:=(QW1-QW3)*100/QW4;
QW6:=EMA(QW5,5);
涨:=EMA(QW6,10)+100/2-5,LINETHICK1,COLORRED;
跌:=EMA(涨,4),LINETHICK1,COLORFFFF34;
STICKLINE(涨<REF(涨,1),-10,-20,2,1 ),COLOR00EE00;
STICKLINE(涨> REF(涨,1),-10,-20,2,1),COLOR0099FF;
- 上一篇公式:通达信抄死主力副图系列之一选股公式
- 下一篇公式:通达信阶段见底副图源码