Forex
Google
New signals service!

Go Back   Forex Trading > Discussion Areas > Metatrader 4


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-10-2007, 10:08 AM
Junior Member
 
Join Date: May 2007
Posts: 14
Faultyboy is on a distinguished road
Automated Stoploss and Takeprofit

hi i am looking for 2 scripts if anyone could please help it would be much appreaciated, once i have entered into a trade the one script must automatically set a stoploss of 10 pips, the other is the exact opposite once i have entered into a trade it must automatically set a takeprofit of 10 pips. im looking for 2 seperate scripts so i can run one without the other. thanks very much.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-12-2007, 10:00 AM
Junior Member
 
Join Date: May 2007
Posts: 14
Faultyboy is on a distinguished road
just a bump.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-14-2007, 10:04 PM
Junior Member
 
Join Date: May 2007
Posts: 14
Faultyboy is on a distinguished road
come on guys you cant tell me that nobody on this forum has a small script that automatically places a stoploss when a trade is executed?? please i really need it. thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-14-2007, 10:26 PM
HerbertH's Avatar
Member
 
Join Date: May 2006
Posts: 88
HerbertH is on a distinguished road
Scripts

Quote:
Originally Posted by Faultyboy View Post
come on guys you cant tell me that nobody on this forum has a small script that automatically places a stoploss when a trade is executed?? please i really need it. thanks.
I changed an existing script to your needs. I never used it, but it seems to do what you want.
Please verify on demo account first, in case I made a booboo....

Cheers,
Herbert
Attached Files
File Type: mq4 Modify SL10.mq4 (2.0 KB, 57 views)
File Type: mq4 Modify TP10.mq4 (2.0 KB, 45 views)
__________________
Better being out, wishing to be in than being in and wishing to be out.....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-16-2007, 01:10 PM
Junior Member
 
Join Date: May 2007
Posts: 14
Faultyboy is on a distinguished road
thanks very much mate, will test it out now. thanks again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-16-2007, 01:17 PM
Junior Member
 
Join Date: May 2007
Posts: 14
Faultyboy is on a distinguished road
now how do i get it to run automatically when my ea buys or sells??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-16-2007, 01:25 PM
HerbertH's Avatar
Member
 
Join Date: May 2006
Posts: 88
HerbertH is on a distinguished road
Script usage

Quote:
Originally Posted by Faultyboy View Post
now how do i get it to run automatically when my ea buys or sells??
You asked for scripts to adjust your manual entered trades.
A script is executed by drag and dropping it in the active trade window.

Scripts are different from experts in that they will not run continuously.

You are now however talking about "your EA having trades"
Your EA itself should take care of these settings and not an external script.
__________________
Better being out, wishing to be in than being in and wishing to be out.....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-16-2007, 01:54 PM
Junior Member
 
Join Date: May 2007
Posts: 14
Faultyboy is on a distinguished road
i didnt ask for a script to change manually entered trades, i said once i enter into a trade (which is what my ea will be doing) i need something to automatically set a SL or TP. reason being my ea is already compiled and i do not have the code for it, so i cant modify it. i thought it would be possible to have a script that executes everytime a buy or sell happens??? is this not possible?? do you have any other suggestions??? thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-16-2007, 02:07 PM
HerbertH's Avatar
Member
 
Join Date: May 2006
Posts: 88
HerbertH is on a distinguished road
Quote:
Originally Posted by Faultyboy View Post
i didnt ask for a script to change manually entered trades, i said once i enter into a trade (which is what my ea will be doing) i need something to automatically set a SL or TP. reason being my ea is already compiled and i do not have the code for it, so i cant modify it. i thought it would be possible to have a script that executes everytime a buy or sell happens??? is this not possible?? do you have any other suggestions??? thanks.
Hmmm I don't want to argue but you started this thread with:
"hi i am looking for 2 scripts......."

OK, these scripts are still a valid option, however you need to apply them manually as soon as the trade is started.
It depends however how the Expert is coded, what it will do with these trades as soon as something else is modifying it's properties. But you can certainly give it a try on demo.

Another more appropriate solution is the EA made by Ryan Klefas called Swiss Army EA. This will do anything you like (except for pealing the potatoes...)
You can find the thread here:

Swiss Army EA (Automatic order management)

Hope this will help.
Cheers
__________________
Better being out, wishing to be in than being in and wishing to be out.....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 07-16-2007, 02:18 PM
Junior Member
 
Join Date: May 2007
Posts: 14
Faultyboy is on a distinguished road
thanks, i need it to be automated its no use running a ea but still having to sit infront of the pc the whole time to place the stops. :/ is there no 3rd party program i can use or anything? will the swiss knife script run automatically? thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

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 Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TakeProfit & Stop Trading Chewbaca Metatrader 4 3 04-27-2008 12:19 PM
Variable Stoploss gkozlyk Expert Advisors - Metatrader 4 2 06-06-2006 12:34 PM
Place order with no takeprofit cardio Setup Questions 2 01-30-2006 05:32 PM


All times are GMT. The time now is 09:42 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.