源码
均价:=(HIGH+4*LOW+OPEN+CLOSE)/7;
均价差:= EMA(均价,13) - EMA(均价,34);
移动均价:= EMA(均价差,5);
差:=(均价差-移动均价)*5;
A:=IF(差>=1000 ,1000 ,IF(差<=均价,均价,差) );
分水岭:forcast(forcast(A,31),10),linethick2,color009900;
上涨:if(A>分水岭,A,分水岭),colorred;
下跌:if(A<分水岭,A,分水岭),colorblue;
