Not logged in

Forums

Viewing 15 posts - 1 through 15 (of 35 total)

Forums>EA Wizard>General Discussion>how to make external variable?

  • #116496 |
    Customer
    30 Posts

    hi,

     

    i am a new user of ea wizard. would like to ask how to make an external variable of lets say aligator(to change the parimeter of jaw, teeth and lips)? and how to make an external variable when to active where price from below touch jaw or teeth or lips and we sell and vice versa. thanks in advance

    #142119
    Moderator
    2349 Posts

    Hello,

     

    do you mean you want to change a variable value while EA is already active and running?

    #142128
    Customer
    30 Posts

    hi tomas,

     

    no, not when ea is already active and running, but in the process of making the ea with ea wizard.

    there are  two questions:

    1. how to make external variable to change the lips or jaws or lips and their shift.

    2. how to make external variable to choose which one we want to active (either jaws or lips or teeth ) when price for example from below going up and touch the indicator and we open sell order. 

     

    thanks

    #142161
    Moderator
    2349 Posts

    Hello,

     

    here is the example on how to use variable to use long or/and short trades and how to define shift using a variable. Let me know if any questions

    Attachments in this forum are visible only for registered users.
    #142176
    Customer
    30 Posts

    thanks tomas, will ask many question

    #142240
    Customer
    30 Posts

    hi tomas, here another question, 😀

     

    i make a simple ea based on aligator.  the strategy is “enter sell at  market if price cross above jaws of aligator and boolean is true  and exit market if next candle close higher than open”

    but the result turn out ugly.

    1. how to open only 1 trade after the price cross above jaws and close only after  next candle close higher than open? (right now the ea open and close at the same time and so many times 🙁 .

    2. how to activate variable boolean is true?

     

    here i attach sample of ea i made. please correct and advice. thank you alot.

    #142241
    Customer
    30 Posts

    here is the file. thanks

    Attachments in this forum are visible only for registered users.
    #142248
    Moderator
    2349 Posts

    Hello,

     

    check the modified file attached

    Attachments in this forum are visible only for registered users.
    #142253
    Customer
    30 Posts

    thanks tomas, will check it

    #142279
    Customer
    30 Posts

    hi tomas, i ve check dan run ea into mt4. come out many “order failed, error 134. and other is exit not exacly we program. it open and close at the same time rather than close if next bar close > open (ea not close if next bar close open) in this case our order is sell. 

    please advise where should i change. thanks

    #142291
    Moderator
    2349 Posts

    Hello,

     

    we need to add “isbaropen = true” into the close condition. It should exit as you need. See file attached

     

    Error 134 means “No Enough Money”. Does this happen when backtesting?

    Attachments in this forum are visible only for registered users.
    #142346
    Customer
    30 Posts

    thanks tomas, will check it 🙂

    #142347
    Customer
    30 Posts

    Hello,

     

     

    Error 134 means “No Enough Money”. Does this happen when backtesting?

    yes it happen when backtesting. this error doesnt come out anymore but new one come  😀 “test generator:unmatch data error(volume limit 12065 at 2017.03.13.00.00 exceeded)

    and  what is the different if we tick true or false “support ECN brokers”. thanks

    #142355
    Moderator
    2349 Posts

    Hello,

     

    you can try to re-download M1 data in your MetaTrader. This error is related to data mismatch (volume).

     

    With ECN brokers the profit-target and stop-loss are set slightly different way which is why there is the “switch” inside every EA generated 

    #142588
    Customer
    30 Posts

    hi tomas,
    i try to make another ea:D . the rule is buy if rsi < 25. how to open the second or third trade if price is still 75. thanks. attactment is sample i make

    Attachments in this forum are visible only for registered users.
Viewing 15 posts - 1 through 15 (of 35 total)

You must be logged in to reply to this topic.