• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 12:49am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 12:49am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

100EMA & 200EMA Pullback System using MTFA 47 replies

Need code CCI channel, CCI with SAR if you can free coding 0 replies

CCI indicator 8 replies

Any one using CCI System? 18 replies

Cci? 1 reply

  • Trading Systems
  • /
  • Reply to Thread
  • Subscribe
  • 51
Attachments: CCI 200EMA
Exit Attachments
Tags: CCI 200EMA
Cancel

CCI 200EMA

  • Last Post
  •  
  • 1 23Page 45 6
  • 1 3Page 45 6
  •  
  • Post #61
  • Quote
  • Jul 12, 2022 2:33am Jul 12, 2022 2:33am
  •  Kadosh
  • | Joined Nov 2011 | Status: Member | 84 Posts
This system in its pure form is a loosing system. You have to use some filter.
These violent delights have violent ends.
 
 
  • Post #62
  • Quote
  • Jul 12, 2022 3:27am Jul 12, 2022 3:27am
  •  ohyeah
  • | Commercial Member | Joined Apr 2016 | 437 Posts
Several people have already coded this EA with this type of setup and it's a losing system in the long run. The balance curve should have this direction.

Attached Image (click to enlarge)
Click to Enlarge

Name: Screen Shot 2022-07-12 at 3.25.08 PM.jpg
Size: 279 KB
 
 
  • Post #63
  • Quote
  • Jul 13, 2022 8:30am Jul 13, 2022 8:30am
  •  LabiFx
  • | Joined Mar 2019 | Status: Member | 8 Posts
Hi Sangui, excellent EA congrats! I have a question. Is it possible to make an option so that sell positions are closed when a green dot appears (not x), and vice versa for buy positions. Thanks.
 
 
  • Post #64
  • Quote
  • Jul 13, 2022 11:36am Jul 13, 2022 11:36am
  •  gerval
  • | Joined May 2020 | Status: Member | 218 Posts
