飞狐准确买卖指标公式股票软件源码如下: VAR1:=IF(DATE>=1990601,0,1); VAR2:=TROUGHBARS(3,15,1)<10; VAR3:=PEAKBARS(3,15,1)<10; VAR4:=IF(VAR2=1,50,0); VAR5:=IF(VAR3=1,50,0); 底部:= IF(VAR4=50,50,0); 头部:= IF(VAR5=50,100,0); a:if( 底部>ref(底部,1),50,0); aa:if(头部>ref(头部,1),50,0); {www.gpxiazai.com 股票软件下载网_飞狐股票指标公式} DRAWTEXT(a=50,100,'买' ),COLOR00ff00; DRAWTEXT(aa=50,50,'卖'),COLORred; |