Home About Contact
ForexForums.org




Reply
Old 07-22-2008, 01:41 PM   #301 (permalink)
Junior Member
 
Join Date: Nov 2007
Posts: 3
Time frame

In which TF we should run this EA? I have notice that the correlation index differs on various TF.

Thanks,
Luca
ldinatale is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Old 07-28-2008, 08:23 PM   #302 (permalink)
Junior Member
 
Join Date: Jun 2007
Posts: 1
Hedge EA trading problems

Why won't the Hedge EA make trades if the Autotrade function is set to false? I am not using the correlation or bollinger bands or any other type of filter. I would just like to manually open up trades and have the EA stop trading after the target profit is reached. The hedge EA doesn't seem to be doing this.

Does anyone know what the problem is?
excite2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-30-2008, 03:56 AM   #303 (permalink)
Administrator
 
kokas's Avatar
 
Join Date: Sep 2006
Location: Portugal
Posts: 507
If you set the autotrade to false, then the EA will not open new trades after the profit has been reached. But if you open your trades manually then you could not assign a magic number to the trades, and the EA could not know what trades it has to manage.
kokas is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-30-2008, 11:09 PM   #304 (permalink)
Junior Member
 
Join Date: Jul 2008
Posts: 6
Hi, Kokas, which version are you using now, and which correlation indicator?
dragosd1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-31-2008, 06:06 PM   #305 (permalink)
Administrator
 
kokas's Avatar
 
Join Date: Sep 2006
Location: Portugal
Posts: 507
Always use the last version. You can found the last version of hedgeEA on this post.
kokas is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Old 08-04-2008, 09:12 PM   #306 (permalink)
Junior Member
 
Join Date: Jun 2007
Posts: 1
Quote:
Originally Posted by kokas View Post
HedgeEA v6.1 Operating Instruction
Modified by Steve Wilson (sbwent)

Important! Do not change anything that you do not understand. Attach to the
same chart as Symbol1.
Settings
eaname=HedgeEA_v6.1
Expert Name and first part of comment line
Magic=1000
The Magic number the EA uses to track its own trades. If you are upgrading from a previous
version please keep the same Magic, or it will open new trades and forget about the old ones.
StopManageAcc=false
When set to true it will close all current positions and shut down the EA until you change it back to
false.
Autotrade=true
If set to true it will re-enter the market after exit and when filters allow this to happen (correlation
and/or Bollinger if used)
DisplayValues=true
This determines the amount of information to display on the charts. When set to true it will display
all details. If set to false it will only display the number of open trades and the Net Balance.
AccountIsMicro=true
Set to true if you are working with a micro account that supports 0.01 lots.
MoneyManagement=true
If set to true it will calculate the Lots according to your account free margin and your account
leverage. Set to false to manually enter your Lot sizes.
UsePips=false
If set to true all calculations are made in pips.
UseSwap=true
Set this to true if you wish to include swap profits in the calculation of total profits.
Symbols
Symbol1=GBPJPY
Symbol1isLong=true
Symbol2=CHFJPY
Symbol2isLong=false
If using different pairs please set them here. If using an InterbankFX Micro account you will need
to add m to the end of each pair. For example GBPJPY becomes GBPJPYm.
Lot Sizes and Ratios
Lots=0.01
This is the size of your lots if Money Management is set to false.
UseAutoRatio=true
Calculates the ratios automatically.
Ratio=1.6
The ratio you wish to use when UseAutoRatio is set to false.
AutoMaxLoss=false
When set to true it will automatically calculate the maximum loss you are willing to accept before
closing all positions.
AutoMaxLossRatio=4
When AutoMaxLoss is set to true this is a multiple of your Profit Target. For example Profit Target
is $50, AutoMaxLossRatio=4, then MaxLoss will be $200.
MaxLoss=0.0
When AutoMaxLoss is set to false this value can be entered manually. This is the maximum loss
you are willing to accept before closing all positions.
Correlation Settings
UseCorrelation=false
cPeriod=20
MinCorrelation=0.8
MaxCorrelation=1.0
The correlation is used to optimize the entry point for the hedge. The idea is to enter the market
when the pairs are highly correlated and exit after a positive move if in profit.
Bollinger Band Settings
Bollinger_Period=20
Bollinger_TF=60
Bollinger_Dev=2
UseBollinger=false
Bollinger_Symbol=GBPCHF
Set to true if you wish to use Bollinger filter calculate entry points. Please note that this feature is
only turned on for LONG/SHORT pair options like the default pairs.
AutoProfit=true
When set to true, if Money Management is also true, this will calculate your Profit Target based on
the size of your account and the amount of risk used.
AutoProfitRatio=1.0
By changing this value you can multiply the size of your Auto Profit Target. For example if the
Profit Target is calculated automatically at $50 and you wish to increase it to $75, just change the
ratio to 1.5.
ProfitTarget=0.0
If AutoProfit is set to false you may enter a Profit Target manually.
Daily Lots Trading
This gives the option to add microlots to your open positions each day if your profit target as not
been reached.
AddDailyLots=true
When set to true the EA will open additional positions each day at the specified hour.
DailyLotsMoneyManagement=true
When set to true this will calculate the lot sizes of the lots to be added each day.
HourToAddNewLots=23
This the hour that you wish the additional positions to be added. For example, if set to 23, new
positions are opened at 11:00pm (23:00 hours).
DailyLots=0.01
Size of lots to calculate from. Use 0.01 for micro account if lot sizes supported are 0.01. This will
give the most accurate calculation. Otherwise use 0.1 or 1. This amount will be displayed on your
chart for 1 hour before the daily lots are traded.
MaxPositions=10
The maximum number of open positions you are willing to accept. Must be a multiple of 2.
AutoDailyLotsRisk=1.0
This is the percentage of free margin you are willing to use for adding daily positions.
Risk=5.0
This is the percentage of free margin you are willing to use for your initial trades.
EmailReport=false
When set to true (and if you have configured your e-mail settings in MetaTrader 4 trading
platform) the EA will automatically send you an e-mail notification when closing trades.
FXman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-21-2008, 06:34 PM   #307 (permalink)
Junior Member
 
