The Center of gravity MT4 Expert Advisor

Post your new strategies, discoveries or just ideas for development

Re: The Center of gravity MT4 Expert Advisor

Postby edlogic » Thu Oct 22, 2009 8:32 am

new option

openOpposite - if set true - when non trending order is closed - the opposite type order is opened

CenterOfGravity2test27.mq4
version .27
(32.68 KiB) Downloaded 1536 times
http://www.fxecnbroker.com
http://www.mt4tradecopier.com
User avatar
edlogic
 
Posts: 32
Joined: Wed Oct 07, 2009 8:10 am
Location: jacksonville, florida usa

Re: The Center of gravity MT4 Expert Advisor

Postby edlogic » Thu Oct 22, 2009 9:02 am

version .27 will not compile
there is a bad spelling of one of the variables

openOpposite is the correct spelling
if you try to compile it you will get error that openOposite is an invalid variable name
just change it to openOpposite
User avatar
edlogic
 
Posts: 32
Joined: Wed Oct 07, 2009 8:10 am
Location: jacksonville, florida usa

Re: The Center of gravity MT4 Expert Advisor

Postby edlogic » Thu Oct 22, 2009 7:26 pm

i let this latest version run for several hours on a demo account and in the last 6 hours it made 3 trades - each trade took profit at 33 pips
the code has the settings the same as i used in the demo

CenterOfGravity2test28.mq4
v .28 a couple of minor bug fixes
(32.68 KiB) Downloaded 1513 times



cogea3trades.jpg
5 minute window



cogea3trades02.jpg
15 minute window with trade history markers showing
http://www.fxecnbroker.com
http://www.mt4tradecopier.com
User avatar
edlogic
 
Posts: 32
Joined: Wed Oct 07, 2009 8:10 am
Location: jacksonville, florida usa

Re: The Center of gravity MT4 Expert Advisor

Postby manus168 » Thu Oct 22, 2009 8:38 pm

Hi Guys;

I'm still confused, are the COG is same with the OANFX, ABHAFX ?

Here's the Indicators :

Image
DO NOT USE this indicators bellow Timeframe: 4 hour ... :!:

DOWNLOAD LINK:

Code: Select all
http://www.4shared.com/file/90535353/883e99a9/Oan_fixed.html



Thanks;


Kind Regards;


:idea:


Manus168
Yesterday = HISTORY !
Tomorrow = MYSTERY!
Today = GIFT !


Thats why we call it the PRESENT :)
User avatar
manus168
 
Posts: 160
Joined: Tue Sep 22, 2009 4:48 am
Location: SECRET

Re: The Center of gravity (ABHAFX)

Postby manus168 » Thu Oct 22, 2009 9:21 pm

Image
ABHAFX. 1

Image
ABHAFX. 2

Image
ABHAFX. 3

Image
ABHAFX. 4



DOWNLOAD LINK :


Code: Select all
http://www.easy-share.com/1908214085/ABHA-FX.rar


I'm not install in my MT.4 (because overload that cause "hang") so i don't know, please try by yourself.


Kind Regards;


:mrgreen:


Manus168
Yesterday = HISTORY !
Tomorrow = MYSTERY!
Today = GIFT !


Thats why we call it the PRESENT :)
User avatar
manus168
 
Posts: 160
Joined: Tue Sep 22, 2009 4:48 am
Location: SECRET

Re: The Center of gravity MT4 Expert Advisor

Postby manus168 » Thu Oct 22, 2009 9:54 pm

manus168 wrote:Hi Guys;

I'm still confused, are the COG is same with the OANFX, ABHAFX ?

Here's the Indicators :

Image
DO NOT USE this indicators bellow Timeframe: 4 hour ... :!:

DOWNLOAD LINK:

Code: Select all
http://www.4shared.com/file/90535353/883e99a9/Oan_fixed.html



Thanks;


Kind Regards;


:idea:


Manus168


The Original Templates have a wrong coloor at the candlestick, here's the fixed templates :


Image

The Templates :

Code: Select all
http://www.easy-share.com/1908214325/OANFX template.rar
Yesterday = HISTORY !
Tomorrow = MYSTERY!
Today = GIFT !


Thats why we call it the PRESENT :)
User avatar
manus168
 
Posts: 160
Joined: Tue Sep 22, 2009 4:48 am
Location: SECRET

Re: The Center of gravity MT4 Expert Advisor

Postby edlogic » Mon Oct 26, 2009 1:34 am

hmmm - manus - i don't know what you are asking or why you posted all those pics in here ?
this thread was about an ea script that Hans started
are you asking a question ?

anyway i added some more stuff and consolidated some code and here is the latest version
right now i think this will be it for a while - i can't think of much to do with it right now
i need some suggestions and for other people to try it - on a demo account of course

CenterOfGravity2test.mq4
v .30
need help testing and suggestions to make it better
(35.95 KiB) Downloaded 960 times
http://www.fxecnbroker.com
http://www.mt4tradecopier.com
User avatar
edlogic
 
Posts: 32
Joined: Wed Oct 07, 2009 8:10 am
Location: jacksonville, florida usa

Re: The Center of gravity MT4 Expert Advisor

Postby edlogic » Mon Oct 26, 2009 6:32 am

oops - i left out one important option

useNonTrendingOrderDeficit - this controls whether the closing of non trending orders waits until the profit goes below the amount set for the deficit variable

version .31 has this variable in it

CenterOfGravity2test31.mq4
v .31
forgot the useNonTrendingOrderDeficit flag
(36.03 KiB) Downloaded 1166 times
http://www.fxecnbroker.com
http://www.mt4tradecopier.com
User avatar
edlogic
 
Posts: 32
Joined: Wed Oct 07, 2009 8:10 am
Location: jacksonville, florida usa

Re: The Center of gravity MT4 Expert Advisor

Postby AsherEWT » Wed Oct 28, 2009 12:57 am

Hi there,

You guys have done a wonderful job, I'm sure this will benefit to everyone who know how to make good use of Repainting Indicators. Couple of questions though:

1. What is the best final version of EA I should try ?
2. I'm not sure if this has been discussed before but the original Belkhayate system also makes use of its Timing Indicator which basically filters bad trades. If for example the Price has touched upper or lower lines but the Timing Candle has not touched the +8 or -8 lines then its not considered a valid trade signal. I was wondering if this could have been included in the EA.

Once again, thanks a lot, the EA does look great.

PS: I was recieving some error messages complaining about Golden or Magic Number, I had to comment out the line which generated Alert for this. Has anyone else been recieving similar error messages ?

Cheers,
Asher
Attachments
Belkhayate Timing.ex4
(4.12 KiB) Downloaded 1319 times
BelkhayateChart.PNG
My Trading Blog: http://www.ichi360.com
Follow me on Twitter: http://twitter.com/ichi360
AsherEWT
 
Posts: 43
Joined: Tue Jul 07, 2009 1:46 am

Re: The Center of gravity MT4 Expert Advisor

Postby AsherEWT » Wed Oct 28, 2009 1:27 am

Sorry I forgot to attach this PDF File which further exaplains the original rules of Belkhayate system. The PDF is in French but if you spend some time on Google Translate you should get a good idea about the rules ...

Good luck.
Attachments
BelkhayateSystem.pdf
(293.81 KiB) Downloaded 1773 times
My Trading Blog: http://www.ichi360.com
Follow me on Twitter: http://twitter.com/ichi360
AsherEWT
 
Posts: 43
Joined: Tue Jul 07, 2009 1:46 am

PreviousNext

Return to Forex trading strategies and systems



cron