N:=6;
个股趋势:MA(C,1)/MA(REF(C,18),18)*100,color336699,linethick2;
个股风险:MA(FORCAST(个股趋势,20),n);
大盘趋势:EMA(INDEXC,1)/MA(REF(INDEXC,18),18)*100,linethick2,color009900;
大盘风险:MA(FORCAST(大盘趋势,20),n),colorred;
N:=6;
个股趋势:MA(C,1)/MA(REF(C,18),18)*100,color336699,linethick2;
个股风险:MA(FORCAST(个股趋势,20),n);
大盘趋势:EMA(INDEXC,1)/MA(REF(INDEXC,18),18)*100,linethick2,color009900;
大盘风险:MA(FORCAST(大盘趋势,20),n),colorred;