Forex



Go Back   Forex Trading > Discussion Areas > Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 07-10-2007, 11: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 07-12-2007, 11: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 07-14-2007, 11: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 07-14-2007, 11: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, 80 views)
File Type: mq4 Modify TP10.mq4 (2.0 KB, 63 views)
__________________
Better being out wishing to be in, than being in wishing to be out.....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 07-16-2007, 02: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 07-16-2007, 02: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #7 (permalink)  
Old 07-16-2007, 02: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 wishing to be out.....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #8 (permalink)  
Old 07-16-2007, 02: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #9 (permalink)  
Old 07-16-2007, 03: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 wishing to be out.....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #10 (permalink)  
Old 07-16-2007, 03: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 01:19 PM
Variable Stoploss gkozlyk Expert Advisors - Metatrader 4 2 06-06-2006 01:34 PM
Place order with no takeprofit cardio Setup Questions 2 01-30-2006 06:32 PM


All times are GMT. The time now is 07:07 AM.



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