现货倚天版技术指标火车轨源码主图

上轨:ma(high,20);
  下轨:ma(low,20);
  STICKLINE(CLOSE >= 上轨,CLOSE,OPEN,4,0),colorred;
  STICKLINE(CLOSE < 上轨 and CLOSE>下轨,CLOSE,OPEN,4,0),colorblue;
  STICKLINE(CLOSE <= 下轨,CLOSE,OPEN,4,0),colorgreen;
  STICKLINE(CLOSE >= 上轨,l,h,1,0),colorred;
  STICKLINE(CLOSE < 上轨 and CLOSE>下轨,l,h,1,0),colorblue;
  STICKLINE(CLOSE <= 下轨,l,h,1,0),colorgreen;
  {上轨:WMA(HIGH,30);
  下轨:WMA(LOW,30);
  日上轨:"引用WMA.WMA_H#day"(30);
  日下轨:"引用WMA.WMA_L#day"(30);
  S:=CROSS(CLOSE,日上轨);
  X:=CROSS(日下轨,CLOSE);
  WS:=BARSLAST(S)+1;
  WX:=BARSLAST(X)+1;
  SS:=CROSS(SUM(S,WX),0.5);
  XX:=CROSS(SUM(X,WS),0.5);
  DRAWICON(SS,LOW*0.995,4);
  DRAWTEXT(SS,LOW, \n \n买入),ALIGN1,colorFFFFFF;
  DRAWICON(XX,HIGH*1.01,5);
  DRAWTEXT(XX,HIGH*1.02,卖出),ALIGN1,colorFFFFFF;
  周上轨:"引用WMA.WMA_H#week"(30);
  周下轨:"引用WMA.WMA_L#week"(30);
  STICKLINE(CLOSE > 日上轨,日上轨,日下轨,0.8,1),POINTDOT,LINETHICK1,colorFF;
  STICKLINE(CLOSE < 日下轨,日下轨,日上轨,0.8,1),POINTDOT,colorFF0000;
  STICKLINE(CLOSE > 周上轨,周上轨,周下轨,0.8,1),POINTDOT,colorFF;
  STICKLINE(CLOSE < 周下轨,周下轨,周上轨,0.8,1),POINTDOT,colorFF0000;
  PARTLINE(CLOSE > 上轨,上轨),LINETHICK2,colorFF;
  PARTLINE(CLOSE < 上轨,上轨),LINETHICK2,colorFF0000;
  PARTLINE(CLOSE > 下轨,下轨),LINETHICK2,colorFF;
  PARTLINE(CLOSE < 下轨,下轨),LINETHICK2,colorFF0000;
  PARTLINE(CLOSE > 日上轨,日上轨),LINETHICK2,colorFF;
  PARTLINE(CLOSE < 日上轨,日上轨),LINETHICK2,colorFF0000;
  PARTLINE(CLOSE > 日下轨,日下轨),LINETHICK2,colorFF;
  PARTLINE(CLOSE < 日下轨,日下轨),LINETHICK2,colorFF0000;
  PARTLINE(CLOSE > 周上轨,周上轨),LINETHICK2,colorFF;
  PARTLINE(CLOSE < 周上轨,周上轨),LINETHICK2,colorFF0000;
  PARTLINE(CLOSE > 周下轨,周下轨),LINETHICK2,colorFF;
  PARTLINE(CLOSE < 周下轨,周下轨),LINETHICK2,colorFF0000;
  STICKLINE(OPEN >= CLOSE,CLOSE,OPEN,9,0),colorFF5B00;
  STICKLINE(OPEN >= CLOSE,CLOSE,OPEN,8,0),colorFF6C00;
  STICKLINE(OPEN >= CLOSE,CLOSE,OPEN,7,0),colorFF7B00;
  STICKLINE(OPEN >= CLOSE,CLOSE,OPEN,6,0),colorFF9C00;
  STICKLINE(OPEN >= CLOSE,CLOSE,OPEN,5,0),colorFFBE00;
  STICKLINE(OPEN >= CLOSE,CLOSE,OPEN,3.5,0),colorFFCC00;
  STICKLINE(OPEN >= CLOSE,CLOSE,OPEN,1.5,0),colorFFFF00;
  STICKLINE(CLOSE >= OPEN,CLOSE,OPEN,9,0),color70084;
  STICKLINE(CLOSE >= OPEN,CLOSE,OPEN,8,0),colorA3;
  STICKLINE(CLOSE >= OPEN,CLOSE,OPEN,7,0),colorB7;
  STICKLINE(CLOSE >= OPEN,CLOSE,OPEN,6,0),colorCD;
  STICKLINE(CLOSE >= OPEN,CLOSE,OPEN,5,0),colorE9;
  STICKLINE(CLOSE >= OPEN,CLOSE,OPEN,3,0),color754E9;

 input:N(30,2,999);
  WMA_H:WMA(HIGH,N);
  WMA_L:WMA(LOW,N);
  WMA_C:WMA(CLOSE,N);};




来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网仅为互联网文章,所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图