MQL4 - automated forex trading   /  

Forum

Trendline Bug ?

Back to topics list To post a new topic, please log in or register

avatar
546
SDC 2010.04.22 01:55 

Has anyone noticed if you pull two trendlines which converge at a given price level in a 30 minute chart or 1hr chart and mark that convergence with a horizontal line to signify the price level they converge at, then look at it on a 4hr chart or daily chart they converge at a totaly different level sometimes hundreds of pips different ?
This means the charts are not drawing these lines properly in perspective, the implications of this in trading are enormous a lot of traders use trendlines and other line studies to project and target a future price, these inaccuracies could be the difference between making and losing huge amounts of money, metaquotes you really need to fix this.

Strings: Table of ASCII Symbols and Its Use

Strings: Table of ASCII Symbols and Its Use

In this article we will analyze the table of ASCII symbols and the ways it can be used. We will also deal with some new functions, the principle of operation of which is based on the peculiarities of the ASCII table, and then we will create a new library, which will include these functions. They are quite popular in other programming languages, but they are not included into the list of built-in functions. Besides, we will examine in details the basics of working with strings. So, I think you will certainly learn something new about this useful type of data.


avatar
113
circlesquares 2010.04.22 22:55 
A good way use in an EA is to program your own trendline, not the visual kind, but in code. You should be able to use a higher precision than what the timeframe offers.
The problem is, on the lower tf, when you draw any of the two trendline points on a bar open time that doesn't also exist on the higher timeframe, then metatrader has to adjust the point to the nearest bar on that higher tf which will throw off the slope.
The key is the bar open time.
Back to topics list  

To add comments, please log in or register