久久国产成人av_抖音国产毛片_a片网站免费观看_A片无码播放手机在线观看,色五月在线观看,亚洲精品m在线观看,女人自慰的免费网址,悠悠在线观看精品视频,一级日本片免费的,亚洲精品久,国产精品成人久久久久久久

分享

把KDJ的MACD做成主圖更加方便與分析 源碼 附通達信的

 笑和和777 2016-11-28

以下是把KDJ的MACD做成主圖更加方便與分析 源碼 附通達信的(無源碼的請下載附件導入)

KDJMACD做成主圖更加方便與分析 源碼 附通達信

【A】大智慧的和通達信的.不是完全一樣.這是因為各有特別的函數(shù).不能取代. 也各有所長.
【B】用KDJ的J編輯MACD是有好處.但是你要是用在主圖那就不一樣了. 這個MACD的數(shù)據(jù)比原來的MACD大了十倍.百倍.所以和股價極其不協(xié)調.為此不得不加參數(shù)【PK】然而股價由一兩塊到幾百塊.指數(shù)則上千上萬.所以為了明確看清楚【K線】就必須大幅度調整【PK】這個數(shù)據(jù).大家看看我發(fā)的圖.就明白了.
【C】我仔細研究一下參數(shù)【PK】每次換股都得調正太麻煩了---------------改用【PK:=50/C;】也可以的-----------通達信軟件同樣也可以的-----------------
【D】其實高拋低吸現(xiàn)在的太過頻繁咱們可以根據(jù)你的喜好變化變化比如可以用【RSI】這個指標


{高拋低吸}
LC:=REF(CLOSE,1);
 RSI1:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;
 SELL2:=(CROSS(85,RSI1));
 DRAWTEXT(FILTER(SELL2,4),H*1.112,'★賣'),COLOR00FF00;
 STICKLINE(FILTER(SELL2,4),H*1.15,H,0,0),COLOR05FF00;
 VB1:=C-REF(C,1);
 VB2:=100*EMA(EMA(VB1,6),6)/EMA(EMA(ABS(VB1),6),6);
 VB3:=IF(LLV(VB2,2)=LLV(VB2,7) AND COUNT(VB2<0,2) and="">
 VB4:=FILTER(VB3=1,5);
 DRAWTEXT(FILTER(VB4,4),L*0.83,'★買'),COLOR006FFF;
 STICKLINE(FILTER(VB4,4),L*0.8,L,0,0),COLOR006FFF;
 


大智慧的源碼如下,;

DRAWGBKlast(c>0,strip(RGB(0,0,60),RGB(0,0,0),0));
 PK:=50/C;  {后改的  不用再調正參數(shù)了}
A7:=(2*C+H+L)/4;
操作:WMA(a7,5),COLOR0000ff,linethick3;
 LLX:LLV(操作,2),COLORFF9900,linethick2; ;
 PARTLINE(操作,操作=LLX,rgb(0,200,200),操作<>LLX,rgb(255,0,0)),linethick2;
 Var1:LLV(a7,21),color00ffff,LINETHICK1;
 Var2:HHV(a7,21),color0044ff,LINETHICK1;
 {K線變色}
STICKLINE(CLOSE>=OPEN,OPEN,LOW,0.5,0 ),COLOR0000ff,LAYER0;
 STICKLINE(CLOSE>=OPEN,CLOSE,HIGH,0.5,0 ),COLOR0000ff,LAYER0;
 STICKLINE(CLOSE
 STICKLINE(CLOSE

 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),COLOR002200;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLOR004400;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLOR006600;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLOR008800;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLOR00AA00;  
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR00BB00;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00CC00;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00DD00;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00DD00;

 STICKLINE(close>open,close,open,8,0) ,COLORFF00FF;
 STICKLINE(close>open,close,open,7,0) ,COLORFF22FF;
 STICKLINE(close>open,close,open,6,0) ,COLORFF44FF;
 STICKLINE(close>open,close,open,5,0) ,COLORFF66FF;
 STICKLINE(close>open,close,open,4,0) ,COLORFF88FF;
 STICKLINE(close>open,close,open,3,0) ,COLORFF99FF;
 STICKLINE(close>open,close,open,2,0) ,COLORFFAAFF;
 STICKLINE(close>open,close,open,1,0) ,COLORFFBBFF;
 STICKLINE(close>open,close,open,0,0) ,COLORFFBBFF;

 RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
 K:=SMA(RSV,3,1);
 D:=SMA(K,3,1);
 J:=3*K-2*D;
 DIFF:(EMA(J,8) - EMA(J,16))/PK,COLOR00FF00,LAYER0;;
 DEA:EMA(DIFF,5),COLORFF9900,LAYER0;;
 MACD:2*(DIFF-DEA), COLORSTICK;
 0,COLORff9900,DOTLINE;
 FILLRGN(DIFF,DEA,DIFF>DEA,RGB(80,0,80),DIFF<>
 DRAWTEXTABS(5,10,'■疊加KDJ的坐標參數(shù)與股票價格有關需要調整.在不重疊的條件下盡可能的放大K線:【 PK='+PK+'】'),COLOR00FFFF,LINETHICK3,LAYER0;
 DRAWTEXTABS(5,30,'■現(xiàn)在KDJ的參數(shù)是:N=9,M1=3,M2=3;'),COLOR00FF00,LINETHICK3,LAYER0;
 DRAWTEXTABS(5,50,'■【KDJ】的【MACD】的參數(shù)是:LONG=8,LONG=16,M=5;'),COLOR0049FF,LINETHICK3,LAYER0;

 {高拋低吸}
MA5:=MA(CLOSE,5);
 DIFFG:=(EMA(C,12) - EMA(C,26));
 DEAG:=EMA(DIFFG,9);
 MACDG:=2*(DIFFG-DEAG);
賣:=CROSS((MA5REF(MA5,1) AND MACDG>REF(MACDG,1) AND J>REF(J,1)));
 DRAWTEXT(FILTER(賣,5),H*1.112,'★賣'),COLOR00FF00;
 STICKLINE(FILTER(賣,5),H*1.15,H,0,0),COLOR05FF00;
買:=CROSS((MA5>REF(MA5,1) AND MACDG>REF(MACDG,1) AND J>REF(J,1)),(MA5<>
 DRAWTEXT(FILTER(買,5),L*0.83,'★買'),COLOR0000FF;
 STICKLINE(FILTER(買,5),L*0.8,L,0,0),COLOR0555FF;

把KDJ的MACD做成主圖更加方便與分析 源碼 附通達信的


    本站是提供個人知識管理的網(wǎng)絡存儲空間,,所有內容均由用戶發(fā)布,,不代表本站觀點,。請注意甄別內容中的聯(lián)系方式,、誘導購買等信息,,謹防詐騙,。如發(fā)現(xiàn)有害或侵權內容,,請點擊一鍵舉報,。
    轉藏 分享 獻花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約