快生活 - 生活常识大全

主力增仓指标公式源码


  更多指标公式可通过左下方 阅读原文 查阅
  SJTJ:=DATE<1590301;
  主趋势线:EMA(EMA(C,10),10),COLORRED,LINETHICK4;
  B:=主趋势线>REF(主趋势线,1);
  IF(B-1,主趋势线,DRAWNULL)COLORBLUE,LINETHICK4;
  EMA5:=EMA(C,5);
  EMA10:=EMA(C,10);
  EMA22:=EMA(C,22);
  JFH:=EMA5>=EMA10 && EMA10>=EMA22;
  DRAWTEXT(JFH>REF(JFH,1),EMA22,"↑飞机"), COLORRED;
  AA:=EMA(C,5) > EMA(C,20);
  BB:=EMA(C,5) < EMA(C,20);
  CC:= EMA(C,5) > EMA(C,10);
  CC1:=EMA(C,5) < EMA(C,10);
  DD:=CLOSE<OPEN;
  STICKLINE(AA AND SJTJ,H,L,0,0),COLORRED;
  STICKLINE(AA AND SJTJ,O,C,3,1),COLORRED;
  STICKLINE(AA AND SJTJ AND DD,O,C,3,0),COLORRED;
  STICKLINE(BB AND SJTJ,H,L,0,0),COLORGREEN;
  STICKLINE(BB AND SJTJ,O,C,3,1),COLORGREEN;
  STICKLINE(BB AND SJTJ AND DD,O,C,3,0),COLORGREEN;
  STICKLINE(BB AND SJTJ AND CC,H,L,0,1),COLORYELLOW;
  STICKLINE(BB AND SJTJ AND CC,O,C,3,1),COLORYELLOW;
  STICKLINE(BB AND SJTJ AND CC AND DD,O,C,3,0),COLORYELLOW;
  STICKLINE(AA AND SJTJ AND CC1,H,L,0,0),COLORYELLOW;
  STICKLINE(AA AND SJTJ AND CC1,O,C,3,1),COLORYELLOW;
  STICKLINE(AA AND SJTJ AND CC1 AND DD,O,C,3,0),COLORYELLOW;
网站目录投稿:香槐