【大智慧】愚公漲跌指標公式
攻城獅 2015.12.20 01:07
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
長趨勢:3*Q3-2*Q4,COLORWHITE,LINETHICK3;
趨勢線:EMA(Q3, 3),COLORRED,LINETHICK3;
DRAWTEXT(CROSS(趨勢線, 長趨勢) AND REF(長趨勢,1)>80, REF(長趨勢,3), ‘頂’),COLORRED,LINETHICK5;
逢低買: DRAWTEXT(REF(CROSS(趨勢線,長趨勢),82) AND 趨勢線>1.3*長趨勢,長趨勢,’逢低買’),LINETHICK1;
買: DRAWTEXT(REF(CROSS(長趨勢,趨勢線),1) AND 長趨勢>1.3*趨勢線,趨勢線,’買’),COLORRED,LINETHICK1;
DRAWTEXTABS(5,5,’概念股網(wǎng) m.chiang1015.com’),linethick1,COLOR00EEff;
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(長趨勢,趨勢線);
DRAWTEXT(金叉,趨勢線,’★’),COLORRED;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負責,投資決策請建立在獨立思考之上。