Hi all,
Yesterday was an extremely productive day as far as the coding is concerned. I coded for a solid 16 hours and made a breakthrough which I think will make some coders on this forum very exited.
All multiple time frame indicators always had one inherent problem and that was the fact that they repainted to a certain extend. The reason for this is because you have candles closing over various lengths of time and an indicator showing values for shorter periods of time i.e. on a 15 minute chart the indicator will show the hourly value every 15 minutes even though the hour candle has not closed yet. Should the hour candle change value 1 second before it closes it meant that the last 4 bars on the 15 minute indicator would change thus in effect repainting the past.
The breakthrough I made last night resolved this whole issue and provides a more accurate measure of price movement over time. I can now guarantee that there will be no repainting on this indicator. Not even if you go into the history and delete some candles.
The EA as it stands now processes just under 40 million (if pushed to max history) values per tick. Don’t believe me: DTM – Do The Math: 100,000 candles (on 1 min this is around 3 months - the max for the indi) x 11 conditions x 4 values per condition x 9 time frames = 39.6 million values. And these are crunched every tick. Realistically however only about 1% is crunched per tick.
What else has been done?
As you know I prefer naked charts. If there is one thing I hate it is chart clutter. So to resolve this I have coded the EA to hide everything i.e. pivots, fibs, take profit lines etc.. When loaded onto a chart you will see nothing, duh that helps…
You then enter a pip value example 40. When ever price is 40 pips above or below a certain point i.e. a pivot line, it will alert you and only then show the line as long as price remains within the +40/-40 area. As soon as price moves out of this area the line will be hidden away again. In that way you have all you want on the chart, just without the clutter. You can of course turn everything on and off manually as well.
This enables me to add more to the EA like normal pivots, camarilla pivots, fib pivots etc… you just pick your flavour and away you go. It does however make the settings section of the EA a bit cumbersome but I will change this to load from a file as well saving you all the hassles. Just need to set it up once and as the saying goes, Bob’s your uncle.
That’s it for me for the day, off to the airport to welcome my wife and son back from their short holiday.
PS: Regarding the signals, I did not run signals for the whole of yesterday as I was coding inside the signal module. I can thus not say whether it was a good day or not. From what I have seen I think the number of losses might have been a bit higher with the ranging that went on but that the overall outcome would still have been far into the green.
Yesterday was an extremely productive day as far as the coding is concerned. I coded for a solid 16 hours and made a breakthrough which I think will make some coders on this forum very exited.
All multiple time frame indicators always had one inherent problem and that was the fact that they repainted to a certain extend. The reason for this is because you have candles closing over various lengths of time and an indicator showing values for shorter periods of time i.e. on a 15 minute chart the indicator will show the hourly value every 15 minutes even though the hour candle has not closed yet. Should the hour candle change value 1 second before it closes it meant that the last 4 bars on the 15 minute indicator would change thus in effect repainting the past.
The breakthrough I made last night resolved this whole issue and provides a more accurate measure of price movement over time. I can now guarantee that there will be no repainting on this indicator. Not even if you go into the history and delete some candles.
The EA as it stands now processes just under 40 million (if pushed to max history) values per tick. Don’t believe me: DTM – Do The Math: 100,000 candles (on 1 min this is around 3 months - the max for the indi) x 11 conditions x 4 values per condition x 9 time frames = 39.6 million values. And these are crunched every tick. Realistically however only about 1% is crunched per tick.
What else has been done?
As you know I prefer naked charts. If there is one thing I hate it is chart clutter. So to resolve this I have coded the EA to hide everything i.e. pivots, fibs, take profit lines etc.. When loaded onto a chart you will see nothing, duh that helps…
You then enter a pip value example 40. When ever price is 40 pips above or below a certain point i.e. a pivot line, it will alert you and only then show the line as long as price remains within the +40/-40 area. As soon as price moves out of this area the line will be hidden away again. In that way you have all you want on the chart, just without the clutter. You can of course turn everything on and off manually as well.
This enables me to add more to the EA like normal pivots, camarilla pivots, fib pivots etc… you just pick your flavour and away you go. It does however make the settings section of the EA a bit cumbersome but I will change this to load from a file as well saving you all the hassles. Just need to set it up once and as the saying goes, Bob’s your uncle.
That’s it for me for the day, off to the airport to welcome my wife and son back from their short holiday.
PS: Regarding the signals, I did not run signals for the whole of yesterday as I was coding inside the signal module. I can thus not say whether it was a good day or not. From what I have seen I think the number of losses might have been a bit higher with the ranging that went on but that the overall outcome would still have been far into the green.