【大智慧】做多周期指標(biāo)公式
攻城獅 2016.01.19 09:20
拉升力:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE;
拉升力A:=SMA(拉升力,6.3,1);
波峰波谷:SMA(拉升力A,3,1),COLORFF00FF;
拉升力B:=3*拉升力A-2.1*波峰波谷;
空方:=3*波峰波谷-1* 拉升力A;
做空:IF(空方>拉升力B,拉升力B,空方),LINETHICK2,COLOR00FF00;
做空周期:HHV(做空,21),COLORBLUE,LINETHICK2;
partline(做空,做空>=REF(做空,1) ),COLORRED,LINETHICK3;
多頭:IF(做空>=REF(做空,1) ,做空,0),COLORRED,LINETHICK0;
DRAWICON(做空>=REF(做空,1) AND REF(做空,1) partline(做空,做空 空頭:IF(做空 DRAWICON(做空<=REF(做空,1) AND REF(做空,1)>REF(做空,2),做空,8);
短線:(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*20,LINETHICK0,COLORWHITE;
中線:(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,COLORYELLOW;
紅柱:SMA(短線,3,1),LINETHICK0,COLOR0000FF;
藍(lán)柱:SMA(中線,3,1),COLORSTICK,COLORFFFF00;
{紅柱}
STICKLINE(紅柱0,0,紅柱,2*3,0),COLOR888800;
STICKLINE(紅柱0,0,紅柱,1.5*3,0),COLORAAAA00;
STICKLINE(紅柱0,0,紅柱,0.8*3,0),COLORDDDD00;
STICKLINE(紅柱0,0,紅柱,0.3*3,0),COLORFFFF00;
STICKLINE(紅柱>REF(紅柱,1)AND 紅柱>0,0,紅柱,2*3,0),COLOR000088;
STICKLINE(紅柱>REF(紅柱,1)AND 紅柱>0,0,紅柱,1.5*3,0),COLOR0000AA;
STICKLINE(紅柱>REF(紅柱,1)AND 紅柱>0,0,紅柱,0.8*3,0),COLOR0000DD;
STICKLINE(紅柱>REF(紅柱,1)AND 紅柱>0,0,紅柱,0.3*3,0),COLOR0000FF;
STICKLINE(藍(lán)柱0,0,藍(lán)柱,2*3,0),COLOR008800;
STICKLINE(藍(lán)柱0,0,藍(lán)柱,1*3,0),COLOR00AA00;
STICKLINE(藍(lán)柱0,0,藍(lán)柱,0.8*3,0),COLOR00DD00;
STICKLINE(藍(lán)柱0,0,藍(lán)柱,0.3*3,0),COLOR00FF00;
{藍(lán)柱}
STICKLINE(紅柱>REF(紅柱,1)AND 紅柱<0,0,紅柱,2*3,0),COLOR880088;
STICKLINE(紅柱>REF(紅柱,1)AND 紅柱<0,0,紅柱,1.5*3,0),COLORAA00AA;
STICKLINE(紅柱>REF(紅柱,1)AND 紅柱<0,0,紅柱,0.8*3,0),COLORDD00DD;
STICKLINE(紅柱>REF(紅柱,1)AND 紅柱<0,0,紅柱,0.3*3,0),COLORFF00FF;
STICKLINE(紅柱 STICKLINE(紅柱 STICKLINE(紅柱 STICKLINE(紅柱 STICKLINE(藍(lán)柱>REF(藍(lán)柱,1)AND 藍(lán)柱<0,0,藍(lán)柱,2*3,0),COLOR009999;
STICKLINE(藍(lán)柱>REF(藍(lán)柱,1)AND 藍(lán)柱<0,0,藍(lán)柱,1.5*3,0),COLOR00BBBB;
STICKLINE(藍(lán)柱>REF(藍(lán)柱,1)AND 藍(lán)柱<0,0,藍(lán)柱,0.8*3,0),COLOR00DDDD;
STICKLINE(藍(lán)柱>REF(藍(lán)柱,1)AND 藍(lán)柱<0,0,藍(lán)柱,0.3*3,0),COLOR00FFFF;
{概念股網(wǎng)-股票公式網(wǎng)站 m.guangshenggb.com}
VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盤:=3*VAR300-2*VAR400;
A1:=CROSS(操盤,VAR300) AND VAR300<2.1 AND C>O;
STICKLINE(A1,5,0,4*2,0),COLOR770077;
STICKLINE(A1,5,0,3*2,0),COLOR990099;
STICKLINE(A1,5,0,2*2,0),COLORBB00BB;
STICKLINE(A1,5,0,1*2,0),COLORDD00DD;
STICKLINE(A1,5,0,0.3*2,0),COLORFF00FF;
DRAWTEXT(A1,5.2,’全倉’),COLORRED;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.guangshenggb.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點(diǎn),亦不對其真實(shí)性負(fù)責(zé),投資決策請建立在獨(dú)立思考之上。