以下是大智慧 通达信 趋势过滤器指标公式(无源码的请下载附件导入)

大智慧,通达信 ,趋势,过滤器,指标公式

 

通达信:

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,警告线);

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。