手机端
当前位置:爱约股 > 公式技巧 > 做股上穿盘的同时出现红色指标公式

做股上穿盘的同时出现红色指标公式

 网友求助:

股: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);
 

分享至:

相关推荐