手机端
当前位置:爱约股 > 公式技巧 > 将副图双线变红改成大智慧的

将副图双线变红改成大智慧的

 网友求助:

基本用法,两线上红色同时出现大胆跟进。

双线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;

 

 

解答如下:

双线E:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,14))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,14));
双线:EMA(双线E,2),LINETHICK1,COLORWHITE;
PARTLINE(双线,双线>REF(双线,1),RGB(250,0,0)),LINETHICK2;
双线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;
PARTLINE(双线C,双线C>REF(双线C,1),RGB(250,0,0)),LINETHICK2;

分享至:

相关推荐