RSV:=(((CLOSE - LLV(LOW,33)) / (HHV(HIGH,33) - LLV(LOW,33))) * 100);
{白色线,7日权重均线,1是简单移动平均,2是对最近的更敏感}
动能:SMA(RSV,7,1),COLORWHITE,LINETHICK1;
{动能的3日平均,粉红色线}
运行:SMA(SMA(RSV,7,1),3,1),COLOR8080FF,LINETHICK1;
{收盘加价低于,13%获利盘成本价*30%}
{未来函数,只能用来参考}
Y3:(((CLOSE/COST(13))<=0.8)*10),COLOR0000FF;
{又叠一层,}
轨迹:SMA(SMA(SMA(RSV,6,1),5,1),3,1),COLORFF8000,LINETHICK1;
{动能上穿21,经过回测21最好}
XG:CROSS(动能,21);
介入时机选择线:20,COLORFF8080,DOTLINE;
出货时机选择线:80,COLORFF8080,DOTLINE;
中间时机选择线:50,COLORFF8080,DOTLINE;
{添加一个交易量得条件}
LB:SUM(V,9)/REF(SUM(V,81),1)*100;
MLB:MA(LB,9);
XG2:CROSS(动能,21) AND LB>MLB;