how to make a indicator without the function Bars?
for example:I want to make a indicator (Macd),use the newest 1000 bars,
so don't want to use the Bars,and the Indicatorcounted(),
could you give me an example? Thanks
extern int countBars = 1000;
for (int i = countBars; i>=0; i--)
//indicator algorithm code
添加评论, 请 登陆 和 注册