Not logged in
Viewing 12 posts - 1 through 12 (of 12 total)
  • #113914 |
    Participant
    29 Posts

    Hi, I would like to include candle length in my EA. I prefer that my entries are based on at least 5-pip length of the candle. Can anyone tell me which function in the EA wizard should I use? I would also need an example of it. Thanks in advance.

    #131200
    Moderator
    1559 Posts

    Hi,

     

    you can simply subtract high of a bar minus low of a bar or alternatively close minus open if it exceeds some value. See attached example where strategy buys if Close > Open and bar size from open to close is not bigger than 20 pips.

     

    Attachments in this forum are visible only for registered users.
    #131203
    Participant
    29 Posts

    I did the wrong command last time. Now I know. Thank you so much! I have one more question, can you provide me an example command for indicator angle?

    #131215
    Moderator
    1559 Posts

    Hi,

     

    angle indication can be setup like this (see attached file)

     

    Be aware that its usability very much depends on correct setting of the Coefficient parameter!
    The indicator angle that you see on the screen depends on the scale of the chart and timeframe, it is not possible to recognize this all by EA.
    The good Coefficient value for all price indicators like EMA, Bollinger Bands, etc. is 0.00005 (0.005 for JPY-based pairs).
    For indicators like CCI, the best value of Coefficient is around 25-50.

    Attachments in this forum are visible only for registered users.
    #131231
    Participant
    29 Posts

    Thanks a lot Tomas! Your sample will help me a lot. I’m finally done with my EA for Binary Options  :)

    #134416
    Participant
    81 Posts

    I have loaded your Angle.sqw file onto my platform but it does nothing. Could you please let me know what I am not doing in order to see something?

     

    I am new to angle’s and just trying to figure it out. Thanks in advance.

    #134420
    Moderator
    1559 Posts

    Hello Ryan, I will check it to be sure and let you know

    #134493
    Moderator
    1559 Posts

    I have loaded your Angle.sqw file onto my platform but it does nothing. Could you please let me know what I am not doing in order to see something?

     

    I am new to angle’s and just trying to figure it out. Thanks in advance.

     

    open attached file in EA Wizard and use ‘get code’ for signal indicator and save it into your MetaTrader / Indicators folder

    #134541
    Customer
    484 Posts

    I have loaded your Angle.sqw file onto my platform but it does nothing. Could you please let me know what I am not doing in order to see something?

     

    I am new to angle’s and just trying to figure it out. Thanks in advance.

    its an indicator, not an EA, make sure u save it to the right folder and open from the right folder in MT4.

     

    Hi,

     

    angle indication can be setup like this (see attached file…

    See *angle INDICATION*

    Hope helps…

    #134571
    Participant
    81 Posts

    Sorry for such a late response. Just getting back into town.

     

    The problem lied with my MT4 Platform. It has been giving me multiple problems and when i un-installed it and re-installed it, the problem was fixed. Thanks

     

    1 quick question though.

     

    When working in EA Wizard, when we are creating Trading Rules with multiple tabs, does it run through the tabs 1, 2 then 3 and so on?

     

    I ask because i have 2 separate EA’s where 1 EA doesn’t trade that much but almost has a 100% success rate and my other EA trades a good bit but with not as a good success rate. Would i be able to just create 1 EA where the 1st tab rules are with my slower EA then the 2nd tab rules has my other EA that trades more often? I ask because if the trade 1st signals the EA rules with the 100% success rate i would rather it take that trade first but if it doesn’t i would like it to then just take 2nd EA rules.. I think i am answering my own question but i was just wondering if the coding read the tabs in order as you create them?

    #134597
    Moderator
    1559 Posts

    Ryan, tabs are exported into EA code in the same order they are in Wizard so they are then evaluated in the same order in MetaTrader

    #134603
    Participant
    81 Posts

    I assumed that was correct, just double checking. Thanks

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.