您現(xiàn)在的位置: 南方財(cái)富網(wǎng) >> 股票知識(shí) >> 股票公式 >> 正文
南財(cái)搜索

大智慧股票公式之智能買賣的源碼

2012/10/10 14:07:03   來源:本站原創(chuàng)   佚名
    

  大智慧股票公式之智能買賣的源碼

  {智能買賣的源碼}

  短趨勢(shì)線:MA(CLOSE,13),COLORYELLOW,LINETHICK2;中線:=MA(CLOSE,33);

  中趨勢(shì)線:MA(CLOSE,55),LINETHICK1,COLORGRAY;

  年線:MA(CLOSE,250),LINETHICK1,COLORGRAY,POINTDOT;

  PARTLINE(短趨勢(shì)線,CLOSE》短趨勢(shì)線,RGB(255,0,0),CLOSE《短趨勢(shì)線,RGB(0,255,0),1,RGB(0,0,255)),LINETHICK2;

  上極限:=((C-REF(MA(CLOSE,20),1))/20+短趨勢(shì)線)*1.20;

  DRAWTEXT(CROSS(CLOSE,上極限),H*1.02,‘減倉’),COLORGREEN;

  DRAWTEXT(CROSS(CLOSE,MA(C,13)) AND 短趨勢(shì)線《REF(短趨勢(shì)線 ,1) AND 短趨勢(shì)線《中趨勢(shì)線 ,H*1.02,‘減倉’),COLORGREEN;

  DRAWTEXT(CROSS(短趨勢(shì)線,C) AND INDEXC》MA(INDEXC,13) AND 短趨勢(shì)線》REF(短趨勢(shì)線 ,1) AND V《REF(V,1) AND 短趨勢(shì)線》中趨勢(shì)線 ,L*0.97,‘買入’),COLORRED;

  STICKLINE(CROSS(短趨勢(shì)線,C) AND 短趨勢(shì)線》REF(短趨勢(shì)線 ,1) AND V《REF(V,1) AND 短趨勢(shì)線》中趨勢(shì)線 ,L,L*0.99,2,1),COLORYELLOW;

  VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;

  DRAWTEXT(VAR1》9 AND FILTER(VAR1《REF(VAR1,1),5),H*1.02,‘減倉’),COLORGREEN;

  DRAWTEXT(VAR1》20 AND FILTER(VAR1《REF(VAR1,1),5),H*1.06,‘賣出’),COLORYELLOW;

  VAR2:=HHV(VAR1》20,10);

  DRAWTEXT(FILTER(VAR1《-9 AND VAR1》REF(VAR1,1),18) AND V》REF(V,1),L*0.98,‘反彈’),COLORRED;

  DRAWTEXT(VAR1《-20 AND FILTER(VAR1》 REF(VAR1,1),5) ,L*0.95,‘抄底’),COLORYELLOW;

  DRAWTEXT(VAR2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),H*1.1,‘危險(xiǎn)’),COLORYELLOW;

  VAR12:=(HIGH - LOW);VAR3:=ABS((OPEN - CLOSE));VAR4:=(HIGH - IF((CLOSE 》 OPEN),CLOSE,OPEN));

  VAR5:=(IF((CLOSE 》 OPEN),OPEN,CLOSE) - LOW);VAR6:=((VAR3 / VAR12) * VOL);

  VAR7:=((VAR4 / VAR12) * VOL);VAR8:=((VAR5 / VAR12) * VOL);

  VARB:=(((MA(CLOSE,5) 》 MA(CLOSE,10)) AND (MA(CLOSE,10) 》 MA(CLOSE,30))) AND (MA(CLOSE,30) 》 MA(CLOSE,60)));

  DRAWTEXT((((((VAR6 》 (MA(VOL,5) * 2)) AND 短趨勢(shì)線》REF(短趨勢(shì)線 ,1) AND (VAR6 》= VAR7)) AND (VAR6 》= VAR8))

  AND (CLOSE 》 OPEN)) OR ((VOL 》 (MA(VOL,5) * 3)) AND VARB AND 短趨勢(shì)線》REF(短趨勢(shì)線 ,1))) ,L*0.98,‘主力介入’),COLORWHITE;

(南方財(cái)富網(wǎng)SOUTHMONEY.COM)
    南方財(cái)富網(wǎng)聲明:股市資訊來源于合作媒體及機(jī)構(gòu),屬作者個(gè)人觀點(diǎn),僅供投資者參考,并不構(gòu)成投資建議。投資者據(jù)此操作,風(fēng)險(xiǎn)自擔(dān)。
延伸閱讀
商務(wù)進(jìn)行時(shí)
每日必讀
學(xué)院24小時(shí)排行
證券導(dǎo)讀
熱圖推薦

關(guān)于南方財(cái)富網(wǎng) -版權(quán)聲明誠(chéng)聘英才廣告服務(wù)網(wǎng)站地圖友情鏈接
特此聲明:廣告商的言論與行為均與南方財(cái)富網(wǎng)無關(guān)
2dayisday1.com
南方財(cái)富網(wǎng) © 版權(quán)所有 閩ICP備09035581號(hào)