Thread: How to code?
View Single Post
  #1050 (permalink)  
Old 06-29-2008, 07:04 PM
Ronald Raygun Ronald Raygun is offline
Member
 
Join Date: Sep 2007
Posts: 69
Ronald Raygun is on a distinguished road
Invisible TP/SL

Hello everyone.

I'm trying to code in an effective and reliable invisible stoploss, trailing stop and takeprofit into my EAs. So far, my code just looks for the bid/ask to equal the stoploss or takeprofit value. If the price equals that value, then close the trade.

The problem I'm having is that sometimes the price seems to skip. There is no progressive movement of price. How do I then get around that problem? and make an invisible TP/SL which is guaranteed to close the trade where necessary?
Reply With Quote