CCI SSL EA

Custom MT4 expert advisors published here.

Moderator: admin

CCI SSL EA

Postby Apprentice » Tue Jun 30, 2020 3:30 am

eurusd-h1-fxcm-australia-pty.png

TesterGraph.gif

Based on request.
viewtopic.php?f=27&t=70089
CCI SSL EA.mq4
(143.62 KiB) Downloaded 616 times


ssl-channel-chart-alert-indicator.mq4
viewtopic.php?f=38&t=69212
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: CCI SSL EA

Postby BTS0301 » Tue Jun 30, 2020 6:23 am

Thankyou, I'll give it a try!
BTS0301
 
Posts: 16
Joined: Fri Jun 26, 2020 9:17 pm

Re: CCI SSL EA

Postby wilson » Mon Jun 06, 2022 5:47 am

Hello, I notice you have coded a CCI SSL EA in the last post. I have tried out this ea, it does not open position base on SSL if activate the CCI.

Can I request this from you.

Sorry for editing this post. I came up with a better ideas which is as follow:

This EA will consist of 2 engines or structures.

1. MA System
This system shows Long Term, Mid Term & Short Term Trend
By allowing settings to choose Simple Moving Average or Exponential Moving Average
Optional :
A. Short Term 7 Days default value
B. Mid Term : 60 Days default value
C. Long Term : 180 Days default value

Can put 0 to bypass any of the above.

MA System is Selectable - Can be True (Run as Base) or False (Do not use)

When it is set to true the MA System will act as the direction base for the EA if long term, mid term and short term trend is up trend then it only allows Buy position to be opened and the opposite way. If long term and mid term is up but short term is down trend then it will still open buy position.

User can choose
Short Term 0
Mid Term 0
Long Term 180 days

With this settings this EA will only recognize the Long Term trend because both short term and mid term has been set to 0 (disable)

2. SSL Channel System

This EA will not open position without SSL Channel. So this is the Heart of the system. If disable the MA system above this system still open position but will open both ways position (Buy and Sell) because it does not know the trend.

SSL Channel open position and close position as the primary indicator.

Optional:
Option 1
RSI: if activated
2 RSI line cross over to confirm the opening position either buy or sell

RSI 1 : 100 default value
RSI 2 : 50 default value

Option 2
CCI : if activated
CCI cross over to buy or sell
buy if ascending from < -100 break -100 and above
sell if descending from > 100 break lower to below 100
( I think this condition is important because if only code it as breakthrough it could be a descending from top to bottom and break the -100 it should not open any buy position because the trend is still going down. As well as selling position also having this problem. if previously is ascending to 100 then it open a sell position instead of a buy)

CCI default value : 20

This part will function this way :if disable RSI and CCI option, SSL will function alone. But when RSI is activated then it must meet both condition to open a position and when both RSI and CCI is activated. It must meet 3 conditions to open a position. Closing position can add an option either to use SSL + RSI or SSL + RSI + CCI to determine or just the SSL alone close position when it turns opposite.
If activate RSI and CCI then all 3 conditions must met in order to open a position. Open and close position function to be separated differently for example if you use SSL + RSI + CCI to open position. You can choose only SSL to close or SSL + RSI to close or all of them.

Note : After tested the existing version of SSL EA, I found the opening position has been a problem. The existing one allow choose live open position or after close of the current bar. If you choose live when the market is too volatile fluctuate up and down in that particular candle. The EA will open a position immediately then when next candle it went to the opposite way it will close and open another opposite position. This will create 3 to 4 positions keep on open and closing and result in making continuous losses. I suggest to be optional too like the previous EA which allow user to choose either live or after the bar close. And adding 1 more option at this part which is a lower time frame candle to determine the opening position for example if currently you are using 15 minutes time frame. By choosing a lower time frame to open position. The system will use 5 minutes SSL to determine the opening position either buy or sell.


Also stop trading once there is a continue lost of x times.
Or margin level drop x% (but withdrawal is not affected)

Also this EA must not automatically close other pair once activated the EA. Means 1 MT4 account can open several chart and run this EA but this EA will not close other position if detected any other position has already opened. This should be able to solve by adding magic number on each of the pair attached.

News Filter : Once there is major news then it will not open any position if activated this option.

Trading Time : Setting this will allow the EA only functioning during the designated time.
Last edited by wilson on Mon Jun 06, 2022 11:04 am, edited 1 time in total.
wilson
 
Posts: 5
Joined: Thu Jun 02, 2022 10:23 pm

Re: CCI SSL EA

Postby Apprentice » Mon Jun 06, 2022 9:40 am

We have added your request to the development list.
Development reference 328.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: CCI SSL EA

Postby wilson » Thu Jun 16, 2022 9:41 am

I am eagerly waiting for it. Hope to get it soon and perform a test to see how it goes.

Cheers :D
wilson
 
Posts: 5
Joined: Thu Jun 02, 2022 10:23 pm

Re: CCI SSL EA

Postby Apprentice » Wed Jun 29, 2022 7:57 am

328_pic.png

328_pic_setup1.png

328_pic_setup2.png

SSL_CCI_MA_RSI_EA.mq4
(89.68 KiB) Downloaded 282 times


Make sure you have ssl-channel-chart-alert-indicator.mq4 installed.
viewtopic.php?f=38&t=69212
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: CCI SSL EA

Postby wilson » Wed Jun 29, 2022 9:08 pm

Thank you Apprentice. I am very excited to see how this EA works. Will test and see. Truly appreciate this.
wilson
 
Posts: 5
Joined: Thu Jun 02, 2022 10:23 pm

Re: CCI SSL EA

Postby jollyjegan » Fri Jul 15, 2022 12:29 am

Apprentice wrote:
328_pic.png

328_pic_setup1.png

328_pic_setup2.png

SSL_CCI_MA_RSI_EA.mq4


Make sure you have ssl-channel-chart-alert-indicator.mq4 installed.
viewtopic.php?f=38&t=69212


Thanks Apprentice.. good effort ..
jollyjegan
 
Posts: 18
Joined: Thu Jul 14, 2022 11:45 pm

Re: CCI SSL EA

Postby DVengeance » Thu Aug 18, 2022 7:23 pm

Hi,

It does not seem to work, I get a critical error message - see atached.

Also, could I request the following additions:
- ATR based Sl/TP - ability to adjust ATR period and Multiplier
- Option for Reverse trading - Shorting on a Buy signal and Buying on a Sell signal

Thanks
Attachments
critical error on EA.JPG
DVengeance
 
Posts: 9
Joined: Thu Aug 18, 2022 7:14 pm

Re: CCI SSL EA

Postby Apprentice » Fri Aug 19, 2022 4:38 am

We have added your request to the development list.
Development reference 500.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next

Return to MT4 Expert Advisors

Who is online

Users browsing this forum: topntown and 17 guests