【大智慧】多空防守指標(biāo)公式
攻城獅 2015.12.24 00:36
空方價:=EMA(HIGH,4);
多方價:=EMA(LOW,5);
B1:=IF(CROSS(CLOSE,空方價),1,IF(CROSS(多方價,CLOSE),-1,0));
B2:=REF(B1,BARSLAST(B1));
B3:=IF(B2=1,多方價,IF(B2=-1,空方價,0));
界點(diǎn):B3,LINETHICK0,colorFF00FF;
MA1:=B3;
C1:=(ABS(CLOSE-MA1))/CLOSE;
J:=(HHV(C1,160)+LLV(C1,160))/1.7;
CC:=IF(C1<=J-J/2,1,IF(C1<=J-J/3 AND C1>J-J/2,2,IF(C1<=J+J/3 AND C1>J-J/3,3,IF(C1<=2*J AND C1>J+J/3,4,IF(C1>2*J,5,0)))));
STICKLINE(CLOSE>MA1,0,CC,10,0),colorFFFFFF;
STICKLINE(CLOSE>MA1,0,CC,8,0),color0000ff;
STICKLINE(CLOSE>MA1 AND CC>3,3,CC,10,0),colorFFFF00;
STICKLINE(CLOSESTICKLINE(CLOSE STICKLINE(CLOSE 3,-3,-CC,10,0),color00FFFF;
DRAWTEXT(CLOSE>=MA1 AND BARSTATUS=2,1,’←多↑’),color00ffFF;
DRAWTEXT(CLOSEPARTLINE(1,0);
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR8:=LLV(LOW,34);
VARB:=HHV(HIGH,34);
BB:=EMA((VAR6-VAR8)/(VARB-VAR8)*100,9);
{概念股網(wǎng)-股票公式網(wǎng)站 m.chiang1015.com}
趨勢:EMA(0.667*REF(BB,1)+0.333*BB,2),LINETHICK0,colorFFFF00;
Q:=(2*CLOSE+HIGH+LOW)/4;
A1:=LLV(LOW,24);
A2:=HHV(HIGH,24);
A:=EMA((Q-A1)/(A2-A1)*100,13);
B:=EMA(0.667*REF(A,1)+0.333*A,3);
力道:A-B,LINETHICK0,colorFFFF00;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點(diǎn),亦不對其真實(shí)性負(fù)責(zé),投資決策請建立在獨(dú)立思考之上。