以下是大智慧精品指标公式:阴阳K线==(买入,卖出,止损,机会),通通都有
{YYKX阴阳K线}{主图}
A1:=(L+H+C*2)/4;
买入:EMA(A1,10),COLORYELLOW,LINETHICK2;
卖出:EMA(A1,20),COLORGREEN,LINETHICK2;
A1A:=(买入-REF(买入,1))/REF(买入,1)*100;
A2A:=(卖出-REF(卖出,1))/REF(卖出,1)*100;
BB:=BARSLAST(CROSS(A1A,0));
止损:REF(A1,BB),COLORWHITE,LINETHICK2;
j30:=\”KDJ.J\”(30,5,3);
wr34:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;
diff:=EMA(CLOSE,12)-EMA(CLOSE,26);
dea:=EMA(diff,9);
cc:=(diffdea);
机会:IF(cc,LLV(L,20),LLV(L,20)),COLOR4080ff,CIRCLEDOT;
DRAWICON(CROSS(j30,EMA(j30,5)) AND (wr34-EMA(j30,5))>40 AND
cc,LLV(L,21)*1.02,1);