Jump to content

Recommended Posts

Posted

Probably it was because of the weekend. Did you solve it?

Where does the EA come from? Can you tell some information: what timeframe, cross and with what result do you run the EA on?

Posted
hi hunfxtrader testing the ecn version now. but i get error message:

Error opening SELL order : no connection with trade server

 

Hi! What about the server connection issue? However it doesn't connect with the order opening function of the EA.

Posted (edited)
Probably it was because of the weekend. Did you solve it?

Where does the EA come from? Can you tell some information: what timeframe, cross and with what result do you run the EA on?

 

 

works now thx, it was because of the broker. works really well with mb trading but when i try and use it on acfx on the 0 spread account, it does not work at all, no sl or tp in place. can you help?

 

i will show you how much i can make and share the system with you if you can sort out the sl and tp.

Edited by digitalsakurauk
Posted
works now thx, it was because of the broker. works really well with mb trading but when i try and use it on acfx on the 0 spread account, it does not work at all, no sl or tp in place. can you help?

 

i will show you how much i can make and share the system with you if you can sort out he sl and tp.

 

did you ever tried on *live* account?

Posted

ECN function modified

 

I have modified the ECN function. In this version you need to set the extern bool ECN parameter to TRUE for ecn broker or FALSE for non ecn broker, and also set the extern int TakeProfit and extern int StopLoss values properly before you start to trade with the EA.

 

Please test it with your broker.

 

http://www.megaupload.com/?d=7U4BDUWJ

Posted

HunFxTrader seems to work fine now thx. but the fix StopLoss does not work, i set this to 1.0 but the trades keeps trading till the extern int stop loss kicks in at 20 but the fix TakeProfit works.

 

could you have a look at the code for the fix stoploss? thx

Posted
...but the fix StopLoss does not work...

 

It's not the failure of the EA. Every Broker has a predetermined stop level, which is the smallest allowed stop loss distance from the order opening price. The stop level is in most cases more than 1 pip, therefore you can't use 1 pip fix stop loss.

 

I made a Broker-Account-Info script to print the important account and broker informations in the MT4 terminal. You need to place it to the experts/scripts folder in the main MT4 folder, then drag it to any open chart. The script will print the following informations: Account Holder, Broker, Leverage, Account currency, Lot size, Min lot, Lot step, Max lot, Stop level, Freeze level, Point size, Initial margin, Maintenance margin, Hedged margin, Required margin, Spread in points, Ticksize, Tickvalue, Pipvalue.

 

You can read this informations in the Terminal window / Experts tab. In your case you need to watch the "Stop level" in order to get the predetermined Stop level of your Broker.

 

http://www.megaupload.com/?d=8I0GUPIP

Posted
Certainly you can not see anything on the chart, but after you drag it to any chart you need to click on the Experts tab in the Terminal window in order to read the printed informations. You can use it only at market open times because experts and scripts don't work without incoming ticks.
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...