View Single Post
  #11 (permalink)  
Old 03-24-2006, 05:23 PM
Nicholishen's Avatar
Nicholishen Nicholishen is offline
Senior Member
 
Join Date: Dec 2005
Posts: 531
Nicholishen is on a distinguished road
Quote:
Originally Posted by holyguy7
Yes. That is exactly correct. It is most successful on daily and higher. I am also testing it on the weekly chart and it is successful as well (though does not trade as much).

It also has a problem (bug) that it does not always close orders when it hits its take profit. I was wondering if someone could fix that as when I went up to monitor the results, it would be way over the take profit price and I would have to close manually. It had only happened on a couple currency pairs but I do want if fixed as it could have easily when way higher or started dropping again.

Below is the attached statement so far. It keeps generating money.

The code is correct for setting the take profit with the order. Can you check to see that the TP is set when you first open an order? Then, what level is is that TP set (is it correct)? Please verify that this is where the 'bug' is and if it is sending these TP in with order, the problem is your broker.
__________________
"Anyone who has never made a mistake has never tried anything new." -Albert Einstein
Reply With Quote