源代码:
重心=(high?+?low?+?open?+?close?*?3)?/?6;
nx=(3?*?close?+?low?+?open?+?high)?/?6;
牛线=(20?*?nx?+?19?*?refBefore(nx,1)?+?18?*?refBefore(nx,2)?+?17?*?refBefore(nx,3)?+?16?*?refBefore(nx,4)?+?15?*?refBefore(nx,5)?+?14?*?refBefore(nx,6)?+?13?*?refBefore(nx,7)?+?12?*?refBefore(nx,8)?+?11?*?refBefore(nx,9)?+?10?*?refBefore(nx,10)?+?9?*?refBefore(nx,11)?+?8?*?refBefore(nx,12)?+?7?*?refBefore(nx,13)?+?6?*?refBefore(nx,14)?+?5?*?refBefore(nx,15)?+?4?*?refBefore(nx,16)?+?3?*?refBefore(nx,17)?+?2?*?refBefore(nx,18)?+?refBefore(nx,20))?/?210;
牛熊线=ma(牛线,4);
draw(牛熊线,color="white");
mid=(3?*?close?+?low?+?open?+?high)?/?6;
dkx=(20?*?mid?+?19?*?refBefore(mid,1)?+?18?*?refBefore(mid,2)?+?17?*?refBefore(mid,3)?+?16?*?refBefore(mid,4)?+?15?*?refBefore(mid,5)?+?14?*?refBefore(mid,6)?+?13?*?refBefore(mid,7)?+?12?*?refBefore(mid,8)?+?11?*?refBefore(mid,9)?+?10?*?refBefore(mid,10)?+?9?*?refBefore(mid,11)?+?8?*?refBefore(mid,12)?+?7?*?refBefore(mid,13)?+?6?*?refBefore(mid,14)?+?5?*?refBefore(mid,15)?+?4?*?refBefore(mid,16)?+?3?*?refBefore(mid,17)?+?2?*?refBefore(mid,18)?+?refBefore(mid,20))?/?210;
draw(dkx,color="red");
madkx=ma(dkx,10);
draw(madkx,color="#ffcc18");
湿吻=isCrossUp(dkx,madkx)?&&?dkx?>?madkx;
drawText(湿吻,dkx?*?0.98,"?湿吻",color="yellow");
唇吻=refBefore(dkx,1)?<?refBefore(dkx,2)?&&?dkx?>?refBefore(dkx,1)?&&?refBefore(dkx,1)?<?牛熊线?&&?dkx?>?madkx;
drawText(唇吻,dkx?*?0.98,"?唇吻",color="yellow");
,郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。