CCI SSL EA

Custom MT4 expert advisors published here.

Moderator: admin

Re: CCI SSL EA

Postby Apprentice » Sat Apr 01, 2023 9:13 am

274pic.png

ssl-channel-chart-indicator.mq5
(7.13 KiB) Downloaded 102 times

SSL_CCI_MA_RSI_EA_v2.mq5
(73.07 KiB) Downloaded 97 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: CCI SSL EA

Postby DVengeance » Sat Apr 01, 2023 6:33 pm

Hey,

That was quick, but unfortunately it failed on my first most basic test - just SSL with TPSL, however, no matter what number of pips I enter, the EA uses something completely different - 200 points TP and 400 SL. Just seems to close the positions out of nowhere on the same or next candle.

*Could you also include a Time Range filter (hhmmss - hhmmss)?

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

Re: CCI SSL EA

Postby Apprentice » Mon Apr 03, 2023 7:48 am

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

Re: CCI SSL EA

Postby Apprentice » Sun Apr 23, 2023 2:53 pm

289_Review_pic.png

SSL_CCI_MA_RSI_EA_v3.mq5
(73.14 KiB) Downloaded 107 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: CCI SSL EA

Postby DVengeance » Sun Apr 23, 2023 6:32 pm

Hi,

Upon basic testing, it is behaving strangely again. I have literally only set the SSL as entry, one MA for a filter, fixed lot of 1 and TP and SL at 800 points, time filter of 2 hours.

So as per my settings, positions should only close upon reaching TP or SL.

However, the EA closes some positions prematurely at the next candle open.

If the next candle is against the position it closes the position almost always, which is not in any of the closing conditions in the inputs.

Also, the Account Percent lot option does not work - I get an invalid volume error on the above mentioned settings. I looked through the code, seems to be missing the userSLpips from the calculation and also SYMBOL_VOLUME_MIN and SYMBOL_VOLUME_MAX.
Attachments
premature closure.JPG
premature closure2.JPG
premature closure3.JPG
DVengeance
 
Posts: 9
Joined: Thu Aug 18, 2022 7:14 pm

Re: CCI SSL EA

Postby Apprentice » Sun May 07, 2023 3:35 am

SSL_CCI_MA_RSI_EA_v4.mq5
(73.38 KiB) Downloaded 109 times

Try this version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Previous

Return to MT4 Expert Advisors

Who is online

Users browsing this forum: No registered users and 12 guests