Go Back   BabyPips.com Forex Forum > "The Holy Grails" > Expert Advisors and Automated Trading


Expert Advisors and Automated Trading Questions about automated trading? Which brokers allow automated systems? How do I create my own expert advisor? These questions and many more on automated trading can be answered here! (Note: forum rules do apply and any threads/posts deemed by moderators as spam or promotion of services, products, or websites will be deleted!)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-06-2009, 12:24 PM
Newbie
 

Join Date: Nov 2009
Location: Oban
Posts: 44
Send a message via MSN to Scottish Mike
Default Automated trading

Hi

Im new, so I hope I can explain my question in a way that is understandable.

I use MT4, demo account. I am trying lots of different things at the moment, across a few charts.

Whenever I want to put on a new trade, I have to type in
- the price at which the buy/sell,
- the stop loss (after I calculate it manually in my head)
- the take profit (if I preplan this)
- the type of trade (buy stop, limit etc)

My question is:
If I know the market conditions, and I have a trading strategy planned for this condition, for example, I know my SL will always be 10 pips (for e.g.) and I know I will always want a trailing stop of say 10 pips,

Is it possible to pre-program the software with all my settings (SL, TP etc) so that putting on a trade can be a faster one click event ?

Michael
Reply With Quote
  #2 (permalink)  
Old 11-06-2009, 12:57 PM
jado911's Avatar
Master Contributor and Member
 

Join Date: Nov 2008
Location: Houston,Texas
Posts: 307
Send a message via MSN to jado911 Send a message via Yahoo to jado911 Send a message via Skype™ to jado911
Default

Quote:
Originally Posted by Scottish Mike View Post
Hi

Im new, so I hope I can explain my question in a way that is understandable.

I use MT4, demo account. I am trying lots of different things at the moment, across a few charts.

Whenever I want to put on a new trade, I have to type in
- the price at which the buy/sell,
- the stop loss (after I calculate it manually in my head)
- the take profit (if I preplan this)
- the type of trade (buy stop, limit etc)

My question is:
If I know the market conditions, and I have a trading strategy planned for this condition, for example, I know my SL will always be 10 pips (for e.g.) and I know I will always want a trailing stop of say 10 pips,

Is it possible to pre-program the software with all my settings (SL, TP etc) so that putting on a trade can be a faster one click event ?

Michael
Yes it is possible, you just need a good programmer. depending on your strategy you might have to change or add a few more details, because an ea cant see what you see, its a bunch of If statement. If MA 5 is less than x then do this and so on.
Reply With Quote
  #3 (permalink)  
Old 11-06-2009, 12:58 PM
Newbie
 

Join Date: Nov 2009
Location: Oban
Posts: 44
Send a message via MSN to Scottish Mike
Default

what is the programming language, and would this then be an EA ?

the thing is Im not looking for an EA to trade for me, I just want to automate the process where I place a trade.

I wonder if there is a platform which already allows this ?

Last edited by Scottish Mike; 11-06-2009 at 01:03 PM.
Reply With Quote
  #4 (permalink)  
Old 11-06-2009, 02:22 PM
jado911's Avatar
Master Contributor and Member
 

Join Date: Nov 2008
Location: Houston,Texas
Posts: 307
Send a message via MSN to jado911 Send a message via Yahoo to jado911 Send a message via Skype™ to jado911
Default

Quote:
Originally Posted by Scottish Mike View Post
what is the programming language, and would this then be an EA ?

the thing is Im not looking for an EA to trade for me, I just want to automate the process where I place a trade.

I wonder if there is a platform which already allows this ?
yes it would be an EA, the language is called mql. MQL4 Tutorial
the platform is MT4.
yes you can hire some one to do it, or you an do your self by using using an Ea generator , there is a number of those on the web just Google Ea generator.
Reply With Quote
  #5 (permalink)  
Old 11-06-2009, 02:40 PM
Newbie
 

Join Date: Nov 2009
Location: Oban
Posts: 44
Send a message via MSN to Scottish Mike
Default

thank you :-)
Reply With Quote
  #6 (permalink)  
Old 11-06-2009, 03:00 PM
Sweet Pip's Avatar
FX-Men Honorary Member
 

Join Date: Nov 2007
Location: BC, Canada
Posts: 1,338
Send a message via MSN to Sweet Pip
Default

Sounds like what you want is a "script". A script is basically the same as an EA, but it is runs only once...kinda like a macro if you know what those are....and can automate all the mechanical steps that you would do manually.

Scripts are saved in a separate "script" folder within your MT4 folder on your harddrive, and shows up in the "script" section of the Navigator window.

However, you do need to know how to program it. There is a Wizard in the MetaEditor that comes with MT4 that you can try...I've never used it so I'm not sure how easy it is or not without some programming background. There may even be a generic script already in existence that allows you to set your own stops and takeprofit when you run it.

Actually I do have one now that I think about it, but I'd have to modify it, as it opens a basket of pairs at the same time..lol, but not difficult to do. I have 3 of them...2 for opening orders buy/sell, and 1 to close if I don't want to wait to for it to hit the stop or take profit. I'll see what I can do over the weekend and upload them for you.

...then you can learn about "hot keys" to hookup to them...
Reply With Quote
Reply



Thread Tools
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

All times are GMT -4. The time now is 03:52 AM.
Content Relevant URLs by vBSEO 3.3.1
"The secret to creativity is knowing how to hide your sources."
Albert Einstein
Feedback Form