【大智慧】操盤線主圖指標(biāo)公式
攻城獅 2016.01.02 05:42
操盤線:EMA(CLOSE,13),COLORRED;
M5:MA(CLOSE,5),COLORWHITE;
黃金線:COST(24),COLORYELLOW,POINTDOT,LINETHICK4;
底線:COST(5),COLORGREEN;
1號線:MA(CLOSE,144),COLORWHITE,LINETHICK2;
4號線:EMA(CLOSE,453),COLORRED,LINETHICK2;
VAR2:=(HIGH+LOW+CLOSE*2)/4;
VAR3:=EMA(VAR2,21);
VAR4:=STD(VAR2,21);
VAR5:=((VAR2-VAR3)/VAR4*100+200)/4;
VAR6:=(EMA(VAR5,5)-25)*1.56;
AK:=EMA(VAR6,2)*1.22;
AD:=EMA(AK,2);
AJ:=3*AK-2*AD;
STICKLINE(CROSS(AK,AD),LOW,LOW-0.09,8,0),COLORRED;{短線買}
AC:=CLOSE;
AH:=HIGH;
AL:=LOW;
AO:=OPEN;
STICKLINE(AC>=AO,AH,AC,1,0),color008899;
STICKLINE(AC>=AO,AH,AC,0,0),color77ffee;
STICKLINE(AC>=AO,AO,AL,1,0),color008899;
STICKLINE(AC>=AO,AO,AL,0,0),color77ffee;
STICKLINE(AC>AO,AC,AO,8,0),COLOR008899;
STICKLINE(AC>AO,AC,AO,7,0),COLOR1199aa;
STICKLINE(AC>AO,AC,AO,6,0),COLOR22aabb;
STICKLINE(AC>AO,AC,AO,5,0),COLOR33bbcc;
STICKLINE(AC>AO,AC,AO,4,0),COLOR44ccdd;
STICKLINE(AC>AO,AC,AO,3,0),COLOR55ddee;
STICKLINE(AC>AO,AC,AO,2,0),COLOR66eeee;
STICKLINE(AC>AO,AC,AO,1,0),COLOR77ffee;
STICKLINE(AC<=AO,AH,AC,1,0),colorff8800;
STICKLINE(AC<=AO,AH,AC,0,0),colorffff33;
STICKLINE(AC<=AO,AO,AL,1,0),colorff8800;
STICKLINE(AC<=AO,AO,AL,0,0),colorffff33;
STICKLINE(AC<=AO,AC,AO,8,0),COLORff8800;
STICKLINE(AC<=AO,AC,AO,7,0),COLORff9900;
STICKLINE(AC<=AO,AC,AO,6,0),COLORffaa11;
STICKLINE(AC<=AO,AC,AO,5,0),COLORffbb11;
STICKLINE(AC<=AO,AC,AO,4,0),COLORffcc22;
STICKLINE(AC<=AO,AC,AO,3,0),COLORffdd22;
STICKLINE(AC<=AO,AC,AO,2,0),COLORffee33;
STICKLINE(AC<=AO,AC,AO,1,0),COLORffff33;
F:=100*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
今小昨:=IF(CLOSE p1:=今小昨;
今小前:=IF(CLOSE p2:=今小前;
STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,OPEN,CLOSE,4,0),COLORRED;{短線進(jìn)}
STICKLINE(P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0,OPEN,CLOSE,4,0),COLORBLUE;{短線出}
YC:=REF(CLOSE,1);
止損價位:(YC*1.0035*97+0.2)/99.65,COLORRED,LINETHICK0; { }
DRAWTEXTABS(CLOSE,0,’★ ======================’),COLORRED;
DRAWTEXTABS(CLOSE,80,’操 ———————-‘),COLORRED;
DRAWTEXTABS(CLOSE,160,’盤 ———————-‘),COLORRED;
DRAWTEXTABS(CLOSE,240,’鐵 ———————-‘),COLORRED;
DRAWTEXTABS(CLOSE,320,’律 ======================’),COLORRED;
{概念股網(wǎng)-股票公式網(wǎng)站 m.chiang1015.com}
DRAWTEXTABS(CLOSE,40,’ 買入條件 E13 CCI’),colorYellow;
DRAWTEXTABS(CLOSE,120,’ 買入時間 2:30以后’ ),colorYellow;
DRAWTEXTABS(CLOSE,200,’ 止損價位 ‘+NUMTOSTR(止損價位)+’元’),colorYellow;
DRAWTEXTABS(CLOSE,280,’ 線上:工作 線下:休息’),color00FFFF;
{ }
gj:=AMOUNT/VOL/100;
E:=(HIGH+LOW+OPEN+2*CLOSE)/5;
明日阻力:=2*E-LOW;
明日支撐:=2*E-HIGH;
明日突破:=E+(HIGH-LOW);
明日反轉(zhuǎn):=E-(HIGH-LOW);
今日阻力:=REF(明日阻力 , 1);
今日支撐:=REF(明日支撐 , 1);
DRAWTEXTABS(200,8,’—————–‘),ColorFFFFFF;
DRAWTEXTABS(200,22,’—————–‘),ColorFFFFFF;
DRAWTEXTABS(200,36,’—————–‘),ColorFFFFFF;
DRAWTEXTABS(200,52,’—————–‘),ColorFFFFFF;
DRAWTEXTABS(200,70,’—————–‘),ColorFFFFFF;
DRAWTEXTABS(200,86,’—————–‘),ColorFFFFFF;
DRAWTEXTABS(200,102,’—————–‘),ColorFFFFFF;
DRAWTEXTABS(200,14,’今日阻力=:’+NUMTOSTR(今日阻力)+”),Color00FFFF;
DRAWTEXTABS(200,30,’今日支撐=:’+NUMTOSTR(今日支撐)+”),Color00FF00;
DRAWTEXTABS(200,46,’明日突破=:’+NUMTOSTR(明日突破)),ColorFF00FF;
DRAWTEXTABS(200,62,’明日阻力=:’+NUMTOSTR(明日阻力)),ColorFFFF00;
DRAWTEXTABS(200,78,’明日支撐=:’+NUMTOSTR(明日支撐)),COLORRED;
DRAWTEXTABS(200,94,’明日反轉(zhuǎn)=:’+NUMTOSTR(明日反轉(zhuǎn))),COLORGREEN;
N:=13;
A:=HHV(HIGH,N)=HIGH AND HIGH>REF(HIGH,1);A1:=FILTER(A,N-1);
B:=LLV(LOW,N)=LOW AND LOW TS1:=BARSLAST(A1);
箱頂:REF(HIGH,TS1) ,COLORFF00FF, LINETHICK0;
STICKLINE(1,箱頂,箱頂,7,0),COLORFF00FF;
TS11:=BARSLAST(B1);
箱底:REF(LOW,TS11) ,COLORFF8080, LINETHICK0;
STICKLINE(1,箱底,箱底,7,0),COLORFF8080;
DRAWICON(CROSS(CLOSE,箱頂),HIGH*1.01,4);
DRAWICON(CROSS(箱底,CLOSE),LOW*0.99,5);
DRAWICON(CROSS(箱頂,CLOSE) AND REF(CLOSE,1)>=箱頂,箱頂,12);
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點(diǎn),亦不對其真實性負(fù)責(zé),投資決策請建立在獨(dú)立思考之上。