Thread: MQL4 Guide
View Single Post
  #22 (permalink)  
Old 05-06-2008, 06:53 PM
Trader1 Trader1 is offline
Member
 
Join Date: Jul 2006
Posts: 38
Trader1 is on a distinguished road
Cool Simple hedge code needed

Programmers, Coders,

I want to insert a simple hedge function into an existing EA, so that when the open position is in a loss of (x) pips (MaxLoss) it triggers a hedge entry of (x) multiple lots. It needs a Hedge TP/SL with the option to exit on the next underlying entry. If anyone could provide me with a snippet of code or template I could insert it would be greatly appreciated.

Trader1
Reply With Quote