Forex Forum - EarnForex
Serving Traders Since 2005
 

Go Back   Forex Forum - EarnForex > MetaTrader > MetaTrader Expert Advisors

MetaTrader Expert Advisors Post and discuss the MetaTrader expert advisors here.

Reply
 
LinkBack Thread Tools Display Modes
  #31 (permalink)  
Old 13th January 2012, 14:04
Enivid's Avatar
Administrator
 
Join Date: Nov 2008
Posts: 1,542
Thanks: 18
Thanked 20 Times in 16 Posts
Default

Quote:
Originally Posted by tonynz View Post
Ok, I'm running myRandom on Ecn. So I manually enter Tp and Sl, and it opens one trade.
You enter TP and SL into settings or where? Or does it first open a trade and then you adjust the TP and SL manually on the already open positions?

Quote:
Originally Posted by tonynz View Post
Then I input Tp and Sl into the Ea parameters in the properties.
What for? You are on ECN - it won't allow you to open new orders with SL and TP on them, will it?

Quote:
Originally Posted by tonynz View Post
But then after the first trade is closed, it doesn't open a second trade. Why is that?
It opens new orders only when new bar has opened on a chart. Did you wait for this to happen?

Quote:
Originally Posted by tonynz View Post
Or do I have to manually enter Tp and Sl for every trade that opens?
If you are on ECN - yes, you'll have to add TP and SL manually on each position. Though it's possible to modify the EA so that it will do it automatically.
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account.
Reply With Quote
  #32 (permalink)  
Old 13th January 2012, 14:58
Default Avatar
Junior Member
 
Join Date: Nov 2011
Posts: 24
Thanks: 0
Thanked 1 Time in 1 Post
Default

Ok, thankyou so much. If you have time, do you mind modifying it so that the EA will do it automatically?
Thankyou,
tony
Reply With Quote
  #33 (permalink)  
Old 13th January 2012, 15:48
Enivid's Avatar
Administrator
 
Join Date: Nov 2008
Posts: 1,542
Thanks: 18
Thanked 20 Times in 16 Posts
Default

You can now re-download the EA. Change EA_Mode to "true" and set your SL and TP via the input parameters. It will then open positions without the SL/TP and apply them later.
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account.
Reply With Quote
  #34 (permalink)  
Old 23rd January 2012, 16:45
Default Avatar
Junior Member
 
Join Date: Nov 2011
Posts: 24
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi, i've downloaded the new version but it doesn't have "Change_EA_Mode."
also just to understand the EA better, is the randomentry period = no of pips of no of bars?
thanks alot,
tony
Reply With Quote
  #35 (permalink)  
Old 23rd January 2012, 17:34
Default Avatar
Junior Member
 
Join Date: Nov 2011
Posts: 24
Thanks: 0
Thanked 1 Time in 1 Post
Default

oh, sorry i figured it out, no worries!
Reply With Quote
  #36 (permalink)  
Old 31st January 2012, 12:40
Default Avatar
Junior Member
 
Join Date: Nov 2011
Posts: 24
Thanks: 0
Thanked 1 Time in 1 Post
Default

Yes, its working on Ecn now, but just one minor issue: when the first lot of trades have closed, it doesn't open any new ones. E.g. Max trades open =2, so 2 trades have opened and then closed, it won't open another new trade.
Thankyou,
tony
Reply With Quote
  #37 (permalink)  
Old 31st January 2012, 16:14
Enivid's Avatar
Administrator
 
Join Date: Nov 2008
Posts: 1,542
Thanks: 18
Thanked 20 Times in 16 Posts
Default

Quote:
Originally Posted by tonynz View Post
Yes, its working on Ecn now, but just one minor issue: when the first lot of trades have closed, it doesn't open any new ones. E.g. Max trades open =2, so 2 trades have opened and then closed, it won't open another new trade.
Thankyou,
tony
Did you wait RandomEntryPeriod bars for the entry to happen?
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account.
Reply With Quote
  #38 (permalink)  
Old 1st February 2012, 20:01
Default Avatar
Junior Member
 
Join Date: Nov 2011
Posts: 24
Thanks: 0
Thanked 1 Time in 1 Post
Default

My mt4 is doing some strange things, sometimes the EA won't open trades after one trade is finished, sometimes it will. E.g. USDCAD, after closing one trade, on the 30th of Jan, randomentry period = 24 on an 1hr chart, did not open anymore trades.
Reply With Quote
  #39 (permalink)  
Old 1st February 2012, 20:05
Default Avatar
Junior Member
 
Join Date: Nov 2011
Posts: 24
Thanks: 0
Thanked 1 Time in 1 Post
Default

Sorry the problem was with my Mt4, i just turned in off an turn it on and a trade was opened.
Are you able to add a automoney management function? such as opening lot size according to risk percentange?

Thankyou so much,
tony
Reply With Quote
Reply

Bookmarks

Tags
expert advisor, metatrader, mt4


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 On



All times are GMT. The time now is 03:16.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Inactive Reminders By Icora Web Design

SEO by vBSEO 3.3.2