EA request for Simple Daily System -
1 2 3

thread: EA request for Simple Daily System

  1. #11
    Member Nighy's Avatar
    42
    Lcfxtrader,

    In order to code an EA correctly, I need rules.

    I think that the EA is doing exactly what I need it to do. But please know that a software works according to how the prerequisites are understood by the developer.

    By default, I write all my EAs to start commerce on the opening of a new candle by checking the former candle for the sign unless the rules state otherwise.

    Too, by default, my EA won't open commerce whenever there is a trade currently opened for a preceding sign and hasn't close out yet. The rules state, unless again.

    That implies, what this EA does is, it checks the former candle for fitting sign for buy or sell, then opens the place at the beginning of the current candle. So by taking a look at the charts, if you find a buy or sell arrow on a candle that is showing what you think is a sign, you should really examine the previous candle.

    So... kindly elaborate on your own rules.

    Btw, any issues with the dynamic position dimensions?

    Regards,
    Zen

    p.s., if you can provide me with some screenshots of where you think a wrong trade has happened, perhaps I can debug better.

  2. #12
    Zen,

    I will provide screen shots this day for the wrong transactions if some are entered.

    Rules for opening a position:

    Long in the open of the current candle if preceding candle indicates the following:

    candle shut is gt; SMA
    PSAR is under the candle once closed

    Short in the open of the current candle if preceding candle indicates the following:

    candle close lt; SMA
    PSAR is above the candle

    I don't have any comments to you regarding the position dimensions. I will let you know.

    Thank you for all your help.

    Lcfx

  3. #13
    Junior Member Ale21tt's Avatar
    16
    Zen_Leow lcfxtrader,

    Zen_Leow you're comparing Low[1]/High[1] against iSAR[1], in which it should be Close[1] against iSAR[1]...? Is this lcfxtrader?



    Ps: For demonion/study purposes, to not utilized for live trading/cash trading. Just to be run on Demo Account: https://www.cliqforex.com/attachment...2099761095.mq4

  4. #14
    Member Nighy's Avatar
    42
    lcfxtrader,

    you're comparing Low[1]/High[1] against iSAR[1], where it ought to be Close[1] against iSAR[1]...? Is this suitable lcfxtrader?

    Lucidlamp

    ps: For demonion/study functions, not to used for live trading/cash trading. Just to be conducted on Demo Account: Attachment 132379
    I thought he wanted the whole candle to be above or under the PSAR?

    So... Low[1] higher than iSAR[1] would indicate the whole candle is above the PSAR.

    And High[1] lower than iSAR[1] would indicate the whole candle is below the PSAR.

    In my understanding, we ought to NEVER use Close[1] to compare with iSAR[1] since it might result in having a wrong sign even if iSAR[1] actually lies within the preceding candle instead of above or below it.

    You understand what I mean?

  5. #15
    I will post a chart tonight and make it clear. It is very simple.
    Closed candle is above the SMA and PSAR is under it then entry long on open of another candle and just the opposite for a short.

  6. #16
    Junior Member Ale21tt's Avatar
    16
    you know what i mean?
    Zen_Leow,

    I do not...

    I do...

    I do not know exactly what I mean myself half the time for this matter...

    =-RRB-

    I'm sure the charts posted by lcfxtrader will explain for all...?

  7. #17
    This is an instance of the EA putting a brief commerce on the EUR/CAD that no transaction should have been taken. The main reason is because the candle did not close below the 200 SMA.

  8. #18
    Instance of a great trade. Candle closed above the 200 SMA. PSAR was under the candle.

  9. #19
    Zen,

    Let me know if you want anymore examples. Thanks .

    Thanks,
    Lcfx

  10. #20
    The money management seems to work after a reduction increasing the position size. To if it is reduced by it will need to confirm. See GBP/USD for the example.

  •