网友求助:
股:EMA(100*(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13)),3)*100,COLORLIBLUE,LINETHICK3;
盘:EMA(100*(INDEXC-LLV(INDEXL,13))/(HHV(INDEXH,13)-LLV(INDEXL,13)),3)*100,COLORMAGENTA,LINETHICK3;
HM:=盘<40;
DRAWBAND(股,RGB(255,0,0),盘,RGB(0,250,0));
解答如下:
股:=EMA(100*(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13)),3)*100;
盘:=EMA(100*(INDEXC-LLV(INDEXL,13))/(HHV(INDEXH,13)-LLV(INDEXL,13)),3)*100;
CROSS(股,盘) AND 股>REF(股,1);