午夜视频在线网站,日韩视频精品在线,中文字幕精品一区二区三区在线,在线播放精品,1024你懂我懂的旧版人,欧美日韩一级黄色片,一区二区三区在线观看视频

分享

通達信瘋賣的六脈神劍指標公式源碼含選股指標公式

 孫雙印 2020-11-14
DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);
  DEA:=EMA(DIFF,5);
  A1:=DIFF>DEA;
  MACD金叉:IF(A1,1,0),COLORRED;
  RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
  K:=SMA(RSV1,3,1);
  D:=SMA(K,3,1);
  DRAWICON(K>D,2,1);
  DRAWICON(K<D,2,2);
  DRAWTEXT(ISLASTBAR=1,2,'.KDJ'),COLORFFFFFF;
  A2:=K>D;
  KDJ金叉:IF(A2,2,0),COLORRED;
  LC:=REF(CLOSE,1);
  RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
  RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
  DRAWICON(RSI1>RSI2,3,1);
  DRAWICON(RSI1<RSI2,3,2);
  DRAWTEXT(ISLASTBAR=1,3,'.RSI'),COLORFFFFFF;
  A3:=RSI1>RSI2;
  RSI金叉:IF(A3,3,0),COLORRED;
  RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
  LWR1:=SMA(RSV,3,1);
  LWR2:=SMA(LWR1,3,1);
  DRAWICON(LWR1>LWR2,4,1);
  DRAWICON(LWR1<LWR2,4,2);
  DRAWTEXT(ISLASTBAR=1,4,'.LWR'),COLORFFFFFF;
  A4:=LWR1>LWR2;
  LWR金叉:IF(A4,4,0),COLORRED;
  BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
  DRAWICON(CLOSE>BBI,5,1);
  DRAWICON(CLOSE<BBI,5,2);
  DRAWTEXT(ISLASTBAR=1,5,'.BBI'),COLORFFFFFF;
  A5:=CLOSE>BBI;
  BBI金叉:IF(A5,5,0),COLORRED;
  MTM:=CLOSE-REF(CLOSE,1);
  MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
  MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
  DRAWICON(MMS>MMM,6,1);
  DRAWICON(MMS<MMM,6,2);
  DRAWTEXT(ISLASTBAR=1,6,'.MTM'),COLORFFFFFF;
  A6:=MMS>MMM;
  MTM金叉:IF(A6,6,0),COLORRED;
  漲買入:IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,7,0),COLORYELLOW,LINETHICK2;
  上漲:IF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,7,0),COLORYELLOW,LINETHICK2;
  晴天:BARSLASTCOUNT(A1 AND A2 AND A3 AND A4 AND A5 AND A6),LINETHICK0;
  雨天:BARSLASTCOUNT(MACD金叉+KDJ金叉+RSI金叉+LWR金叉+BBI金叉+MTM金叉>0 AND MACD金叉+KDJ金叉+RSI金叉+LWR金叉+BBI金叉+MTM金叉<21 ),LINETHICK0;
  雪天:BARSLASTCOUNT(MACD金叉+KDJ金叉+RSI金叉+LWR金叉+BBI金叉+MTM金叉=0),LINETHICK0;
  

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

    0條評論

    發(fā)表

    請遵守用戶 評論公約