源码:无未来

V1:=NEW*10;
 V2:=EMA(V1,13)-EMA(V1,34);
 V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;
主力撤: IF(V4<=0,V4,0),colorblue;
主力进: IF(V4>=0,V4,0),colorff00ff;
 V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
 V6:=EMA(3*V5-2*SMA(V5,18,1),5);
 V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
 V8:=(INDEXC*2+INDEXH+INDEXL)/4;
 V9:=EMA(V8,13)-EMA(V8,34);
 VA:=EMA(V9,3);
 VB:=(V9-VA)/2;
大盘资金进场:IF(VB>=0,VB,0),colorred;
大盘资金撤走:IF(VB<=0,VB,0),colorgreen;
 V11:=3*SMA((NEW-LLV(NEW,55))/(HHV(NEW,55)-LLV(NEW,55))*100,5,1)-2*SMA(SMA((NEW-LLV(NEW,55))/(HHV(NEW,55)-LLV(NEW,55))*100,5,1),3,1);
趋势线: EMA(V11,3);
 V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
准备现金: STICKLINE(趋势线<=-1,0,20,3,0),colorcc9900;
 aa:=(趋势线<=-1) AND FILTER((趋势线<=-1),15);
 DRAWTEXT (aa,70,’准备现金’),colorcc9900;
买入股票: STICKLINE(趋势线<0 AND V12>13,0,50,3,0),color0099ff;
 bb:= (趋势线<=0 AND V12>13) AND FILTER((趋势线<=0 AND V12>13),10) ;
 DRAWTEXT (bb,60,’买入股票’),color0099ff;
卖临界: STICKLINE(趋势线>90 AND 趋势线>REF(趋势线,1),100,95,3,1),COLORFFFF00;
见顶清仓:FILTER(趋势线>101 AND 趋势线<REF(趋势线,1) AND 主力进<REF(主力进,1),8);
 DRAWTEXT( 见顶清仓,90,’逃顶’),coloryellow;
 cc:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);
 STICKLINE(大盘资金进场  AND 趋势线<13,0,30,3,0),colorred;
 STICKLINE(大盘资金撤走  AND 趋势线>90,0,30,3,0),colorgreen;
 STICKLINE(主力进 AND 趋势线<13,0,40,3,0),colorff00ff;
 STICKLINE(主力撤 AND 趋势线>90,0,40,3,0),colorblue;

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