Forex Zone - Forex Forum

Simple system

Discussion started on New EA Coding

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
It is a great challenge.
I am nearly finished with the EA, the closing of orders are much clearer now. Just to let the EA see what we see ;)
#46 - January 13, 2019, 01:05:15 AM

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
Just an update, I am nearly done with the EA.
If you see me post other stuff on the forum, it's not because of priorities, it's just sometimes this tiny mind needs a break from the same "project" , if I get back to it, then I don't feel like :o anymore
#47 - January 14, 2019, 08:56:43 PM

  • Jr. Member
  • Posts: 62
  • Points: 0
  • Likes Received: 14
  • Reputation: +1/-0
Hey francois,

I understand that you have other things to do, I'm grateful for all your help.
#48 - January 14, 2019, 09:56:02 PM

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
And I'm back.
I've have the EA to work quite well, here was a situation which I thought will definitely occur, please look at the attached image, and advise.
#49 - January 14, 2019, 11:52:46 PM
Attachments:
« Last Edit: January 15, 2019, 12:07:00 AM by Francoisvs »

  • Jr. Member
  • Posts: 62
  • Points: 0
  • Likes Received: 14
  • Reputation: +1/-0
Hi, the situation is to be expected regularly... All buys and all sells active and a loss locked in. It will fix itself as it breaks out one way or the other because as soon as it's x pips away then the furthest opposite market order is closed and replaced with a pending order. 

is that what you mean? T
#50 - January 15, 2019, 12:26:02 AM

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
OK. I will see how I can try to explain that to something without a brain.(I am referring to a computer, lol)

#51 - January 15, 2019, 12:39:07 AM

  • Jr. Member
  • Posts: 62
  • Points: 0
  • Likes Received: 14
  • Reputation: +1/-0
Yes, I realize that the strategy has some unusual components... I developed the system a while ago and although I had success with it I gave up on it due to the labor intensive demands it made ie. constant input and monitoring. I originally tried finding other ea's and having then work on different charts to combine together to do the job but I simply couldn't find anything that did what your ea is going to do... I think you are going where no coder has gone before. You're a very patient guy trying to understand it and I do appreciate it.
#52 - January 15, 2019, 01:12:44 AM

  • Jr. Member
  • Posts: 62
  • Points: 0
  • Likes Received: 14
  • Reputation: +1/-0
Hi master4x, I notice that you are taking an interest in the system... I have found in the past that people tend not to believe in purely mechanical, non traditional, no indicator strategies. Have you any experience with this type of system or similar? I'm always experimenting and looking for ways to improve it if you (or anyone else) has any suggestions. T
#53 - January 15, 2019, 03:20:16 AM

  • Newbie
  • Posts: 37
  • Points: 0
  • Likes Received: 15
  • Reputation: +0/-0
Hi master4x, I notice that you are taking an interest in the system... I have found in the past that people tend not to believe in purely mechanical, non traditional, no indicator strategies. Have you any experience with this type of system or similar? I'm always experimenting and looking for ways to improve it if you (or anyone else) has any suggestions. T
Hi. I was going to wait until the next updated ea is attached before I test it. Ill give you any feedback if I have any. I like the concept of no indicators. That's great.
#54 - January 15, 2019, 04:58:43 PM

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
The new version is nearly ready to be posted. 
I have it closing trades , but I am not happy with some of the order modifications and order closes.
#55 - January 15, 2019, 06:36:35 PM

  • Jr. Member
  • Posts: 62
  • Points: 0
  • Likes Received: 14
  • Reputation: +1/-0
What are the issues?
#56 - January 15, 2019, 07:39:17 PM

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
It is currently closing sell orders which were filled before the market reached the desired level.
I need to recheck my loops, order counters and closing parameters.

#57 - January 15, 2019, 09:07:38 PM

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
Just another update.
I am spending a lot of time on this EA.
I've changed the order entries, to only place one order at a time, as per your original post, it seems to work better than placing all the orders at once when it comes to modifying the order price etc.
Give me a bit more time, I am working on it.
#58 - January 17, 2019, 12:01:36 AM

  • Jr. Member
  • Posts: 62
  • Points: 0
  • Likes Received: 14
  • Reputation: +1/-0
Ok francois, no problem at all... Thanks.
#59 - January 17, 2019, 12:40:39 AM

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
Tony,
Please review the new modified version.
Mainly check the order modifications, you can open as many orders as you want, I tested it to 10 per side, and it seems as if it does what you asked, but it gets a bit cluttered because I have disabled the order close functions. I have the closing done about 80%, but if you need something changed in the placing and modifying of stop orders, it will change a couple of lines. So I need your input here before I continue.
As an added feature I've added an "Auto X_Diff" calculator.
It takes the highest high of the Diff_Bars and subtract the lowest low of the same range, that difference is then the X_Diff.
The "Auto Diff Calculator" must be selected as "true" for it to work.

Waiting to hear from you
F
#60 - January 18, 2019, 05:15:38 PM
Attachments:

Members:

0 Members and 2 Guests are viewing this topic.