


我还需要一个类库文件,里面封装以下几个函数:
1.获取zigzag高低点值的函数,比如我要获取3号高低点的值或者K线序号,那么调用函数应该是这样的: 3号高低点的值= GD(3), 3号高K线序号= GDXH(3);你可以把3号高低点的K线序号,时间,和高开低收价封装在一个函数
2.获取某个高低点到某个高低点之间的最高价,例如我要获取3号(包含)到12号(包含)之间的最高点的值 ,函数应该为 gethigh(3,12);
3.获取某个高低点到某个高低点之间的次高点的值,例如我要获取3号(包含)到12号(包含)之间的次高点的值 ,函数应该为 getcigao(3,12);
4.同上,获取最低点和次低点的值的函数
5.高点的上方和低点的下方显示数字标记,如第一个点为0号,那么第二个高低点为1号.第三个点为2号,以此类推,需要0-19共20个点,这个函数不要写在指标里,因为我想根据自己的需要决定要不要显示这些标记
就像第三图一样,高低点标签要会自动更新
我希望尽快拿到这些代码,如果你感兴趣,请联系我
Disclaimer: The views expressed are solely those of the author and do not represent the official position of Followme. Followme does not take responsibility for the accuracy, completeness, or reliability of the information provided and is not liable for any actions taken based on the content, unless explicitly stated in writing.
Like this article? Show your appreciation by sending a tip to the author.

Leave Your Message Now