均价:=(HIGH+4*LOW+OPEN+CLOSE)/7;
均价差:=EMA(均价,13)-EMA(均价,34);
移动均价:=EMA(均价差,5);
差:=(均价差-移动均价)*5;
A:=IF(差>=1000,1000,IF(差<=均价,均价,差));
B:=FORCAST(FORCAST(A,31),10);
上涨:IF(A>B,A,B),COLORRED;
下跌:IF(A<B,A,B),COLORGREEN;
FILLRGN(A,B,A>B,RGB(250,0,0),A<B,RGB(0,250,0));
分水岭:B,LINETHICK2,COLORWHITE;
DRAWGBKLAST(1,STRIP(RGB(4,1,28),RGB(4,1,35),0));