CCI Expert, not a holly grail, but quite rewarding - page 8

 

I was just wondering right now i saw an old post of you scorpion that mentioned that MT4 was pretty easy.

Well here's a job for anyone interested, I'd like to recreate the Tidy version and v2.0 of my expert into MT4 since I just redownlded it and found that we can backtest with tick data and I'm interested in reputting it in a demo account trading all day.

Please anyone let me know both links are here its just fine if you do one I don't really mind as long as at least one is done. Also no rush.

Thanks in advance:

https://www.mql5.com/go?link=http://forex1000.com/cnet/CCI-Gazuz-Tidy.mql

and

https://www.mql5.com/go?link=http://forex1000.com/cnet/CCI-Gazuzv2.0.mql

 

he he guy, it's not easy to port mql to mq4. Look at the crazy syntax of mq4 that metaquotes has messed up, u'll know what i mean. I think MT4 users should request MetaQuotes (at their forum) to develop a MQL to MQ4 conversion program, so that everyone would be happy converting by themselves. But having chatted with them, I know they're not going to do it if they don't want to do it regardless how desperated users feel.

 

would rewriting it from scratch be hard?

I'm going to post this on the yahoo group and see if I can get an answer fast enough. Thanks in advance

 

Write from scratch might be easier. One should just put together available code or just replace the indicator functions.

I've seen a lot of people posting their mql and asking to convert to mql4 at various places, but I've never seen any code actually converted. I think there's not many mql4 programmers out there yet.

 

Ok I just signed up - I can convert this to MQ4. I am normally in moneytec (now called strategybuilderfx) forums.

You can see my reputation there under the same name.

Please just tell me what version should I do V2 or tidy_up? (meaning which is more stable/better profits)

 

First of all here is my first trade for a while

https://www.mql5.com/go?link=http://forex1000.com/cnet/statement.htm

Now those two stop losses reached could have been prevented if the trade was not opened when the cross was made. When I backtested visually I made the opening of the next candle the open of the trade (CCi(-2)>0 and CCi(-1)<0). So I think if anyone would care to help me to make that change happen? That would be awesome and I would praise you (maybe even pay you if its succesful). So if anyone could make that change to the MT3 that would be great.

Shahin, I am sticking with MT3 right now. I am more used to it and MT4 is still not stable enough for my taste. First I need to fix this for MT3.

Thank you all

 

I just checked version 2 and Tidy visually and by backtest.

Tidy has a different exit logic (loser).

Version 2 is more profitable.

 

I fixed the tidy script, I use the settings of take profit at 5 pips or 10 pips and a very low stop loss (in case I get disconnected).

The Version 2 is more for long term investments. Version tidy like I'm doing right now creates roughly 30 trades per month and gets about 200 pips with 10 pips profit and about 100-150 with 5 pips. Im testing out to see if I did the coding right then I'll put it on a real account. By the way I use the CCI setting of 350 with my tidy version, and take profit of 5 which results in rather good results.

I uploaded the new mql so you guys can check it out

 

Shanin, what's tool do you use to backtest?

 

Metatrader backtester ofcourse (1tick). I know it is not great, but it is better than metastock for example.

Reason: