大智慧,通达信 ,趋势,过滤器,指标公式
通达信:
STICKLINE(INDEXO>INDEXC,INDEXH,INDEXL,0.1,0),COLORCYAN;
STICKLINE(INDEXO<INDEXC,INDEXH,MAX(INDEXO,INDEXC),0.1,0),COLORRED;
STICKLINE(INDEXO<INDEXC,INDEXL,MIN(INDEXO,INDEXC),0.1,0),COLORRED;
STICKLINE(INDEXO>INDEXC,INDEXO,INDEXC,3,0),COLORCYAN;
STICKLINE(INDEXO<INDEXC,INDEXO,INDEXC,3,1),COLORRED;
N1日低价:=LLV(INDEXL,40);
N1日高价:=HHV(INDEXH,40);
警告线:=N1日低价+(N1日高价-N1日低价)/3;
警告线红:IF(BARSLAST(CROSS(警告线,REF(警告线,1)+0.01))<BARSLAST(CROSS(REF(警告线,1),警告线+0.01)),警告线,DRAWNULL),COLORRED,LINETHICK3;
警告线绿:IF(BARSLAST(CROSS(警告线,REF(警告线,1)+0.01))>BARSLAST(CROSS(REF(警告线,1),警告线+0.01)),警告线,DRAWNULL),COLORGREEN,LINETHICK3;
同花顺 版本 大智慧
STICKLINE(INDEXO<INDEXC,INDEXH,MAX(INDEXO,INDEXC),1,0),colorred;
STICKLINE(INDEXO<INDEXC,INDEXL,MIN(INDEXO,INDEXC),1,0),colorred;
STICKLINE(INDEXO<INDEXC,INDEXO,INDEXC,8,1),colorred;
STICKLINE(INDEXO>INDEXC,INDEXH,INDEXL,0.1,0),colorcyan;
STICKLINE(INDEXO>INDEXC,INDEXO,INDEXC,8,0),colorcyan;
a5:MA(INDEXC,5);
N1日低价:=LLV(INDEXL,40);
N1日高价:=HHV(INDEXH,40);
警告线:=N1日低价+(N1日高价-N1日低价)/3;
PARTLINE(警告线,BARSLAST(CROSS(警告线,REF(警告线,1)+0.01))<BARSLAST(CROSS(REF(警告线,1),警告线+0.01)),RGB(250,100,100),
BARSLAST(CROSS(警告线,REF(警告线,1)+0.01))>BARSLAST(CROSS(REF(警告线,1),警告线+0.01)),RGB(0,250,0)),LINETHICK3;
选股公式源码:
a5:=MA(INDEXC,5);
N1日低价:=LLV(INDEXL,40);
N1日高价:=HHV(INDEXH,40);
警告线:=N1日低价+(N1日高价-N1日低价)/3;
xg:CROSS(a5,警告线);
评论(0)