首頁 > 股票投資 > 股票技術(shù)指標(biāo)公式 > 正文

春江花月夜指標(biāo)公式源碼 春江花月夜指標(biāo)詳解

來源:【贏家江恩】責(zé)任編輯:chengmiaomiao添加時(shí)間:2017-04-21 10:09:28

  在學(xué)生時(shí)代我們肯定都學(xué)過春江花月夜古詩,在當(dāng)時(shí)學(xué)的時(shí)候就被它優(yōu)美的文字所吸引。其實(shí),不僅在文學(xué)中有這么美的語句,在金融經(jīng)濟(jì)中也有它的存在。在股票投資中就有春江花月夜指標(biāo)。股民們根據(jù)該指標(biāo)的操作,獲得了不菲收益。但還有些投資者對(duì)這部分知識(shí)還不是太熟悉,那么在接下來的文章中,贏家財(cái)富網(wǎng)主編就來和大家詳細(xì)介紹下

春江花月夜

  春江花月夜指標(biāo)由小花、帆、春雪三部分組成(如上圖所示),在該指標(biāo)中小花、帆是買點(diǎn),春雪是賣點(diǎn),在以下內(nèi)容會(huì)和大家分享充滿詩情畫意的買賣點(diǎn),希望對(duì)股民們的實(shí)戰(zhàn)操作能夠有所幫助。(如若大家還想了解股市K線圖可點(diǎn)擊閱讀)

春江花月夜買賣點(diǎn)

  【春江花月夜指標(biāo)公式】

  STICKLINE(1=1,0,-MACD,4,0),COLOR333300;

  DI:=EMA(C,3)-EMA(C,13);

  DE:=EMA(DI,9);

  MACD:=2*(DI-DE)*10;

  DI2:=EMA(C,5)-EMA(C,26);

  DEA2:=EMA(DI2,9);

  MACD2:=2*(DI2-DEA2)*10;

  DIFF3:=EMA(C,7)-EMA(C,89);

  DEA3:=EMA(DIFF3,21);

  MACD3:=2*(DIFF3-DEA3)*10;

  MMACD5:=MA(MACD3,3);

  STICKLINE(1=1,0,REFDATE(LLV(-MACD3,1000),DATE),4,0),COLOR333300;

  IF(MACD3<0,-MACD3,DRAWNULL)LINETHICK4,COLOR646400;

  STICKLINE(MACD3<0,0,-MACD3,4,0),LINETHICK4,COLOR646400;

  IF(MACD2<0,-MACD2,DRAWNULL)LINETHICK4,COLOR333333;

  STICKLINE(MACD2<0,0,-MACD2,4,0),COLOR333333;

  IF(MACD<0,-MACD,DRAWNULL)LINETHICK4,COLOR004444;

  STICKLINE(MACD<0,0,-MACD,4,0),COLOR004444;

  IF(MACD3>=0,MACD3,DRAWNULL)LINETHICK4,COLOR00CC00;

  STICKLINE(MACD3>=0,0,MACD3,4,0),COLOR00CC00;

  IF(MACD2>=0,MACD2,DRAWNULL)LINETHICK4,COLOR009900;

  STICKLINE(MACD2>=0,0,MACD2,4,0),COLOR009900;

  STICKLINE(MACD>=0,0,MACD,4,0),COLOR006600;

  STICKLINE(MACD3>=0,0,-MACD3*0.8,4,0),COLOR666600;

  STICKLINE(MACD2>=0,0,-MACD2*0.8,4,0),COLOR663300;

  STICKLINE(MACD>=0,0,-MACD*0.8,4,0),COLOR333300;

  小花:IF(MACD>=0 AND REF(MACD,1)<0,1,DRAWNULL),CROSSDOT,LINETHICK6,COLORFF33FF;

  IF(MACD>=0 AND REF(MACD,1)<0,1,DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF;

  春雪:IF(CROSS(MMACD5,MACD3),MACD3*1.2,DRAWNULL),CROSSDOT,

  LINETHICK2,COLORFFFFFF;

  紅帆:STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,MACD3*1.1,MACD3*1.1-0.5,16,1),COLORFFFFFF;

  STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,MACD3*1.1+3,MACD3*1.1+0.3,8,0),

  COLOR0000FF;

  STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,MACD3*1.1,MACD3*1.1+3.5,0.001,1),

  COLORFFFFFF;

  IF(MACD>=0,-9,DRAWNULL),COLORFFFF00,POINTDOT;

  IF(MACD2>=0,-8,DRAWNULL),COLORFFFF00,POINTDOT;

  IF(C>0,-7,-7),COLORFFFF00,POINTDOT;

  IF(MACD3>0,-6,DRAWNULL),COLORFFFF00,POINTDOT;

  IF(MACD3>0,-5,-5),COLORFFFF00,POINTDOT;

  IF(C>0,-4,-4),COLORFFFF00,POINTDOT;

  IF(MACD3>0,-3,DRAWNULL),COLORFFFF00,POINTDOT;

  IF(MACD3>0,-2,DRAWNULL),COLORFFFF00,POINTDOT;

  IF(C>0,-1,-1),COLORFFFF00,POINTDOT;

  春江花月夜指標(biāo)的相關(guān)知識(shí)點(diǎn)到這兒就和大家介紹完畢,希望能對(duì)廣大股民們了解這部分知識(shí)能有所幫助。如若大家還想學(xué)習(xí)其他股票公式,請(qǐng)繼續(xù)關(guān)注本欄目的更新。最后,祝愿大家投資順利!

鄭州亨瑞軟件開發(fā)有限公司
版權(quán)所有

服務(wù)中心:鄭州市金水區(qū)農(nóng)業(yè)路經(jīng)三路
郵編:450002 網(wǎng)址:m.hbzcqc.cn

銷售熱線:0371-65350319
技術(shù)支持:13333833889

注冊(cè)下載;