N:=6;
绿持币:SMA(L,5,1),COLORLIGREEN,LINETHICK2;
红持股:IF(绿持币>REF(绿持币,1),绿持币,DRAWNULL),COLORRED,LINETHICK2;
投机:=SMA(C,2,1),COLORGREEN;
级别线:EMA(C,30*N),COLORLIBLUE,LINETHICK2;
TS:=BArslAST(crOSS(投机,绿持币)),NODRAW,COLORWHITE;
价入价:IF(TS>=1 AND 绿持币>REF(绿持币,1),REF(投机,TS+1),DRAWNULL),COLORYELLOW;
DRAWNUMBER(TS=1,REF(投机,TS+1),REF(投机,TS+1)),COLORYELLOW;
DRAWTEXT_FIX(1,0,0.95,0,FGBLOCK),COLORLIRED;{风格}
市场:=IF(FINANCE(3)==1,’主板’,IF(FINANCE(3)==2,’中小板’,’创业板’)),NODRAW;
DRAWTEXT_FIX(1,0.0,0.0,0,STRCAT(STRCAT(‘所属市场: [ ‘,市场),’市场 ]’)),COLORGREEN;
DRAWTEXT_FIX(1,0.0,0.05,0,GNBLOCK),COLORCYAN;{板块}
DRAWTEXT_FIX(1,0.0,0.1,0,HYBLOCK),COLORYELLOW;{行业}
DRAWTEXT_FIX(1,0.1,0.1,0,DYBLOCK),COLORWHITE;{地域}
DRAWTEXT_FIX(1,0.0,0.9,0,ZSBLOCK),COLORGREEN;{指数板块};

{
选股公式:

绿持币:=SMA(L,5,1);
投机:=SMA(C,2,1);
TS:=BARSLAST(CROSS(投机,绿持币));
价入价:=IF(TS>=1,REF(投机,TS+1),DRAWNULL);
XG:CROSS(C,价入价);
}

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