九毛八公式指标
公式模块:
各位高手们,请问如图中双线同时变红的选股公式应怎样写。
双线E:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,14))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,14));
双线:EMA(双线E,2),LINETHICK1,COLORWHITE;
IF(双线>REF(双线,1),双线,DRAWNULL),LINETHICK2,COLORRED;
双线D:=crOSS(双线,-100);{双线爆拉指标用法;基本用法,两线上红色同时出现,跟!}
DRAWICON(双线D,-100,1);
双线G:=CROSS(150,双线);
DRAWICON(双线G,150,2);
双线A:IF(CROSS((3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1)) - (2)*(SMA(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1)),3),100,0),COLORYELLOW,LINETHICK2;
双线B:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK1,POINTDOT,COLORYELLOW;
双线C:2*(((双线B-LLV(双线B,21))/(HHV(双线B,21)-LLV(双线B,21)))*(4))*(25),LINETHICK2,COLORWHITE;
IF(双线C>REF(双线C,1),双线C,DRAWNULL),LINETHICK2,COLORRED;