您現(xiàn)在的位置: 南方財富網(wǎng) >> 股票知識 >> 炒股專題 >> 股票公式 >> 正文
南方財富搜索

股票公式好趨勢線

2009-4-26 16:40:02   來源:不詳   佚名

    
   CODE:[Copy to clipboard]input:p1(60),n(12),m(60);
MA(EMA(CLOSE,n),1), , linethick2,colored,;
MA(EMA(CLOSE,n),3), , linethick1,colored,;
MA(EMA(CLOSE,n),5), , COLORyellow;
MA(EMA(CLOSE,n),7), , COLORRED;
MA(EMA(CLOSE,n),9), , COLORRED;
MA(EMA(CLOSE,n),11), ,COLORRED;
MA(EMA(CLOSE,n),13), ,COLORRED;
MA(EMA(CLOSE,m),1), , COLORGREEN;
MA(EMA(CLOSE,m),3), , COLORGREEN;
MA(EMA(CLOSE,m),5), , COLOR89BD00;
MA(EMA(CLOSE,m),7), , COLORGREEN;
MA(EMA(CLOSE,m),9), , COLORGREEN;
MA(EMA(CLOSE,m),11), , COLORGREEN;
MA(EMA(CLOSE,m),13), , COLORGREEN;
mA1:MA(CLOSE,P1),linethick1,colorwhite,;

DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0 AND EMA(CLOSE,12)/LOW>1.15,3),
LOW,'●'),linethick3 , COLORMAGENTA;
DRAWTEXT(FILTER(EMA(CLOSE,12)-EMA(CLOSE,60)>0 AND HIGH/EMA(CLOSE,12)>1.15,3),
HIGH,'●'),linethick3 , linethick2,color99ff00,;

KOH:=LOW>REF(HIGH,1);
KOL:=HIGH<REF(LOW,1);
HIF:=LOW>REF(HIGH,BARSLAST(KOH)+1);
NHIF:=LOW<=REF(HIGH,BARSLAST(KOH)+1);
LIF:=HIGH<REF(LOW,BARSLAST(KOL)+1);
NLIF:=HIGH>=REF(LOW,BARSLAST(KOL)+1);
DRAWICON(HIF AND BARSLAST(koh)<BARSLAST(nhif) and BARSLAST(HIF)<BARSLAST(NHIF),REF(HIGH,BARSLAST(KOH)+1),6),ALIGN0;
DRAWICON(LIF AND BARSLAST(kol)<BARSLAST(nlif) and BARSLAST(LIF)<BARSLAST(NLIF),REF(LOW,BARSLAST(KOL)+1),05),ALIGN0;


文章來源:http://emto2.com文章來源:南方財富 http://emto2.com)
(責任編輯:張元緣)
    南方財富網(wǎng)聲明:股市資訊來源于合作媒體及機構,屬作者個人觀點,僅供投資者參考,并不構成投資建議。投資者據(jù)此操作,風險自擔。
商務進行時
每日必讀
學院24小時排行
證券導讀
熱圖推薦