Jump to content

Super Hedging EA - need to be educated


fx1001

Recommended Posts

Re: Super Hedging EA - need to be educated

 

Hi there,

 

Please, can anybody educate this EA?

 

Thanks

 

Have a nice weekend

 

http://[email protected]/file/135407073/cf2721c5/S_Hedg.html

 

don't comment out the first 4 lines.. i think that is for offsetting the server trading time..

 

if (AccountCompany() == "EuroOrient Securities&Financial Services Ltd" || AccountCompany() == "FXOpen Investments Inc." || AccountCompany() == "Belvedere Inc.") gi_2120 = 2;

else {

if (AccountCompany() == "FXcast") gi_2120 = 1;

else gi_2120 = 11;

}

 

for the rest.. its should be easy to identify down the code to remove the demo,expiry,broker restriction.. pretty straight forward..

dont disable the backtest check though.. i ran it, only displays the EA texts but data is not moving anyway, it writes the balance to txt file and not sure if its that 1 causing the problem.. have to wait till market reopens to see if its working properly.. ;)

 

http://depositfiles.com/files/7yd3cbc5l

Link to comment
Share on other sites

Re: Super Hedging EA - need to be educated

 

I have educated and used a version of this one. There is no multi currency hedging. It opens a position and if things are looking bad, then opens a counter position on the same currency, with bigger (user adjustable) lotsize. Mean: a simple martingale.

Link to comment
Share on other sites

Re: Super Hedging EA - need to be educated

 

Hi Don,

is it making you money?

 

I have educated and used a version of this one. There is no multi currency hedging. It opens a position and if things are looking bad, then opens a counter position on the same currency, with bigger (user adjustable) lotsize. Mean: a simple martingale.
Link to comment
Share on other sites

  • 2 weeks later...

Re: Super Hedging EA - need to be educated

 

somebody have this ea again? i have to try for a week , its work well but now this ea doesn't work anymore. Not open any position, i don't know what's the matter.

doesn't work anymore, means broker fxcked the EA name or something like that, try to change the name of EA.. or something inside the code

Link to comment
Share on other sites

  • 4 months later...

Re: Super Hedging EA - need to be educated

 

Hi. Who can be educated of the advisor? Advisor shall not be put on the graf.

When compiling gave error:

 

Compiling 'super_hedging_v173~.mq4'...

'case' - unexpected token (2683, 19)

'64' - unexpected token (2683, 24)

':' - assignment expected (2683, 46)

'l_cmd_16' - internal error (2731, 27)

'l_error_28' - internal error (2748, 27)

'continue' - 'break' or 'continue' used within some cycle only (2796, 44)

'continue' - 'break' or 'continue' used within some cycle only (2798, 40)

'l_cmd_16' - internal error (2807, 27)

'l_error_28' - internal error (2824, 27)

'continue' - 'break' or 'continue' used within some cycle only C: (2874, 44)

'continue' - 'break' or 'continue' used within some cycle only C: (2876, 44)

'l_cmd_16' - internal error (2885, 27)

'l_error_28' - internal error (2906, 27)

'l_cmd_16' - internal error (2967, 33)

'l_error_28' - internal error (2988, 33)

'l_cmd_16' - internal error (3058, 27)

'l_error_28' - internal error (3075, 27)

'continue' - 'break' or 'continue' used within some cycle only (3121, 44)

'continue' - 'break' or 'continue' used within some cycle only (3123, 40)

'l_cmd_16' - internal error (3132, 27)

'l_error_28' - internal error (3149, 27)

'continue' - 'break' or 'continue' used within some cycle only (3195, 44)

'continue' - 'break' or 'continue' used within some cycle only (3197, 44)

'l_cmd_16' - internal error (3206, 27)

'l_error_28' - internal error (3227, 27)

'l_cmd_16' - internal error (3288, 33)

'l_error_28' - internal error (3309, 33)

27 error(s), 0 warning(s)

 

Who can fix this?

Link to download: http://[email protected]/file/239622735/b99c0399/S_H.html

^:)^

Link to comment
Share on other sites

  • 1 year later...
  • 1 month later...

i made some changes, and it now backtests...

just checking out a few more things, and will post here...

fyi. comment out this bit at beginning of start() ==> //while (!(ObjectFind("TITLE_") < 0)) {

comment out the corresponding closing bracket at the bottom just above "Sleep(100)" ==> //}

compile, and it will give warnings about "break" statements. Replace each one with ==> /*break;*/return(0);

Link to comment
Share on other sites

the other thing I don't like about it is that it does not play nice with other experts.

Due to the logic, where a trader can initiate a trade manually, they cannot assign a magic number to it, otherwise they would not be able to manage the trade. If it were me, I would have done it on a comment....

haven't finished checking out the parameters fully... more playing later after work... and I will post the bt'able one.

Link to comment
Share on other sites

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...