/*
TOP:=MID+2*TMP2;
BOTTOM:=MID-2*TMP2;
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIFF,9);
MACD:=2*(DIFF-DEA),COLORSTICK;
DRAWTEXT(CROSSDOWN(C,MID)&&CROSSDOWN(DIFF,DEA)&&DIFF<0&&DEA<0&&(CROSSDOWN(短期线,50)||M1<M2),短期线,'做空'),COLORGREEN;
DRAWTEXT(CROSS(C,MID)&&CROSS(DIFF,DEA)&&DIFF>0&&DEA>0&&(CROSS(短期线,50)||M1>M2),短期线,'做MA(SMA((C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,13,8),13,8),COLORGREEN,LINETHICK1;
IF(多方>=REF(多方,1),多方,NULL),COLORRED,LINETHICK3;
空方: SMA((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21))*100-10,21,8),COLORRED,LINETHICK2;
IF(空方>=REF(空方,1),空方,NULL),COLORGREEN,LINETHICK3;
长期线:MA(-100*(HHV(H,34)-CLOSE)/(HHV(H,34)-LLV(L,34)),19)+70,COLORBLUE,LINETHICK2;
STICKLINE1(DEF>=0&&DEF>=REF(DEF,1),0,DEF,2,1),COLORRED;
STICKLINE1(DEF>=0 &&DEF< REF(DEF,1),0,DEF,2,0),COLORGREEN;
STICKLINE1(DEF<0 && DEF>=REF(DEF,1),0,DEF,2,1),COLORGREEN;
STICKLINE1(DEF<0 && DEF< REF(DEF,1),0,DEF,2,0),COLORBLUE;
ST:=IF(DEF>0 &&REF(DEF,1)>REF(DEF,2) &&DEF< REF(DEF,1),1,0);
SJ:=IF(DEF<0 && REF(DEF,1)< REF(DEF,2)&& DEF>REF(DEF,1),1,0);
ZL:=IF(CROSS(C,MA(C,20)) ||CROSS(C,MA(C,60)),1,0);
ZC:=IF(CROSS(MA(C,20),C) ||CROSS(MA(C,60),C),1,0);
ZD:=IF(CROSS(MACD,DIF) && DIF>0 && MACD>0,1,0);
ZK:=IF(CROSS(DIF,MACD) && DIF<0 && MACD<0,1,0);
DRAWICON(CROSS(DIF,MACD)&& DEF>0,MACD,'ICO4');
DRAWICON(CROSS(MACD,DIF),DIF,'ICO5');
DRAWICON(CROSS(DIF,MACD)&& DEF>0,DEF,'ICO4');
XG:CROSS(DIF,MACD) &&
文华财经期货软件指标公式源码赢顺云指标划线画线支撑多空指标 来自淘豆网m.daumloan.com转载请标明出处.