Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 602
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Yes, it's understandable. I attached my log. It turns out that when I reach the end of 20000 bar to 0, it's as if it starts the whole 20000 bar again. That is, it either does not complete OnCalculate, or returns zero instead of rates_total.
But for some reason this bug hasn't affected you. It works fine for you...
So I can't figure out what's wrong with my machine/system?
Try reducing the nested cycles by a factor of 100 first and then add more. That way you'll know if your i5 can't handle it or if MT is slowing down.
Did you notice that I reduced one nested loop by a factor of 10? It took me 2 minutes and 12 seconds to recalculate like that.
You can in this line
limit = (prev_calculated > 0)?rates_total-prev_calculated:rates_total-100;
100 increase. This will give a reduction in the recalculated bars when the indicator starts.
Good evening (night, morning, afternoon) to all!
Can you please tell me how to code the following condition.
If High[1]......High[300].(all exceptions) < Open[0].
Open an order.
Thank you.
Good evening (night, morning, afternoon) to all!
Can you please tell me how to code the following condition.
If High[1]......High[300].(all exceptions) < Open[0].
Open an order.
Thank you.
As an option:
As an option:
I can't find which function in the EA allows me to look into the future. The thing is, the EA opens positions at a certain time, and there are a great many holes, looking for ways to get around such a thing.
You don't need to look into the future but into the past, just check for holes and that's it.
I can't find which function in the EA allows me to look into the future. The thing is, the EA opens positions at a certain time, and there are a lot of holes, looking for ways to get around such a thing.
If I have any telepathic powers, I just need to get a good history on the instrument.
Need help, colleagues.
I'm writing an EA (first-born) and it needs analysis of historical data to work correctly.
I am using arrays of opening prices, opening times of highs and lows.
When dividing the arrays into daily periods, I get different number of minute bars in almost every period. All 1440 min. bars are physically present in the chart, while the history shows 1380, 1378 or more than 3000 per day.
Please help me to understand what the problem is. In my opinion, the history cannot differ from the real (drawn) chart.
Here's a piece of code that calculates it all.
What holes are you talking about? When you ask a question about programming, such expressions are not appropriate, holes are gaps in the historical data of the tool, but what do you mean here? If "time" is in the question, you probably meant "time travel holes" teleportation.
If I have any telepathic powers, I just need to get a good history on the instrument.
About holes in history, of course. And a question for you too: how do you achieve a quality story on an instrument?
About holes in the story, of course. A question for you too: how do you achieve a quality story on an instrument?
There are instructions on the ista forum. The author, if I remember correctly, is Onna.
Yes it is. I have it saved in my bookmarks , only not insta, but robo.
But I don't know how it will be now with the new MT, the format has changed.