通达信指标
{牛熊趋势}
A1:= (SMA(CLOSE,21,1)-SMA(CLOSE,89,1));
强度系数:= (SMA(CLOSE,10,1)-SMA(CLOSE,50,1)), COLORSTICK;
【牛】: A1*2.129,COLORYELLOW;
【马】: 强度系数*2.75,COLORRED;
B1:=(SMA(CLOSE,55,1)-SMA(CLOSE,13,1));
【熊】: B1*1.236,COLORGREEN;
STICKLINE(强度系数0,0,强度系数,1,0 ),COLOR00AA00;
STICKLINE(强度系数0,0,强度系数,1.6,0 ),COLOR00BB00;
STICKLINE(强度系数0,0,强度系数,1.4,0 ),COLOR00CC00;
STICKLINE(强度系数0,0,强度系数,1.3,0 ),COLOR00DD00;
STICKLINE(强度系数0,0,强度系数,1.2,0 ),COLOR00EE00;
STICKLINE(强度系数0,0,强度系数,1.1,0 ),COLOR00FF00;
STICKLINE(强度系数>=REF(强度系数,1)AND 强度系数>0,0,强度系数,1 ,0 ),COLOR0000AA;
STICKLINE(强度系数>=REF(强度系数,1)AND 强度系数>0,0,强度系数,1.6 ,0 ),COLOR0011BB;
STICKLINE(强度系数>=REF(强度系数,1)AND 强度系数>0,0,强度系数,1.4,0 ),COLOR0022CC;
STICKLINE(强度系数>=REF(强度系数,1)AND 强度系数>0,0,强度系数,1.3 ,0 ),COLOR0033DD;
STICKLINE(强度系数>=REF(强度系数,1)AND 强度系数>0,0,强度系数,1.2 ,0 ),COLOR0044EE;
STICKLINE(强度系数>=REF(强度系数,1)AND 强度系数>0,0,强度系数,1.1 ,0 ),COLOR0055FF;
STICKLINE(强度系数>REF(强度系数,1)AND 强度系数REF(强度系数,1)AND 强度系数REF(强度系数,1)AND 强度系数REF(强度系数,1)AND 强度系数REF(强度系数,1)AND 强度系数REF(强度系数,1)AND 强度系数O,0.01,0.9,0,' WWW. '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'交易策略'),COLORRED;