鬼变脸宝塔线

  • sensitivy:=o; towero:=o; towerc:=c; fc:=c;   
  • i:=2;   
  • while i<=datacount do begin   
  •   towero[i]:=towerc[i-1];   
  •   towerc[i]:=fc[i];   
  •   sensitivy[i]:=towero[i-1];   
  •   if (towerc[i-1]-towero[i-1])*(towerc[i-1]-sensitivy[i-1])<=0 then    
  •     begin    
  •       towero[i]:=towero[i-1];   
  •       sensitivy[i]:=towerc[i-1];   
  •     end    
  •   else if between(sensitivy[i-1],towero[i-1],towerc[i-1]) then sensitivy[i]:=sensitivy[i-1];   
  •   i:=i+1;   
  • end;   
  •   
  • tj:=(sensitivy-towero)*(sensitivy-towerc)<=0 and sensitivy<>towerc;   
  • stickline(tj,max(towero,towerc),sensitivy,7,1), colorred;   
  • stickline(tj,min(towero,towerc),sensitivy,7,0), color006600;   
  • stickline(sensitivy<=min(towero,towerc) and not(tj),towero,towerc,7,1), colorred;   
  • stickline(sensitivy>=max(towero,towerc) and not(tj),towero,towerc,7,0), color006600;   
  •   
  • 今开盘:TOWERO,LINETHICK0;   
  • 今收盘:TOWERC,LINETHICK0;   
  • 今敏感:sensitivy,LINETHICK0;   
  •   
  • 三平底翻红: min(towero,towerc)=ref(min(towero,towerc),1) and min(towero,towerc)=ref(min(towero,towerc),2) and max(towero,towerc)>sensitivy,LINETHICK,COLORRED;   
  • 三平顶翻绿: max(towero,towerc)=ref(max(towero,towerc),1) and max(towero,towerc)=ref(max(towero,towerc),2) and min(towero,towerc)<sensitivy,LINETHICK,COLOR006600;   
  • if k=0 then exit;   
  • DRAWICON(三平底翻红,min(towero,towerc)*0.98,4);DRAWICON(三平顶翻绿,max(towero,towerc)*1.02,5);   


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

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

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

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