【同花順】最短趨勢(shì)指標(biāo)公式
攻城獅 2015.11.09 11:42
RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
操作線:SMA(RSV,3,1),COLORFF00FF,LINETHICK1;
趨勢(shì)線:SMA(操作線,3,1),COLOR00FF00,LINETHICK1;
買賣差:=操作線-趨勢(shì)線;
STICKLINE(買賣差>=0,(操作線-買賣差*0.05),(操作線-買賣差*0.15),3,0) ,COLOR00ffff;
STICKLINE(買賣差>=0,(操作線-買賣差*0.2),(操作線-買賣差*0.35),3,0) ,COLOR00ccff;
STICKLINE(買賣差>=0,(操作線-買賣差*0.4),(操作線-買賣差*0.55),3,0) ,COLOR0099ff;
STICKLINE(買賣差>=0,(操作線-買賣差*0.6),(操作線-買賣差*0.75),3,0) ,COLOR0066ff;
STICKLINE(買賣差>=0,(操作線-買賣差*0.8),(操作線-買賣差*0.95),3,0) ,COLOR0000cc;
STICKLINE(買賣差<0,(趨勢(shì)線+買賣差*0.05),(趨勢(shì)線+買賣差*0.15),3,0) ,COLOR006600;
STICKLINE(買賣差<0,(趨勢(shì)線+買賣差*0.2),(趨勢(shì)線+買賣差*0.35),3,0) ,COLOR009900;
STICKLINE(買賣差<0,(趨勢(shì)線+買賣差*0.4),(趨勢(shì)線+買賣差*0.55),3,0) ,COLOR00cc00;
STICKLINE(買賣差<0,(趨勢(shì)線+買賣差*0.6),(趨勢(shì)線+買賣差*0.75),3,0) ,COLOR00ff00;
STICKLINE(買賣差<0,(趨勢(shì)線+買賣差*0.8),(趨勢(shì)線+買賣差*0.95),3,0) ,COLOR66ff00;
超賣:20,colorwhite;
超買:80,colorblue;
DRAWTEXT(CROSS(操作線,趨勢(shì)線),操作線,’▲’),LINETHICK2,COLORFF00FF;
DRAWTEXT(CROSS(趨勢(shì)線,操作線),趨勢(shì)線,’▼’),LINETHICK2,COLOR00FF00;
VC:=(2*C+H+L)/4;
VD:=LLV(L,34);
VE:=HHV(H,34);
VF:=LLV(L,21);
V10:=HHV(H,21);
V11:=EMA((VC-VF)/(V10-VD)*100,5);
V12:=EMA((VC-VD)/(VE-VD)*100,8);
V13:=EMA(V12,5);
STICKLINE(V12>0 AND (V12-V13)>=0 ,80 ,78 ,6 ,0 ),COLORFF00FF;
STICKLINE(V12>0 AND (V12-V13)<0 ,80 ,78 ,6 ,1 ),COLOR00FF00;
STICKLINE(V12>0 AND (V12-V13)>=0 ,20 ,18 ,6 ,0 ),COLORFF00FF;
STICKLINE(V12>0 AND (V12-V13)<0 ,20 ,18 ,6 ,1 ),COLOR00FF00;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點(diǎn),亦不對(duì)其真實(shí)性負(fù)責(zé),投資決策請(qǐng)建立在獨(dú)立思考之上。