看盘2015
看盘2015
MA9:MA(C,9),colorred;
MA20:MA(C,20),colorgreen;
现价:CLOSE;
EM1:=EMA(C,3),colorwhite;
EM2:=EMA(C,5),colorred;
EM3:=EMA(C,8),colorgreen;
TJ:=BETWEEN(EM2,EM1,EM3);
立桩量:=FILTER(TJ=0,5);
止损平台价:REF(H,BARSLAST(立桩量));
STICKLINE(C,REF(H,BARSLAST(立桩量)),REF(H,BARSLAST(立桩量)),7,0),colorgreen,LINETHICK1;
//DRAWTEXT(C AND ISLASTBAR,止损平台价*1.01,'突破买入---');
//DRAWICON(CROSS(现价,止损平台价 ),L*0.998,11);
//DRAWICON(CROSS(止损平台价,现价),H*1.009,2);
STICKLINE(现价>=止损平台价,LOW,HIGH,0.1,1),colorred;
STICKLINE(现价>=止损平台价,CLOSE,OPEN,9,1),colorred;
STICKLINE(现价<止损平台价,LOW,HIGH,0.1,1),colorcyan;
STICKLINE(现价<止损平台价,CLOSE,OPEN,9,1),colorcyan;
B线:TROUGH(3,10,1),colorred,LINETHICK1;
止损涨幅:现价/止损平台价*100-100;
TIPTEXT(CROSS(现价*0.999,止损平台价) AND 现价>MA(C,9),L*0.94,'B:'+止损平台价,DRAWICON(CROSS(现价*0.999,止损平台价) AND 现价>MA(C,9),L*0.98,11));
TIPTEXT(CROSS(止损平台价,现价) AND 现价>MA(C,20),H*1.03,'止损平台:'+止损平台价,DRAWICON(CROSS(止损平台价,现价) AND 现价>MA(C,20),H*1.05,2));
//AMV0:=VOL*(OPEN+CLOSE+HIGH+LOW)/4;
//势:EMA(AMV0,20)/EMA(VOL,20);
//压:6*HHV(势,2)-5*势;
//托:2*势-压,colorred;
//DRAWICON(CROSS(CLOSE,势),L-0.2,9);
S顶:=PEAKBARS(3,5,1,0),colorgreen,LINETHICK2;
VAR233:=IF(S顶=1,2,0);
操盘平台:= IF(VAR233=2,2,0);
顶AA:=IF(操盘平台>REF(操盘平台,1),50,0),colorgreen, LINETHICK2;
S线:REF(H,BARSLAST(顶AA=50));
预期获利空间:(S线/B线)*100-100;
底部界入获利:(CLOSE/B线)*100-100;
DRAWTEXT_FIX(1,0.00,0.06,0,'股价>止损平台价 买入'),colorred,LINETHICK6;
DRAWTEXT_FIX(1,0.00,0.12,0,'股价<止损平台价 卖出'),colorgreen,LINETHICK6;
zsx1:=HHV(CLOSE,60);
zq:=BARSLAST(CLOSE=zsx1);
gg:=LLV(CLOSE,zq);
IF(gg=REF(gg,1))
zj:=(zsx1-REF(zsx1,1));
ELSE zj:=0;
IF(zq=0)
mttp:gg;
ELSE mttp:REF(mttp,1)+zj;
pttp:zsx1;
//ELSE pttp:REF(pttp,1)+zj;
//DRAWTEXT(pttp>REF(pttp,1),pttp,'突');
//DRAWTEXT(zj>REF(zj,1),pttp,'突');
现价:CLOSE