make a loop

 

I want that, in every 15 minute candle, the cobuffer value of the previous 26 candles will be added together

Can someone help me in this case?

Files:
test01.mq4  3 kb
 

This is my suggestion (which came from tsd 2010 and from tsd 2008):

----------------

Just to remind:

Coders (any coder) are coding for free:

  • if it is interesting for them personally, or
  • if it is interesting for many members of this forum.

----------------

and Freelance section of the forum should be used in most of the cases.

MT4 BronzeWarrior and SilverWarrior EAs - Want anyone to make an EA base on my strategy?
MT4 BronzeWarrior and SilverWarrior EAs - Want anyone to make an EA base on my strategy?
  • 2006.09.05
  • Yauhen
  • www.mql5.com
Could anyone make an ea base on this trade system. If anyone could make an ea base on my strategy. Ea is the solution, however i'm just a trader than a coder. I'm not a coder, and a very slow learner. Not just for myself, but to benefits all traders
 

Hi

You can just simply run the indicator on m15 chart and then make calculations on very candle, this way you will get values as they were performed every 15m, so simply in a loop add values from previous 26 candles. Is this what you are looking for?

Best Regards