CCI SSL EA

Custom MT4 expert advisors published here.

Moderator: admin


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: 36914
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


Previous

Return to MT4 Expert Advisors

Who is online

Users browsing this forum: Bing [Bot] and 42 guests