DRAWTEXTABS(0,10,'踩准波段是盈利关键!' + STKLABEL + '【' + STRLEFT(STKNAME,8) + '】' + ' 每股收益:' + FINANCE2(3) + ' 流通盘比≤' + CAPITAL/FINANCE2(35) + '% 越小,成长空间越大!'),LINETHICK3,COLORYELLOW;
DRAWTEXTABS(0,30,'所属板块:' + BKNAME),LINETHICK2,COLORGREEN;
DRAWTEXTABS(0,50,'指标要求下全数据,无未来函数!'),LINETHICK2,COLOR0080FF;
EMA(CLOSE,5);
EMA(CLOSE,10);
EMA(CLOSE,20);
EMA(CLOSE,30);
EMA(CLOSE,60);
EMA(CLOSE,120),COLORRED;
EMA(CLOSE,250),COLOR004848;
EMA(HHV(CLOSE,20),2),COLORYELLOW;
EMA(LLV(CLOSE,20),2),COLORMAGENTA;
V0:=STKINDI(STKLABEL,'jm.jm',453,122);
V1:=DAYS1970;
V2:=IF(V1 > 15200 - 144,0,REVERSE(V0));
V3:=V1 > 7803 AND V1 < 7906;
V4:=V1 > 8353 AND V1 < 8456;
V5:=V1 > 8972 AND V1 < 9075;
V6:=V1 > 9511 AND V1 < 9614;
V7:=V1 > 10725 AND V1 < 10828;
V8:=V1 > 12366 AND V1 < 12469;
V9:=V1 > 12937 AND V1 < 13010;
V10:=V1 > 14177 AND V1 < 14240;
V11:=V1 > 14485 AND V1 < 14518;
V12:=V1 > 14789 AND V1 < 14812;
V13:=V1 > 14995 AND V1 < 15050;
V14:=V1 > 8443 AND V1 < 8546;
V15:=V1 > 8177 AND V1 < 8280;
V16:=V1 > 9017 AND V1 < 9120;
V17:=V1 > 9990 AND V1 < 10093;
V18:=V1 > 11483 AND V1 < 11586;
V19:=V1 > 12513 AND V1 < 12615;
V20:=V1 > 13799 AND V1 < 13902;
V21:=V1 > 14459 AND V1 < 14561;
V22:=V1 > 14569 AND V1 < 14671;
V23:=V1 > 14921 AND V1 < 14964;
V24:=5 * POW(SMA((CLOSE - LLV(LOW,65))/(HHV(HIGH,65) - LLV(LOW,65)),6,1),2);
V25:=IF(V1 < 15055,0.5 * (V18 + V20 + V21 + V22 + V23 + V16 + V14 + V15 + V19 + V17) * 14,V2);
V26:=IF(V1 < 15055,0.5 * (V6 + V5 + V9 + V10 + V11 + V12 + V13 + V4 + V3 + V8 + V7),V2);
V27:=CROSS(V26,V24);
V28:=CROSS(V25,V24) AND V24 > 0.6;
DRAWTEXTABS,linethick1,COLOR00EEff;
DRAWTEXTREL(0,900,IFS(COUNT(V27=1,4) > 0,'近三日出现买点,可以酌情加仓!',' ')),LINETHICK7,COLOR0080FF;
DRAWTEXTREL(0,900,IFS(COUNT(V28=1,4) > 0,'出现卖点,铁律清仓!',' ')),LINETHICK7,COLOR0080FF;
DRAWTEXTREL(0,900,IFS(COUNT(V28=1,4) > 0 OR COUNT(V27=1,4) > 0,' ','耐心持股或者耐心空仓,等待波段机会!')),LINETHICK7,COLOR0080FF;
{DRAWTEXTREL(0,500,IFS(V1 < 15050,' ',NUMTOSTR(YEAR) + '年' + NUMTOSTR(MONTH) + '月' + NUMTOSTR(DAY) + '日' + '起无买卖信号')),LINETHICK7,COLOR0080FF;}
DRAWICON(V27,LOW * 1.01,1);
DRAWICON(V27,LOW * 1.01,7);
DRAWICON(V28,HIGH * 0.99,2);
DRAWICON(V28,HIGH * 0.99,8);