Dear Rosh,how to make a indicator without the function Bars? 新评论 mailema 2008.06.11 09:10 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 A real puzzle Dear Mr. Rosh,Please give me an example Dear Mr Rosh,A question Rashid Umarov 2008.06.11 12:09 #1 Try this extern int countBars = 1000; .... int start() { for (int i = countBars; i>=0; i--) { //indicator algorithm code ... } .... //------ return; } 新评论
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