One question Sangi.
On several occasions I see that appearing at the signal of the CCI indicator and fulfilling the conditions of publication 1 (< 200EMA - x pips - (spread * 2, and vice versa), no operations are opened, I enclose some capture.
Is it due to some different calculation or is it something that I did not apply correctly?
Thank you

Attached Image (click to enlarge)
Click to Enlarge

Name: screenshot.png
Size: 20 KB

Attached Image (click to enlarge)
Click to Enlarge

Name: screenshot.png
Size: 18 KB
 
 
  • Post #65
  • Quote
  • Jul 13, 2022 5:24pm Jul 13, 2022 5:24pm
  •  Sangui
  • Joined Dec 2019 | Status: Coding | 65 Posts
Quoting gerval
Disliked
One question Sangi. On several occasions I see that appearing at the signal of the CCI indicator and fulfilling the conditions of publication 1 (< 200EMA - x pips - (spread * 2, and vice versa), no operations are opened, I enclose some capture. Is it due to some different calculation or is it something that I did not apply correctly? Thank you {image} {image}
Ignored
Hola Gerval,

I had to put a filter in the EA because sometimes the indicator was giving the X signal in more than one bar, so when a position is opened the EA will wait at least 5 bars before opening another one. But it should always open the 1st position when an X appears beyond the min distance. Please look at the experts log to see if there is an error message that explains what happened.
 
 
  • Post #66
  • Quote
  • Jul 13, 2022 5:26pm Jul 13, 2022 5:26pm
  •  Sangui
  • Joined Dec 2019 | Status: Coding | 65 Posts
Quoting LabiFx
Disliked
Hi Sangui, excellent EA congrats! I have a question. Is it possible to make an option so that sell positions are closed when a green dot appears (not x), and vice versa for buy positions. Thanks.
Ignored
Hi LabiFx,

Yes, it's possible, if you are having better results with that I will make the change.
 
 
  • Post #67
  • Quote
  • Jul 14, 2022 2:50am Jul 14, 2022 2:50am
  •  LabiFx
  • | Joined Mar 2019 | Status: Member | 8 Posts
Hi Sangui, I have been trying the system for a few days on demo, I close positions when a point appears, especially if there are more than one open positions. For now I have no loss, but if there is big movement, there is also more danger. More time is needed for testing.
 
 
  • Post #68
  • Quote
  • Jul 14, 2022 6:25am Jul 14, 2022 6:25am
  •  LabiFx
  • | Joined Mar 2019 | Status: Member | 8 Posts
Here's an example
Attached Image (click to enlarge)
Click to Enlarge

Name: eurusd-m1-raw-trading-ltd-2 (1).png
Size: 59 KB
 
1
  • Post #69
  • Quote
  • Jul 14, 2022 8:28am Jul 14, 2022 8:28am
  •  gerval
  • | Joined May 2020 | Status: Member | 218 Posts
Quoting Sangui
Disliked
{quote} Hola Gerval, I had to put a filter in the EA because sometimes the indicator was giving the X signal in more than one bar, so when a position is opened the EA will wait at least 5 bars before opening another one. But it should always open the 1st position when an X appears beyond the min distance. Please look at the experts log to see if there is an error message that explains what happened.
Ignored
OK, the filter of the candles did not know, I will put the EA again to see if when it does not open the operation, an error appears in the EA registry and I will tell you. Thanks for the reply.
 
 
  • Post #70
  • Quote
  • Jul 14, 2022 8:41am Jul 14, 2022 8:41am
  •  Sangui
  • Joined Dec 2019 | Status: Coding | 65 Posts
Quoting LabiFx
Disliked
Hi Sangui, I have been trying the system for a few days on demo, I close positions when a point appears, especially if there are more than one open positions. For now I have no loss, but if there is big movement, there is also more danger. More time is needed for testing.
Ignored
Should close when an opposite dot appears even if the basket is in loss or only if possitive?
 
 
  • Post #71
  • Quote
  • Jul 14, 2022 10:21am Jul 14, 2022 10:21am
  •  LabiFx
  • | Joined Mar 2019 | Status: Member | 8 Posts
It should be closed in any case.
 
 
  • Post #72
  • Quote
  • Jul 15, 2022 3:16am Jul 15, 2022 3:16am
  •  Kadosh
  • | Joined Nov 2011 | Status: Member | 84 Posts
I think that that most useful settings to this EA is the possibility to use a reverse mode on/off
possibility
These violent delights have violent ends.
 
1
  • Post #73
  • Quote
  • Jul 15, 2022 10:49am Jul 15, 2022 10:49am
  •  robysunnen
  • | Joined Jul 2019 | Status: Member | 172 Posts
hasta la victoria siempre!!
Attached Image (click to enlarge)
Click to Enlarge

Name: FTMO MetaTrader 4.png
Size: 38 KB
 
 
  • Post #74
  • Quote
  • Jul 16, 2022 5:22am Jul 16, 2022 5:22am
  •  Sangui
  • Joined Dec 2019 | Status: Coding | 65 Posts
Quoting gerval
Disliked
Here it did not open either and the parameter min is 25. {image}
Ignored
Well, it took me some time but I might have found the problem why sometimes it doesn't open or close when a dot or cross appears. And is the indicator itself.

To get for example the value of a bullish dot this code is used: iCustom(Symbol(), PERIOD_CURRENT, "Fx_Sniper_CCI_T3_New", 4, 0);

But seeing the logs it seems the indicator is not always returning what it shows on the screen:

Here the value is catched correctly
Attached Image (click to enlarge)
Click to Enlarge

Name: 1.png
Size: 37 KB
But here the dot appears on screen but didn't return the data, so in place of closing on the dot it closed on the cross
Attached Image (click to enlarge)
Click to Enlarge

Name: 2.png
Size: 33 KB

Luckily we got the mql4 of the indicator, I will have to insert the code into the EA to make it work good, will do it tonight.
 
1
  • Post #75
  • Quote
  • Jul 16, 2022 7:55am Jul 16, 2022 7:55am
  •  gerval
  • | Joined May 2020 | Status: Member | 218 Posts
I was looking at the folder and the log, but I am currently changing VPS and I could only with the PC when I connected it and it did not fail.
Thanks for the work.
 
 
  • Post #76
  • Quote
  • Jul 16, 2022 8:28am Jul 16, 2022 8:28am
  •  gerval
  • | Joined May 2020 | Status: Member | 218 Posts
After a few days live and some backtesting(thanks to Sangui's work). ... in my opinion, the system works with the price in a range because the price quickly returns to the average when the average has not reacted yet.
But when there is a strong movement or trend, many positions are opened and normally after the strong movement they usually leave the price stopped while they accumulate and this is when the average has time to return to the price closing many losing orders, until they move the price again. price after the range and repeats.
So you lose more in trends than you gain in ranges if you don't filter to avoid trends.
 
 
  • Post #77
  • Quote
  • Jul 16, 2022 9:12am Jul 16, 2022 9:12am
  •  ohyeah
  • | Commercial Member | Joined Apr 2016 | 437 Posts
People love to spend time commenting on fundamentally flawed systems. This system does not work consistently and will never work consistently. The accurate filtering that it would require is Grail level. If you discover that Grail filter then why not use that Grail in a better system? My point is, forget this system. Thanks.
 
 
  • Post #78
  • Quote
  • Jul 16, 2022 2:29pm Jul 16, 2022 2:29pm
  •  Sangui
  • Joined Dec 2019 | Status: Coding | 65 Posts
I've introduced the changes proposed by LabiFx and made them optional.

New options:
-Close always or only when in profit
-Close on opposite dot or cross


Making a backtest in EUR/USD with standard inputs the best results for this year are given by closing only when in profit and with dots.
Optimizing the inputs the best results are with MinDistance = 150, TPDistance = 10
Attached Image (click to enlarge)
Click to Enlarge

Name: thisyear.png
Size: 12 KB


To confirm it wasn't only a good run for this year I ran a test since January 2015
Attached Image (click to enlarge)
Click to Enlarge

Name: Since2015.png
Size: 14 KB


Opposite to what ohyeah warned us 5 times already without helping, I think we have something here, it might need more work though.
Please help test with different inputs, timeframes, assets, etc. and note that a backtest in M1 it might not be accurate even with 99% MQ.
When backtesting turn ShowOpLines and ShowPanel to false to speed it up.
Attached File(s)
File Type: ex4 Derekw - CCI200EMA vLabiFx1.0.ex4   53 KB | 160 downloads

Last but not least know that it's very difficult for an EA to win constantly only by itself but they are good for automatizing tasks.
 
2
  • Post #79
  • Quote
  • Jul 16, 2022 6:20pm Jul 16, 2022 6:20pm
  •  packgreen49a
  • | Joined Mar 2022 | Status: Junior Member | 6 Posts
Sangui,
Do you get your historical data from somewhere? I get the data, but can’t get it to work on mt4.
Ron
 
 
  • Post #80
  • Quote
  • Jul 18, 2022 3:05am Jul 18, 2022 3:05am
  •  LabiFx
  • | Joined Mar 2019 | Status: Member | 8 Posts
Quoting Sangui
Disliked
I've introduced the changes proposed by LabiFx and made them optional. New options: -Close always or only when in profit -Close on opposite dot or cross Making a backtest in EUR/USD with standard inputs the best results for this year are given by closing only when in profit and with dots. Optimizing the inputs the best results are with MinDistance = 150, TPDistance = 10 {image} To confirm it wasn't only a good run for this year I ran a test since January 2015 {image} Opposite to what ohyeah warned us 5 times already without helping, I think we have...
Ignored
Thanks, I'll try her on demo, but I'll keep an eye on her. Use her as a trading assistant. I think it's the best option for an EA.
 
 
  • Trading Systems
  • /
  • CCI 200EMA
  • Reply to Thread
    • 1 23Page 45 6
    • 1 3Page 45 6
0 traders viewing now
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023