把买观卖观指标中在下部出现黄色方格做个选股指标
2020/2/18 18:56:19
公式编写说明:
VAR1:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100+50; VAR2:=EMA(VAR1,9); VAR3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; VAR4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; VAR5:=SMA(VAR4,13,8); 走势:CEILING(SMA(VAR5,13,8)); VAR6:=SMA(VAR3,21,8); 买观注: STICKLINE(走势-VAR6<-65,0,5,15,1); 买进:=LONGCROSS(VAR1,VAR2*1.05,15) AND VAR1<40; 卖观注: STICKLINE(走势-VAR6>85,95,90,15,1); AA:=LONGCROSS(VAR2,VAR1*0.95,7) AND VAR1>0; 卖出:STICKLINE(LONGCROSS(VAR2,VAR1*0.95,7) AND VAR1>0,100,80,6,0); DRAWICON(AA>0,80,2); 90, POINTDOT; 0, POINTDOT; 45, POINTDOT,COLORMAGENTA; 排序:IF(买进>0,20,0) STICK,COLORCYAN; DRAWICON(排序>0,20,1 );
公式源码回答:
VAR3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
VAR4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR5:=SMA(VAR4,13,8);
走势:=CEILING(SMA(VAR5,13,8));
VAR6:=SMA(VAR3,21,8);
买观注:走势-VAR6<-65;
投 股票网 www .tou18.cn
股市公式下载推荐