Forex



Go Back   Forex Trading > Downloads > Expert Advisors - 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 03-10-2009, 02:13 PM
Junior Member
 
Join Date: Aug 2008
Posts: 9
subhi is on a distinguished road
supercharger EA

i need help from everybody here to edit my EA....i hope this EA can running successful if i have post 1(TP=20),post 2(TP=20),post 3(TP=25),post 4(TP=30),post 5(TP=40),post 6(TP=50),post 7(TP=60),post 8(TP=70),post 9(TP=80),post 10(TP=90)
max trade=10
SL=0
Pips=20
Trailing stop=5
the problem is...how to write script to set TP automatically depend on how many trade is opened...i need your help,who experience to write scripts....TQ
Attached Files
File Type: mq4 EA_supercharger.mq4 (12.4 KB, 121 views)
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 03-10-2009, 07:46 PM
matrixebiz's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,218
matrixebiz is on a distinguished road
Quote:
Originally Posted by subhi View Post
i need help from everybody here to edit my EA....i hope this EA can running successful if i have post 1(TP=20),post 2(TP=20),post 3(TP=25),post 4(TP=30),post 5(TP=40),post 6(TP=50),post 7(TP=60),post 8(TP=70),post 9(TP=80),post 10(TP=90)
max trade=10
SL=0
Pips=20
Trailing stop=5
the problem is...how to write script to set TP automatically depend on how many trade is opened...i need your help,who experience to write scripts....TQ
Maybe this is what you want.
I basically added this;

if(Use_Auto_TakeProfit) {
int total = OrdersTotal();
if (total >=0 && total <3) {TakeProfit = 10;}
if (total >=3 && total <6) {TakeProfit = 20;}}

Let me know if that is what you want.
Attached Files
File Type: mq4 EA_supercharger 1.mq4 (12.6 KB, 165 views)
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 03-12-2009, 04:24 AM
Junior Member
 
Join Date: Aug 2008
Posts: 9
subhi is on a distinguished road
yess that is i want....tq matrixebiz....
if i want to use auto_stoploss...100pips at last open order at 10....how to edit that script....pls help me... tq
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 03-12-2009, 12:01 PM
Junior Member
 
Join Date: Jan 2009
Posts: 15
Koyco is on a distinguished road
Koyco

Up and producting lot of trades some winners some loosers and some zero but over all in profit.
Any time frame and/or crosses you constructed this EA for?
Regards
Koyco
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 03-12-2009, 12:22 PM
matrixebiz's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,218
matrixebiz is on a distinguished road
Quote:
Originally Posted by subhi View Post
yess that is i want....tq matrixebiz....
if i want to use auto_stoploss...100pips at last open order at 10....how to edit that script....pls help me... tq
Sorry, not understanding "100pips at last open order at 10", please clarify the conditions.
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 03-12-2009, 12:44 PM
Junior Member
 
Join Date: Aug 2008
Posts: 9
subhi is on a distinguished road
i mean max trade 10...so last post of trade i want have stoploss 100pips..just last post only have stoploss...
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 03-12-2009, 12:48 PM
Junior Member
 
Join Date: Aug 2008
Posts: 9
subhi is on a distinguished road
this EA still under construction....good result i have at TF M5 from capital $3000 up to $29000 just in 10day...i test from 01.03.09 until 12.03.09...now i still to make sure this EA function properly...
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 03-12-2009, 02:01 PM
matrixebiz's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,218
matrixebiz is on a distinguished road
Quote:
Originally Posted by subhi View Post
i mean max trade 10...so last post of trade i want have stoploss 100pips..just last post only have stoploss...
Ok, so by post you mean order, correct? trades 1-9 no StopLoss but trades 10, 11, ...ect put StopLoss 100, correct? Do you only want a maximum open trades of 10 also, no more, stop opening trades?
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 03-12-2009, 02:54 PM
Junior Member
 
Join Date: Aug 2008
Posts: 9
subhi is on a distinguished road
Quote:
Originally Posted by matrixebiz View Post
Ok, so by post you mean order, correct? trades 1-9 no StopLoss but trades 10, 11, ...ect put StopLoss 100, correct? Do you only want a maximum open trades of 10 also, no more, stop opening trades?
yes that's correct...no more trade...max trade 10....
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 03-12-2009, 03:51 PM
Member
 
Join Date: Apr 2008
Posts: 34
barnaba is on a distinguished road
very good

Thanks very good!
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


All times are GMT. The time now is 01:32 PM.



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