Join Date: Nov 2008
Posts: 1
Quote:
Originally Posted by kokas View Post
Bug killed on the main cycle, so you can now access settings window.

As requested by tomstaufer only two decimals on total lots

Enjoy!

This is error I get when I try to run on my mt4 using interbankfx on a mini account.


There has been a critical error
Time : 2008.11.21 13:39
Program : Client Terminal
Version : 4.00 (build: 213, 18 Mar 2008)
OS : Windows Vista Professional 6.0 Service Pack 1 (Build 6001)
Processors : 2 x X86 (level 6)
Memory : 2097151/1538800 kb
Exception : C0000005
Address : 0046275F
Access Type : read
Access Addr : 20234000

Registers : EAX=00000047 CS=001b EIP=0046275F EFLGS=00010206
: EBX=00000000 SS=0023 ESP=030CFEF4 EBP=030CFF2C
: ECX=02BEA8A0 DS=0023 ESI=0045F2DC FS=003b
: EDX=20234000 ES=0023 EDI=03BE1FC4 GS=0000

Stack Trace : 00454D13 760B2DEB 76654911 775EE4B6
: 775EE489 00000000 00000000 00000000
: 00000000 00000000 00000000 00000000
: 00000000 00000000 00000000 00000000

Modules :
1 : 00400000 002A8000 c:\program files\interbank fx trader 4\terminal.exe
2 : 70C90000 00005000 c:\windows\system32\msimg32.dll
3 : 718C0000 00007000 c:\windows\system32\midimap.dll
4 : 71AA0000 00014000 c:\windows\system32\msacm32.dll
5 : 71AC0000 00066000 c:\windows\system32\audioeng.dll
6 : 71B30000 00021000 c:\windows\system32\audioses.dll
7 : 71BC0000 00009000 c:\windows\system32\msacm32.drv
8 : 71BD0000 0002F000 c:\windows\system32\wdmaud.drv
9 : 71CE0000 00004000 c:\windows\system32\ksuser.dll
10 : 723C0000 00038000 c:\windows\system32\odbcint.dll
11 : 72520000 00065000 c:\windows\system32\odbc32.dll
12 : 72590000 0011B000 c:\windows\system32\mfc42.dll
13 : 72950000 00032000 c:\windows\system32\winmm.dll
14 : 72FE0000 00012000 c:\windows\system32\pnrpnsp.dll
15 : 73000000 00008000 c:\windows\system32\winrnr.dll
16 : 73030000 0000F000 c:\windows\system32\napinsp.dll
17 : 735D0000 00006000 c:\windows\system32\rasadhlp.dll
18 : 74140000 00039000 c:\windows\system32\oleacc.dll
19 : 74180000 0003F000 c:\windows\system32\uxtheme.dll
20 : 746D0000 000BB000 c:\windows\system32\propsys.dll
21 : 74B80000 0019E000 c:\windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18000_none_5cdb aa5a083979cc\comctl32.dll
22 : 74E90000 00027000 c:\windows\system32\mmdevapi.dll
23 : 74F80000 0002D000 c:\windows\system32\wintrust.dll
24 : 75040000 0000F000 c:\windows\system32\nlaapi.dll
25 : 75110000 00005000 c:\windows\system32\wshtcpip.dll
26 : 75120000 00007000 c:\windows\system32\avrt.dll
27 : 75200000 0003B000 c:\windows\system32\rsaenh.dll
28 : 75480000 0003B000 c:\windows\system32\mswsock.dll
29 : 75680000 00021000 c:\windows\system32\dhcpcsvc6.dll
30 : 756B0000 00035000 c:\windows\system32\dhcpcsvc.dll
31 : 756F0000 00019000 c:\windows\system32\iphlpapi.dll
32 : 75790000 000F1000 c:\windows\system32\crypt32.dll
33 : 75890000 00014000 c:\windows\system32\mpr.dll
34 : 758F0000 00012000 c:\windows\system32\msasn1.dll
35 : 759B0000 0002C000 c:\windows\system32\dnsapi.dll
36 : 75C00000 00007000 c:\windows\system32\winnsi.dll
37 : 75C60000 0002C000 c:\windows\system32\apphelp.dll
38 : 75CC0000 00014000 c:\windows\system32\secur32.dll
39 : 75CE0000 0001E000 c:\windows\system32\userenv.dll
40 : 75D90000 00007000 c:\windows\system32\psapi.dll
41 : 75E30000 0004B000 c:\windows\system32\gdi32.dll
42 : 75E80000 0001E000 c:\windows\system32\imm32.dll
43 : 75EA0000 00009000 c:\windows\system32\lpk.dll
44 : 75EB0000 000C6000 c:\windows\system32\advapi32.dll
45 : 75F80000 000C8000 c:\windows\system32\msctf.dll
46 : 76050000 0004A000 c:\windows\system32\wldap32.dll
47 : 760A0000 000AA000 c:\windows\system32\msvcrt.dll
48 : 76150000 0008D000 c:\windows\system32\oleaut32.dll
49 : 761E0000 00045000 c:\windows\system32\iertutil.dll
50 : 76230000 0007D000 c:\windows\system32\usp10.dll
51 : 762B0000 00129000 c:\windows\system32\urlmon.dll
52 : 763E0000 00006000 c:\windows\system32\nsi.dll
53 : 763F0000 00029000 c:\windows\system32\imagehlp.dll
54 : 76420000 00003000 c:\windows\system32\normaliz.dll
55 : 76430000 00058000 c:\windows\system32\shlwapi.dll
56 : 76490000 00073000 c:\windows\system32\comdlg32.dll
57 : 76510000 000C2000 c:\windows\system32\rpcrt4.dll
58 : 765E0000 0002D000 c:\windows\system32\ws2_32.dll
59 : 76610000 000DB000 c:\windows\system32\kernel32.dll
60 : 766F0000 0018A000 c:\windows\system32\setupapi.dll
61 : 76880000 000D0000 c:\windows\system32\wininet.dll
62 : 76950000 00144000 c:\windows\system32\ole32.dll
63 : 76AA0000 00B0F000 c:\windows\system32\shell32.dll
64 : 775B0000 00127000 c:\windows\system32\ntdll.dll
65 : 776E0000 00084000 c:\windows\system32\clbcatq.dll
66 : 77770000 0009D000 c:\windows\system32\user32.dll

