【大智慧】內(nèi)外盤差指標公式
攻城獅 2015.12.02 23:49
PJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(O,C));
V2:=IF(H=L,1,MAX(C,O)-PJ);
V3:=IF(H=L,1,MIN(O,C)-L);
V4:=IF(H=L,1,PJ-MIN(C,O));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5)+(V2*V5);
V7:=(V3*V5)+(V4*V5);
WP1:=DYNAINFO(23);
NP1:=DYNAINFO(22);
WP2:=IF(BARSTATUS=2,V7*240/IF(HOUR<12,60*(HOUR-9)-30+MINUTE,120+60*(HOUR-13)+MINUTE),V7);
NP2:=IF(BARSTATUS=2,V6*240/IF(HOUR<12,60*(HOUR-9)-30+MINUTE,120+60*(HOUR-13)+MINUTE),V6);
WP:=IF(BARSTATUS=2 AND VOL*240,WP1,WP2);
NP:=IF(BARSTATUS=2 AND VOL*240 ,NP1,NP2);
{ gainiangu.com 股-旁-網(wǎng)_大智慧股票指標公式}
日差:WP-NP,LINETHICK0;
周差:SUM(日差,5),LINETHICK0;
月差:SUM(日差,22),LINETHICK0;
STICKLINE(日差>O,0,日差,-1,0),COLORRED;
STICKLINE(日差五日差:MA(日差,5),LINETHICK2,COLORGREEN;
十日差:MA(日差,10),LINETHICK2,COLORYELLOW;
A1:=BARSLAST(ref(cross(五日差,十日差),1));
B1:=ref(c,A1+1)>c and ref(五日差,A1+1)<五日差 and cross(五日差,十日差);
背離:=FILTER(B1>0,5);
STICKLINE(背離,五日差+7500,十日差-7500,3,0),COLORwhite;
DRAWTEXT(背離,0.57,’背離’),COLORred;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負責,投資決策請建立在獨立思考之上。