分时图抢筹指标公式
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0,0,'牢记以下买卖原则:
'),COLORAA00AA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.035,0,'1、底部放量可关注;高位放
量要离场。上涨放量可关注;下跌放量是逃亡。'),COLOR008BC8;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.07,0,'2、弱势行情莫追高;底部分批
很重要。止损止盈要牢记;落袋为安利益保。'),COLOR008BC8;
DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))+DYNAINFO(3);
DEA:=EMA(DIF,9);
MACD1:=10*(DIF-DEA);
MACD2:=EMA(MACD1,2);
STICKLINE(MACD1>=MACD2AND
MACD1>=0,DYNAINFO(3),MACD1+DYNAINFO(3),0,0),COLOR0000B4;
STICKLINE(MACD1<MACD2AND
MACD1>0,DYNAINFO(3),MACD1+DYNAINFO(3),0,0),COLOR00B400;
STICKLINE(MACD1>=MACD2AND
MACD1<0,DYNAINFO(3),MACD1+DYNAINFO(3),0,0),COLOR5151A2;
STICKLINE(MACD1<MACD2AND
MACD1<0,DYNAINFO(3),MACD1+DYNAINFO(3),0,0),COLOR88743A;
均:SUM(CLOSE*VOL,FROMOPEN)/SUM(VOL,FROMOPEN),COLOR00BFBF;
分时筹码指标公式
MA30:=EMA(CLOSE,30),NODRAW;
强弱:=EMA(CLOSE,900)NODRAW;
STICKLINE((MA30>强弱),MA30,强弱,1,0),COLOR0000FF;
STICKLINE((MA30<强弱),MA30,强弱,1,0),COLOR00FF00;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,COLOR00DD00;
支撑:L1+P1*0.5/8,COLOR00DD00;
现价:CLOSE,COLORFFFFFF,LINETHICK2;
{STICKLINE(CROSS(支撑,现价),阻力*0.98,支撑,2,0),COLORYELLOW;
STICKLINE(CROSS(现价,阻力),阻力*1.01,阻力,2,0),COLORFF00FF;}
低买:IF(CROSS(支撑,CLOSE),支撑*0.99,支撑)COLOR0000FF,LINETHICK1;
高卖:IF(CROSS(现价,阻力),阻力*1.01,阻力),COLORFF00FF,LINETHICK1;
时间:=TIME=100100;
N:=BARSLAST(时间);
常数:=CONST(IF(N=0,C,REF(C,N))),COLORGREEN,DOTLINE;
CS1:=CONST(IF(N,HHV(H,0),REF(HHV(H,0),N)));
CS2:=CONST(IF(N,LLV(L,0),REF(LLV(L,0),N)));
A10点线:STICKLINE(时间=1,CS1,CS2,-1,0),COLORGREEN;
均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;
DRAWTEXT(A10点线,阻力*1.01,'10:00'),COLORRED;
时间R:=TIME=103100;
NR:=BARSLAST(时间R);
常数R:=CONST(IF(NR=0,C,REF(C,NR))),COLORGREEN,DOTLINE;
CS1R:=CONST(IF(NR,HHV(H,0),REF(HHV(H,0),NR)));
CS2R:=CONST(IF(NR,LLV(L,0),REF(LLV(L,0),NR)));
A10点30线:STICKLINE(时间R=1,CS1R,CS2R,-1,0),COLORGREEN;
均价R:=SUM(V*C,0)/SUM(V,0),COLORYELLOW;
DRAWTEXT(A10点30线,阻力*1.01,'10:30'),COLORRED;
时间T:=TIME=110100;
NT:=BARSLAST(时间T);
常数T:=CONST(IF(NT=0,C,REF(C,NT))),COLORGREEN,DOTLINE;
CS1T:=CONST(IF(NT,HHV(H,0),REF(HHV(H,0),NT)));
CS2T:=CONST(IF(NT,LLV(L,0),REF(LLV(L,0),NT)));
A11点线:STICKLINE(时间T=1,CS1T,CS2T,-1,0),COLORGREEN;
均价T:=SUM(V*C,0)/SUM(V,0),COLORYELLOW;
DRAWTEXT(A11点线,阻力*1.01,'11:00'),COLORRED;
时间T1:=TIME=130100;
NT1:=BARSLAST(时间T1);
常数T1:=CONST(IF(NT1=0,C,REF(C,NT1))),COLORGREEN,DOTLINE;
CS1T1:=CONST(IF(NT1,HHV(H,0),REF(HHV(H,0),NT1)));
CS2T1:=CONST(IF(NT1,LLV(L,0),REF(LLV(L,0),NT1)));
A11点30线:STICKLINE(时间T1=1,CS1T1,CS2T1,-1,0),COLORGREEN;
均价T1:=SUM(V*C,0)/SUM(V,0),COLORYELLOW;
DRAWTEXT(A11点30线,阻力*1.01,'13:00'),COLORRED;
时间T2:=TIME=133100;
NT2:=BARSLAST(时间T2);
常数T2:=CONST(IF(NT2=0,C,REF(C,NT2))),COLORGREEN,DOTLINE;
CS1T2:=CONST(IF(NT2,HHV(H,0),REF(HHV(H,0),NT2)));
CS2T2:=CONST(IF(NT2,LLV(L,0),REF(LLV(L,0),NT2)));
A1点30线:STICKLINE(时间T2=1,CS1T2,CS2T2,-1,0),COLORGREEN;
均价T2:=SUM(V*C,0)/SUM(V,0),COLORYELLOW;
DRAWTEXT(A1点30线,阻力*1.01,'13:30'),COLORRED;
时间T3:=TIME=140100;
NT3:=BARSLAST(时间T3);
常数T3:=CONST(IF(NT3=0,C,REF(C,NT3))),COLORGREEN,DOTLINE;
CS1T3:=CONST(IF(NT3,HHV(H,0),REF(HHV(H,0),NT3)));
CS2T3:=CONST(IF(NT3,LLV(L,0),REF(LLV(L,0),NT3)));
A2点线:STICKLINE(时间T3=1,CS1T3,CS2T3,-1,0),COLORGREEN;
均价T3:=SUM(V*C,0)/SUM(V,0),COLORYELLOW;
DRAWTEXT(A2点线,阻力*1.01,'14:00'),COLORRED;
时间T4:=TIME=143100;
NT4:=BARSLAST(时间T4);
常数T4:=CONST(IF(NT4=0,C,REF(C,NT4))),COLORGREEN,DOTLINE;
CS1T4:=CONST(IF(NT4,HHV(H,0),REF(HHV(H,0),NT4)));
CS2T4:=CONST(IF(NT4,LLV(L,0),REF(LLV(L,0),NT4)));
A2点30线:STICKLINE(时间T4=1,CS1T4,CS2T4,-1,0),COLORGREEN;
均价T4:=SUM(V*C,0)/SUM(V,0),COLORYELLOW;
DRAWTEXT(A2点30线,阻力*1.01,'14:30'),COLORRED;
今日开盘线:=DYNAINFO(4),COLORMAGENTA;
今日最高价:=DYNAINFO(5),COLORBLUE;
今日最低价:=DYNAINFO(6),COLORGREEN;
今日均价线:=DYNAINFO(11),COLORYELLOW;
DRAWTEXT(C=DYNAINFO(6)AND
DYNAINFO(11)>=DYNAINFO(4)*1.01,C*0.99,'买'),COLORRED;
DRAWTEXT(C=DYNAINFO(5)AND
DYNAINFO(11)>=DYNAINFO(4)*1.01,C*1.01,'卖'),COLORGREEN;
DRAWICON(C=DYNAINFO(6)AND
DYNAINFO(11)>=DYNAINFO(4)*1.01,L*0.995,1);
DRAWICON(C=DYNAINFO(5)AND
DYNAINFO(11)>=DYNAINFO(4)*1.01,L*1.005,2);
阻力*1.018,COLOR000000;
支撑*0.984,COLOR000000;
评论(0)