【通達(dá)信】戰(zhàn)贏趨勢(shì)指標(biāo)公式
攻城獅 2016.03.27 22:33
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
長(zhǎng)趨勢(shì):3*Q3-2*Q4,COLORWHITE,LINETHICK3;
趨勢(shì)線(xiàn):EMA(Q3, 3),COLORRED,LINETHICK3;
{m.chiang1015.com 概念股網(wǎng)_通達(dá)信股票指標(biāo)公式}
DRAWTEXT(CROSS(趨勢(shì)線(xiàn), 長(zhǎng)趨勢(shì)) AND REF(長(zhǎng)趨勢(shì),1)>80, REF(長(zhǎng)趨勢(shì),3), ‘頂’),COLORRED,LINETHICK5;
逢低買(mǎi): DRAWTEXT(REF(CROSS(趨勢(shì)線(xiàn),長(zhǎng)趨勢(shì)),82) AND 趨勢(shì)線(xiàn)>1.3*長(zhǎng)趨勢(shì),長(zhǎng)趨勢(shì),’逢低買(mǎi)’),LINETHICK1;
買(mǎi): DRAWTEXT(REF(CROSS(長(zhǎng)趨勢(shì),趨勢(shì)線(xiàn)),1) AND 長(zhǎng)趨勢(shì)>1.3*趨勢(shì)線(xiàn),趨勢(shì)線(xiàn),’買(mǎi)’),COLORRED,LINETHICK1;
VAR3:=PEAKBARS(3,15,1)<10;
VAR5:=IF(VAR3=1,2,0);
頂:= IF(VAR5=2,2,0);
頂A:IF(頂>REF(頂,1),50,0),COLORGREEN;
DRAWTEXT(頂A=50,45,’快逃’),COLOR00FF00;
金叉: CROSS(長(zhǎng)趨勢(shì),趨勢(shì)線(xiàn));
DRAWTEXT(金叉,趨勢(shì)線(xiàn),’★’),COLORRED;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場(chǎng),不代表本網(wǎng)贊同其觀點(diǎn),亦不對(duì)其真實(shí)性負(fù)責(zé),投資決策請(qǐng)建立在獨(dú)立思考之上。