手机端
当前位置:爱约股 > 公式技巧 > 将“出现红柱”改为条件选股

将“出现红柱”改为条件选股

STICKLINE(18,100,0,5,0),COLORBLUE; VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5); VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5); VAR03:=CROSS(VAR02,VAR01); VAR04:=REF(VAR02,2)0,0,VAR12,3,0),COLORWHITE; STICKLINE(VAR12>0,0,VAR12,2,0),COLOR555555; STICKLINE(VAR12>0,0,VAR12,1,0),COLORYELLOW; STICKLINE(VAR02>0,0,VAR02,5,0),COLOR3A7841; 海岸:VAR02,COLORGREEN; 浪花:VAR01,COLORCYAN; STICKLINE(VAR05 AND COUNT(VAR05,5)=1,0,VAR12,4,0),COLORRED; 请老师帮忙将“出现红柱”改为条件选股公式,非常感谢!

爱约股解答:

VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);

VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);

VAR03:=CROSS(VAR02,VAR01);

VAR04:=REF(VAR02,2)<REF(VAR02,1) AND VAR02<REF(VAR02,1);

VAR05:=COUNT(VAR03,7)>0 AND VAR04;

VAR05 AND COUNT(VAR05,5)=1;

TAG:
分享至:

相关推荐