指标公式源码编写及技巧

2023-06-26 22:58发布

--显示代码及一、显示板块例一:DRAWTEXT(BARPOS=SYSPARAM(2),H,'\N所属板块:'+BLKNAME),ALIGN4,COLORYELLOW;例二:DRAWTEXT(SYSPARAM(2)=BARPOS,C,'所属板块:'+BLKNAME),ALIGN4,COLORYELLOW;例三:DRAWTEXT(SYSPARAM(2)=BARSCOUNT(C),H,'[所属]:'+BLKNAME),ALIGN4,COLORYELLOW;二、显示代码及板块S:=STKLABEL;DRAWTEXT(SYSPARAM(2)=BARPOS,C,S),ALIGN4,COLORYELLOW;DRAWTEXT(BARPOS=SYSPARAM(2),H,'\N 所属板块:'+BLKNAME),ALIGN4,COLORYELLOW;{N与所属板块之间空六格,以显示代码}0031--A1:=MA(C,N1);A2:=MA(C,N2);A3:=MA(C,N3);A4:=MA(C,N4);COUNT(A1>A2 AND A2>A3 AND A3>A4,3);0032--均线排列A1:=MA(C
 解锁全文需 1  财富值,免费注册即送20财富值!