Helps with lot size in EA
Page 1 of 846 123 ... LastLast
Results 1 to 10 of 57

Thread: Helps with lot size in EA

  1. #1
    Hi, I created an EA using FXPRO QUANT but I can�t get a particular condition to work. I want the lot size to increase in steps if the previous operation with that same magic number was won. And it�s restarted at the initial value if the operation was lost. Could anyone give me a hand? Believe in your analysis and keep the plan, don�t panic with the moves.

  2. #2
    I think it would be useful for you to share more specific details about how you want to calculate lots. When should they increase? How much? When to reduce? How? How and when to restart? Without that data, we can only guess what you need.

  3. #3
    Sorry, I forgot to attach the EA. I want the lot to double (either by fixed steps or multiplication)

  4. #4
    Change the "lot size" and the "lot step" as you like, compare it and try it.

  5. #5
    Thanks, but for some reason it's not working for me, bro. When I compile these errors, I get these errors: The statement of ''MagicIndex'' hides the global statement on line 19 It's missing to check the returned value of ''OrderSelect''' on line 232 Believe in your analysis and keep the plan, don't panic with the moves.

  6. #6
    Can no one really add that function to the EA? Believe in your analysis and keep the plan, don't panic with the moves.

  7. #7
    Maybe you could look for an EA that is already working well and modify it with the conditions you�re looking for. The code you have is not a good starting point, you can�t even run a sales order correctly. Also, you need to have operations in the history to start operating. I started cleaning it but honestly I don�t care to continue. It compiles error-free now, and the magic number is consistent in all functions (before it wasn�t.

  8. #8
    Here's another sign crossing EA. Double the lots when there's a winning streak. It's generic, you can buy, sell or both. It includes plenty of info for debug, so you can edit it yourself and adjust it as you like.

  9. #9
    Thank you very much, brother. I appreciate your help. You�re very close to what I asked for, only a minor detail is missing, I don�t know if it can be implemented or not. The EA you shared just doubles the lot in the second operation. The third one comes back to the minimum. I wanted it to continue to increase after every win, not to restart after one time. Believe in your analysis and keep the plan, don�t panic with the moves.

  10. #10
    Hello everyone, Does anyone have an indicator that allows placing multiple purchase/sale orders or limits on a chart? Thank you. The fool�s work exhausts it because he doesn�t know how to enter the city.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.