Need Help with My EA ...
Page 1 of 732 12 LastLast
Results 1 to 10 of 317

Thread: Need Help with My EA ...

  1. #1
    1 Attachment(s) From this thread

    Quote Originally Posted by ;
    Having noticed what you did majestically with Ding Dong. I am humbled and I beg you to please take this my attached EA and include the necessary command lines to enable the EA perform as follows:

    When any Order is started, start 7 Pending Orders at varying amount of pips and lots as well.
    Quote Originally Posted by ;
    i.e.. If the EA opens a Buy Order, the EA should also open 7Nos of Pending Buy Orders at PB1, PB2, PB3, ..., together with LOT1, LOT2, LOT3, ... respectively, at distinct supplied number of pips lower than the minute implemented open buy order. All shall have the exact same TP SL points and all unactivated pending order should be cancelled immediately the TP is struck. Same for Orders.
    Okay so, which TP did you want it to hit? The TP on the initial order or, TP on the order opened? I currently have it set up for the TP, which is likely what you do not want.

    I haven't had a chance to test it yet (not even sure what it's supposed to do?) , so I'll let you have a look.

    Good luck!

    ETA: needed to alter because wrong factor given for Same Lots value. Should work either way though ...
    https://www.forexsoutheast.asia/fore...p-journal.html

  2. #2
    Quote Originally Posted by ;
    This EA really intends to use this drawdown space to reap more profits, because market price would nevertheless eventually come back to the initial order OPT1 goal profit.
    What, do you mean like six months later? I'm looking at the Euro right now and it is down points since early last December. That is the reason why I have suspended trading, for now, because I employed a similar methodology, and really do quite great, until this occurred. Basically I lost all that I made over the past two weeks and then some. So I figured I come up with another egy, and had better quit.

  3. #3
    Oh, if you need all of the lot sizes to be the exact same enter Same Lot for Buy or market, and there's no requirement.

    The same holds for the spread values. If you'd like the orders spread you only have to input Same Spread value.

  4. #4
    Quote Originally Posted by ;
    Oh, in case you need all the lot sizes are the same just enter Same Lot for Buy or market, and there's no need to fill in the rest.

    The same goes for the spread worth. If you want the orders spread equally aside, you have to enter Spread worth.
    Many thanks to you Angel ecTrade.
    I'm still running tests on it and its doing well. The problem remains that the pending orders do not come onboard/get completely implemented.

    I found out that it truly attempts to open the limit pending orders but because of the Ordersend mistake 4107 invalid stoploss/targetprofit for Ordersend function per command line for opening the limit pending order, it couldn't.

    Please ecTrade is it feasible for you to find time to fix this one.

    Thanks a lot.

    D8D3.

  5. #5
    Well, I was looking at the initial StopLoss at the EA and it's set awfully high in 24000. So, this is what is causing that error. It looks like whoever wrote that the EA didn't mean to utilize it. If that's the case, it would have been just as easy to set it , none in any way. If so, I don't think there would be a mistake.

    As with this other error, I don't know? I don't generally refer to the error log when working on EA's. I just tend to grind away at it. Perhaps now's the time to begin? I will take a look at it should I get a chance.

    Although I just modified it and set all of the StopLosses to 0 so, you may want to take a look at that. Perhaps this is what is causing the other problem?

  6. #6
    Quote Originally Posted by ;
    Well, I had been looking at the initial StopLoss in the EA and it is set awfully high in 24000. So, this is what's causing this error. It looks like whoever wrote that the EA didn't mean to utilize it. If that is true, it might have been just as simple to set it to 0 or, none in any respect. Then I do not believe there could be a mistake if this is so.

    As for this other mistake, I do not understand? I do not generally refer to the error log when functioning on EA's. I just tend to grind away at it. Perhaps now's the time to start? If I get a chance, I will take a peek at it...
    Thanks in countless angel ecTrade. I just finished running an extremely complete test on the EA. Your generous actions so far on it's giving us a headway. By the outcomes of the evaluations, I've found it quite necessary to give the functioning situations of this EA as follows:

    If the condition for opening a trade be fulfilled in almost any currency pair, then a trade is opened eg. In 0.98765. So lets call the opened commerce at 0.98765 = OPT1.

    Lets say that OPT1 is a buy order that opened at 0.98765 with its targetprofit in 0.98800.

    What this EA should do, would be to besides launching the OPT1, it should also open pending buylimit orders of PB1, PB2, PB3, ..., PB7 (of which their interval/spacing as well as individual lot sizes should be entered by user - me like).

    If I've set the period of PB1 to be 5 and its own lot size as 0.03, period of PB2 to be 10 and its own lot size as 0.05, period of PB3 to be 15 and its own lot size to be 0.07 etc..

    This EA should then open pending buylimit order:
    PB1 in OPT1 - PB1 period (5) = 0.98760 with lot size of 0.03.
    PB2 in OPT1 - PB2 span (10) = 0.98755 with lot size of 0.05.
    PB3 in OPT1 - PB3 period (15) = 0.98750 with lot size of 0.07 etc..

    Each of the opened pending buylimit orders should have exactly the identical targetprofit (0.98800) of the initial opened commerce OPT1.

    Then immediately the targetprofit of all OPT1 is struck, all its opened pending order whether activated or not if all close/delete since the case relates.

    Therefore for every other OPTn, whether buy or sell, there ought to be applicable corresponding impending buylimit/selllimit orders opened with their corresponding targetprofits accordingly.

    I trust this clears the grey regions to permit you place this EA to break.

    Many humble greetings. Thanks angel ecTrade.

    Please assist me.

    D8D3.

  7. #7
    What's this a Martingale?

    Alright, I just modified it in order that all orders will close at precisely the exact same price. Additionally, I place the Same Lots variables to 0 as a default, as it looks like you want to put each order individually.

    The file was updated in the original post.

  8. #8
    Quote Originally Posted by ;
    What's that a Martingale?

    Alright, I simply modified it in order that orders will shut at precisely the same price. Additionally, I set the Same Lots variables to 0 as a default, as it seems like you wish to set each order individually.

    The document has been updated in the original post.
    Dear ecTrade, good morning. I've been with a task while the EA was running as an assessment.

    Well, its still nearly okay. I am only worried that sometimes, when it opens the initial trade/order OPT1 which also opens up the pending orders PX1, PX2 etc., when OPT1 profit target is hit, I found out that many occasions, the pending orders PX1, PX2 etc., are still left undeleted/closed.

    Please could you test again to eliminate this dilemma.

    This EA really intends to make use of the drawdown room to reap additional profits, because market price would still eventually return to the initial order OPT1 target profit.

    Please ecTrade, take a peek at my own EA again and see whether you were able to spot the cause of the problem and eliminate it.

    I am grateful.

    Thank you.

    D8D3.

  9. #9
    1 Attachment(s) Yes, there may be a struggle. I forgot which, after adding the same Take Profit or closing worth to the pending orders, I'd put it up using another method of deleting them ... that, I must have disabled at the moment. I am thinking there could be some sort of battle entailed, when two different mechanisms are trying to shut the orders at precisely the identical moment. Anyhow, it is now disabled.

    Hopefully you will have better luck now.
    https://www.forexsoutheast.asia/fore...ixthsense.html

  10. #10
    Quote Originally Posted by ;
    What, do you mean like six months afterwards? I'm looking at the Euro right now and it's down almost 1,700 points within the USD since last December. This is why I have suspended trading, for the time being, since I employed an identical egy, and really do good, until this happened. Basically I lost all that I made over the past two months and then some. So I figured I had better stop, and think of a different egy.
    I shall get back to you with all the test results.

    Thank you so much.

    D8D3.

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.