Straddle EA
  #1 (permalink)  
Old 01-07-2007, 04:06 AM
Forex Trader
Join Date: Nov 2006
Posts: 9
Money Duck is on a distinguished road
Default Straddle EA

New to using the Metatrader Platform. Have it installed on computer 5 times testing several of the EAs. Looking forward to contributing to the forum as I learn more.
I was testing a STRADDLE OCO EA and need to have one created that will actually cancel the other order as well as place a trailing stop when the order is placed (if possible).
System Name Straddle_OCO_w_Trail
Name Primary Trade
PlaceTrade TRUE
Buy1 10 //distance away
Sell1 10 //distance away
Lots 1.0
StopLoss1 15
TakeProfit1 30
UseTrailingStop TRUE //user may not want trailing stop
TrailingStop1 15 //need to have this placed when pending order is added (if possible)
O.C.O. - Need to have the EA cancel the other pending order after one is triggered.
Break Even - Would like to have the EA pull the stop to B.E. after it moves up 15 pips.
---BreakEven TRUE //user may not want to pull to B.E.
---PullToBEafter 15
Any help on this would be greatly appreciated.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Programming Straddle in Zerocode? Toddr MetaTrader and ZeroCode 5 06-02-2006 10:03 AM

All times are GMT. The time now is 04:37 PM.

Registered members gain free access to online FOREX currency trading tools, foreign exchange software, Metatrader MT4/MT5 expert advisors, MT4 indicators and EAs. Register now