N:=6; 個(gè)股趨勢:MA(C,1)/MA(REF(C,18),18)*100,COLOR66FF99; 大盤趨勢:=EMA(INDEXC,1)/MA(REF(INDEXC,18),18)*100; 大盤走勢:MA(FORCAST(大盤趨勢,20),N),colorred; 四周期內(nèi)個(gè)股曾上穿大盤走勢:EXIST(CROSS(個(gè)股趨勢,大盤走勢),4); 四周期內(nèi)個(gè)股曾上穿大盤走勢:EXIST(CROSS(個(gè)股趨勢,大盤走勢),4) AND MA(大盤走勢,2)>REF(MA(大盤走勢,2),1); {大盤走勢變大的} |
|