{ZY买卖}{副图}{大智慧L2公式}
{ input:PER(4,1,40);
a1:=((EMA(((100 * (C - (LLV(L,89)))) / ((HHV(H,89)) - (LLV(L,89)))),7)));
a2:=((((C - (LLV(L,125))) / ((HHV(H,125)) - (LLV(L,125)))) * 100));
a3:=((SMA(a2,72,1)));
a4:=((SMA(a3,34,1)));
a5:=(((3 * a3) - (2 * a4)));
a6:=((((C - (LLV(L,34))) / ((HHV(H,34)) - (LLV(L,34)))) * 100));
a7:=((SMA(a6,8,1)));
a8:=((SMA(a7,5,1)));
短线行情:(((3 * a7) - (2 * a8))),linethick2,Color6699FF;
长线行情:(a5),linethick2,colorGreen;
底部反弹:((IF(((FILTER((((CROSS(短线行情,5)) AND (a5 < 5)) AND (a1 < 5)),5)) = 1),50,0))),colorWhite;
a9:=((IF(((FILTER(((((CROSS(短线行情,长线行情)) OR ((CROSS(短线行情,a1)) AND (a1 < a5))) AND (a1 < 10)) AND (a5 < 20)),5)) = 1),50,0)));
长线介入点:((IF(((FILTER(((长线行情 < 0) AND (短线行情 < 13)),5)) = 1),80,0))),colorYellow;
a10:=(((CROSS(短线行情,长线行情)) AND (短线行情 < 13)));
DRAWTEXT((底部反弹 > 0),49,'☆'),colorRed;
DRAWTEXT((((CROSS(短线行情,长线行情)) AND (短线行情 < 13)) AND (短线行情 > 0)),(CROSS(短线行情,长线行情)),'●'),colorMagenta;
STICKLINE((短线行情 < 0),0,-5,1,0),linethick2,colorYellow;
STICKLINE((短线行情 > 100),100,110,1,0),linethick2,colorRed;
DRAWTEXT((长线介入点 > 0),80,'长线介入点'),colorYellow;
{类型:技术指标->其它
}
{2015年12月31号}
{------------------ ------------------};