Call stack :
0045F260:34FF [0046275F] ?ExecuteStaticAsm@CExpertInterior (terminal.exe)
00454C00:0113 [00454D13] ?RunExpertInt@CExpertInterior (terminal.exe)


Help ???
bigang04 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-24-2008, 04:44 PM   #308 (permalink)
Administrator
 
kokas's Avatar
 
Join Date: Sep 2006
Location: Portugal
Posts: 507
I've never had this error. Probably a problem on windows, not a problem on EA

Have you tryed it on another computer?

best regards,
roger
kokas is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

LinkBacks (?)
LinkBack to this Thread: http://www.forexforums.org/mt4-expert-advisors-factory/22-hedgeea.html
Posted By For Type Date
Grid Trading (Part 3 - Correlation Grid Trading) | Macrotactics This thread Refback 08-29-2008 09:37 PM
FINEXX Correlation System EA - Page 2 - Forex Trading This thread Refback 08-27-2008 05:12 PM
Question on Hedging - Page 4 - Forex Trading This thread Refback 08-25-2008 03:18 PM
FINEXX Correlation System EA - Page 10 - Forex Trading This thread Refback 08-01-2008 06:26 PM
FINEXX Correlation System EA - Forex Trading This thread Refback 07-05-2008 05:08 PM
- Forex This thread Refback 06-26-2008 05:26 AM
Digg - HedgeEA This thread Refback 04-21-2008 12:59 AM
Diskuzn frum Financnik.cz :: Se Sidem o Forexu :: FPI - Fractional Product Inefficiency Post #10 Refback 04-08-2008 09:36 AM


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


Sedo - Buy and Sell Domain Names and Websites project info: forexforums.org Statistics for project forexforums.org etracker® web controlling instead of log file analysis

All times are GMT. The time now is 01:37 AM.
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.