Сommunication anyone interrested turning this into a Semi-Ea

Discussion in 'Free communication on a variety of topics' started by DjFx, 23 August 2023.

  1. Dasio86

    Dasio86 Member

    Joined:
    22 November 2022
    Messages:
    106
    Likes Received:
    14
    Trophy Points:
    18
    Ok.
    I will start to code something.
    Let's start and we fix all in the way.
    I think the best way is starting test it.
     
  2. DjFx

    DjFx Active Member

    Joined:
    16 August 2020
    Messages:
    474
    Likes Received:
    61
    Trophy Points:
    28
    Gender:
    Male
    yes, just start with the first cycle without the inner hedge. see how that functions.
     
  3. DjFx

    DjFx Active Member

    Joined:
    16 August 2020
    Messages:
    474
    Likes Received:
    61
    Trophy Points:
    28
    Gender:
    Male
    keep checking his videos on youtube. last video he explains more.. on what will happen if you have 2 buy orders,1 sell ..etc
     
    Jangg likes this.
  4. Dasio86

    Dasio86 Member

    Joined:
    22 November 2022
    Messages:
    106
    Likes Received:
    14
    Trophy Points:
    18
    So i start to test the EA. I have a question if the trader for the full hedge is triggered but after that the price start turning in the direction of the first opened position the EA must remove all the TP and SL of the initial position right? Cause for the strategy the "starting" trades musn't have a SL or TP. Right?

    Attached there is what I did for strarting the Hedging system.
    In every position, that are not being hedged, the EA put a button. If clicked the button it put the necessarty pending order based on the settings
     

    Attached Files:

  5. DjFx

    DjFx Active Member

    Joined:
    16 August 2020
    Messages:
    474
    Likes Received:
    61
    Trophy Points:
    28
    Gender:
    Male
    1st inital trade has a hedge as stop loss and a TP /trim level you can set default 40 pips. when the hedge gets activated it also has a tp/trim level at 40 pips(default)

    and that stays until one of the tp/trim level is hit. or you entered an inner hedge
     

    Attached Files:

    Jangg likes this.
  6. DjFx

    DjFx Active Member

    Joined:
    16 August 2020
    Messages:
    474
    Likes Received:
    61
    Trophy Points:
    28
    Gender:
    Male
    i will try or let someone put something better on paper. will take a few days
     
    Dasio86 likes this.
  7. satya

    satya Active Member

    Joined:
    7 December 2019
    Messages:
    201
    Likes Received:
    43
    Trophy Points:
    28
    Gender:
    Male
    I am also interested
     
    DjFx likes this.
  8. DjFx

    DjFx Active Member

    Joined:
    16 August 2020
    Messages:
    474
    Likes Received:
    61
    Trophy Points:
    28
    Gender:
    Male
    @Dasio86 how is programming going. hopefully by tomorrow i got something on paper. hopefully it helps.

    many programmers find it hard to program. got quotes from 200-250 for mt4 and up to 400 for mt5. so it might be trick to program
     
  9. Jangg

    Jangg Member

    Joined:
    23 May 2023
    Messages:
    46
    Likes Received:
    3
    Trophy Points:
    8
    I'm in
     
    DjFx likes this.
  10. DjFx

    DjFx Active Member

    Joined:
    16 August 2020
    Messages:
    474
    Likes Received:
    61
    Trophy Points:
    28
    Gender:
    Male
    i had someone try to put something on paper but it was not exactly what i asked for.

    make the base of the EA .than we can talk what is right or wrong
     
  11. Dasio86

    Dasio86 Member

    Joined:
    22 November 2022
    Messages:
    106
    Likes Received:
    14
    Trophy Points:
    18
    I started programming the basis. Tomorrow or the day after i will upload a basic EA to test and start implementano with the hekp of the community
     
    DjFx likes this.
  12. satya

    satya Active Member

    Joined:
    7 December 2019
    Messages:
    201
    Likes Received:
    43
    Trophy Points:
    28
    Gender:
    Male
    Thank you , we will work togethe rin this forum to make it a better Semi automatic tool
     
    DjFx likes this.
  13. DjFx

    DjFx Active Member

    Joined:
    16 August 2020
    Messages:
    474
    Likes Received:
    61
    Trophy Points:
    28
    Gender:
    Male
    the guy in the video said is what he does os just a guide. so we could improve on it for sure. even adding a strategy.

    lets see if Dasio can work it out.
     
  14. Jangg

    Jangg Member

    Joined:
    23 May 2023
    Messages:
    46
    Likes Received:
    3
    Trophy Points:
    8
    Looking at his video, I think it is not straight forward algorithm, because he is opening new position, when I would trim.
    We need to have consensus how we want EA to work.
    My approach would be to open initial position. Then I would trim and squeeze until fully close, do not add more open hedges.

    I'm not sure if you guys see it the same or want to play never ending hedge story?
     
  15. Dasio86

    Dasio86 Member

    Joined:
    22 November 2022
    Messages:
    106
    Likes Received:
    14
    Trophy Points:
    18
    Sorry guys. I had some issue with my pc. I will code from now
     
  16. DjFx

    DjFx Active Member

    Joined:
    16 August 2020
    Messages:
    474
    Likes Received:
    61
    Trophy Points:
    28
    Gender:
    Male
    when he trims, you need to open a new position as well.

    i think you need to add an inner hedge to fully close a trade,if both buy and sell gets triggered(hedged).

    for me. it testing out how to get out of the hedge sooner then later. but the money is made with the trades that goes straight into profit without getting hedged.

    for example: let's say you have a strategy thats has 50/50 win/loss and 1:1 risk reward. now if you can hedge and trim the losses to a partial loss inplace of a full loss. you have a winning system now.

    alot to test out.

    @Dasio86 if you don't have time or problems. we could hire a programmer to make the base and get the source code and you can make adjustments to it.
     
  17. DjFx

    DjFx Active Member

    Joined:
    16 August 2020
    Messages:
    474
    Likes Received:
    61
    Trophy Points:
    28
    Gender:
    Male
    give an example on a chart. squeeze i think can be programmed in to do it automatically. what ideas or improvements do you think are needed.
     
  18. alexsandrkg

    alexsandrkg Member

    Joined:
    15 August 2023
    Messages:
    101
    Likes Received:
    5
    Trophy Points:
    18
    Gender:
    Female
    Заинтересовало, для теста могу предложить тесты 48 ядер если нужна будет оптимизация.
    Постораюсь накидать на бумаге что да как.
     
    DjFx likes this.
  19. DjFx

    DjFx Active Member

    Joined:
    16 August 2020
    Messages:
    474
    Likes Received:
    61
    Trophy Points:
    28
    Gender:
    Male
    translated with google:

    Interested, for the test I can offer tests of 48 cores if optimization is needed.
    I'll try to throw on paper what and how.
     
  20. DjFx

    DjFx Active Member

    Joined:
    16 August 2020
    Messages:
    474
    Likes Received:
    61
    Trophy Points:
    28
    Gender:
    Male
    appreciate/ Оценили