I have an interesting little issue that I am sure is nothing more than I need to code this the right way.
I have noticed when I am testing my EAs that the lines that get visually dawn on the chart (tp & sl lines) are not on the point that the transactions will take place. For example. The chart will have a tp line drawn. the price line will reach to be the same as the tp line, yet nothing happens. Not until the price line goes beyond the tp line in my favor by x amount of pips where x=(spread).
Aslo the sl line is drawn further than it really is.. in other words, the sl is hit before the visual price line touches the sl line.
What am I doing wrong?
I have noticed when I am testing my EAs that the lines that get visually dawn on the chart (tp & sl lines) are not on the point that the transactions will take place. For example. The chart will have a tp line drawn. the price line will reach to be the same as the tp line, yet nothing happens. Not until the price line goes beyond the tp line in my favor by x amount of pips where x=(spread).
Aslo the sl line is drawn further than it really is.. in other words, the sl is hit before the visual price line touches the sl line.
What am I doing wrong?