Errors, bugs, questions - page 918

 
lazarev-d-m:

Please explain why the second buffer (label2) is zero

1) For some reason, the OnCalculate function has no problems with multiple buffers, where there are separate close, open, etc.

2) I would love to use it, but it fails to use the algorithm for calculation of moving averages which is described in the code above

ExtLineBuffer2[i] tried to assign different values including constants - always zero

I seem to understand - the problem is thatOnCalculate with prices does not support multiple buffers, but with my knowledge I cannot cut out the MA calculation code and paste it into another onCalculate, please help, or drop me a link to an example from CodeBase
 
MoneyJinn:
When will the #resource option be applied to the indicator files? Does anybody know? I really want to merge the whole project into one .ex5 file.

This option has been available since build 730

 

The charts in the signals have been doubling and tripling on the time scale in the signals service for over 12 hours.

My balance has been doubled or tripled in rating, do something, paid subscribers subscribe to unreal pictures

Servicedesk request #631352

 
It's working!
 
lazarev-d-m: I can't cut the MA calculation code with my knowledge and paste it into another onCalculate

Why cut out parts of someone else's code? Write your own version for extended OpCalculate() - it will be more useful. All the logic is contained in the existing code, you just need to understand it, cut out what you don't need and reproduce it. The knowledge should be enough.

If this is not interesting, then try to simply remove variable begin from existing code, specify required array instead of array price[] (for example tick_volume[]) and transfer the result to extended OpCalculate().

 
lazarev-d-m:

Please explain why the second buffer (label2) is zero

1) For some reason, the OnCalculate function has no problems with multiple buffers, where there are separate close, open, etc.

2) I would love to use it, but it fails to use the algorithm for calculation of moving averages which is described in the code above

ExtLineBuffer2[i] tried to assign different values including constants - always zero

//--- main loop
   for(i=limit;i<rates_total && !IsStopped();i++)
{
   ExtLineBuffer[i]=ExtLineBuffer[i-1]+(price[i]-price[i-InpMAPeriod])/InpMAPeriod;
   ExtLineBuffer2[i]=ExtLineBuffer[i];
}
Always use brackets, even when the code contains only one line, it will reduce the number of silly mistakes.
 

installation

Problems with installing mt5. Can't install, file download only lasts up to 4480Kb and stops downloading further. I tried it many times.

I've tried it many times. Why? I don't know what to do?

 
Stasikusssss:

Problems with installing mt5. Can't install, file download only lasts up to 4480Kb and stops downloading further. I tried it many times.

I've tried it many times. Why? How can I help?

Have you just downloaded the distributive or are you using an old, previously downloaded installer?
 
Renat:
Have you just downloaded the distribution or are you using an old, previously downloaded installer?
just now (yesterday)
 
Stasikusssss:
just now (yesterday)
Try running with /clean , please