The number of bars you load in your history and on your charts depends on what you are doing.RMSSC » Fri Feb 21, 2020 10:26 am wrote:Good Morning,
Thanks in advance Steve and eaymon for the quick intervention, it is always great to know that we have experienced people to answer us.
I always put the values that came by default in Empty4, because I have read to run Force History what I interpreted that we need a lot of history. This a doubt that i have, because sincerely I am ignorant in programming
Eaymon I will send my email and name by P.M.
Cheers
RMSSC
For example, take Moving Day. This is the bot I created when I noticed how often a cross of the 20 period D1 moving average was followed by a sustained move in the direction of the cross. You would want many bars on your chart if you wanted to go a long way back in time to see how well the idea might have played out over a long period of time. You would do this on your desktop PC or lappy, to take advantage of the extra power available to you on those machines.
You do not need gazillions of bars if your are using your VPS to trade with an EA, or to manage manually opened trades with MPTM or any of the other managers available here.
For example, trading Slopey Peaky Bob you would need a maximum of 2,000 bars on your chart - in fact probably 1,900 as Peaky spots the highest hilo's of the previous just under 1,900 bars. Another 50,000 bars stretching back into the past would be irrelevant. They might look pretty if you have, say, HGI loaded onto a chart, but the trading EA does not care what happened yesterday, let alone 10 years ago.
Taking Moving Day again as an example. He trades when the market crosses the D1 20 period EMA, but uses the H1 time frame to evaluate the cross. A long cross is when the bar two hours ago closed below the EMA and the bar one hour ago closed above. So, when I look at an H1 chart to check the bot's behaviour I have a 480 period EMA drawn to emulate the D1 20 period EMA i.e. 20 days multiplied by 24 hours per day.
This means I only need 480 bars on my chart - although I usually have 2,000. No reason to - I just do. The only thingy that would happen if I had the full complement of Empty4 default bars is a long, pretty, irrelevant line on my charts and a vast loss of ability to do lots of thingies on my VPS.
Eaymon's VPS is indeed cheaper and more powerful than the rest, but a fiver gets you a bet that I am only able to run 15 demos because of my ruthless pruning of anything the platform does not need to fulfil its task.
I hope this helps.