- Search Forex Factory
- 3 Results
- schlegified replied Jun 29, 2011
Thanks for the advice, I'm new to MQL4 so I know it's not the best way of doing this. With that said, I've been forward testing it since Monday with hundreds of trades, and the Breakeven and Trailing Stop code has been functioning correctly on my ...
- schlegified replied Jun 27, 2011
Had this idea for trailing stops. Any thoughts? if (OrderType()==OP_BUY && BreakEven>0) { if(MarketInfo(OrderSymbol(),MODE_BID)-OrderOpenPrice()>BreakEven) { if(OrderStopLoss()<OrderOpenPrice()) { ...
- schlegified replied Jun 27, 2011
I love the EA, Great job! I think I may have found errors in the checkForBreakEven function which cause those 1 pip stoploss gains. In the original line: if(Bid-OrderOpenPrice()>((point*BreakEven) + setToBEafterPips)) Bid or Ask is pulling the value ...
- Posts by Member Search: 'schlegified'