4HR 5EMA Expert Advisor
1 2 3 ...

thread: 4HR 5EMA Expert Advisor

  1. #1

    4HR 5EMA Expert Advisor

    1 Attachment(s) ** Current Version 1.6 **
    This EA is based upon the principles in the 4HR5EMASystem post loed at https://www.cliqforex.com/general-fo...day-trade.html

    This EA is still in the works so please feel free to state what you think could make the EA work easier.

    Things I do not want to do.Insert more Indiors Or what

    Should you find a problem with the EA please post a snapshot with a description of what is happening or what should be happening. Thanks

    Settings
    Please do this EA over the 4HR time period and if backtesting with enough data to offer valid entry and exit points to the machine.

    CloseOrder - set to false when trading but in theory should beable to put this to true during live trading to close all open trades for shutdown. Not tested.

    Lots - Lots dimensions

    ** Removed MaxRisk - Max Risk per transaction ex. 0.02 only use 2% of account for purchase of lots.

    PipsPastSignal - Pips beyond the signal Low or High to Initiate Reversal Bar Trade.

    PipsPastSL - Pips beyond the Signal Bar for Buy/SellStop and the SL for this order.

    PipsPastEMA - Pips beyond the EMA for a valid Signal Bar

    EMAPeriod - The Period to your EMA

    MAGICNUMBER - the Exceptional number for the orders of this EA
    https://www.cliqforex.com/trading-sy...ng-system.html

  2. #2
    I have been recieving feedback that the principles aren't being follow? If you become aware of this could you please post a photo with a description of the principle not followed. Please help make this EA profitable.

    Thanks.

  3. #3
    Hi!

    Is your EA works on M1 Timeframe? I think testing low TF is your testing method that is fastest.

    Regrettably your EA is lacking a lot of buying and selling opportunities; following testing period I'll send You screenshots.

    Than You

  4. #4
    Oh sorry about that it ought to run on the 4 hr timeframe. With each tick.

  5. #5
    Hi!

    This is actually the first bizarre trade.

    I think the first bar is a set up pub. The next is a reversal one. The setup pubs is 1,5473 so it's a buy at 1,5473 but the ea is not buying at this point. The ea purchased at 1,5554 (sell stop at 1,5197). I dont know it.
    The third bar is a set up pub again, ist high is 1,5703, the 5ema high is 1,5688. The following one is a reversal bar. It must be a brief here but nothing occurs.


    Thank You

  6. #6
    Hi!

    That is a lost commerce opportunity: the very first bar is a set up pub and the next is a reversal but no transaction.

    Thanks

  7. #7
    1 Attachment(s) @ Sheenka,
    Thank you for your help I believe this fix will correct alot of issues.
    Hi!

    That is a lost trade opportunity: the first bar is a setup bar and the second is a reversal but no transaction.

    Thanks
    I think I found out what's going wrong here. My charts utilize and extra digit in the end so rather than getting 0.5317 I'd have 0.53178. I've altered the code. In case you've got an extra digit like me or 5 digits you can just add a zero instead of 5 it could be 50 for the pips.
    https://www.cliqforex.com/trading-sy...s-signals.html

  8. #8
    Backtesting this variant shows promise since it does not have any cash management built in besides the risk management that seems to do more damage than good because of this particular system as is.

    I'd like to get some input to get a cash management system that might help make this EA profitable.

    I purpose that we utilize a lot higher than 0.1 therefore we can close half the order at a specific amount profit. This will raise the drawdown but will provide overall superior performance I think.

    If anyone else has any ideas feel free to share.

    https://www.cliqforex.com/general-fo...rs-affect.html

  9. #9
    Hello,

    I do not examine EA for now, but take a look at source - it looks good - and have some remarks.

    1. It looks you don't apply additional rules from post 1 4H5EMA thread (1 to 3).

    2. Back in CheckForOpen() You compute both ema every tick - it is not essential, it is enough to compute it once for 4H in something like his


    if (Time[0]! =dtBarTime)
    dtBarTime=Timing [0];
    emaHigh = iMA(NULL,0,EMAPeriod,0,MODE_EMA,PRICE_HIGH,1);
    emaLow = iMA(NULL,0,EMAPeriod,0,MODE_EMA,PRICE_LOW,1);


    dtBarTime ought to be datetime and emaHigh and emaLow ought to be global var in this circumstance.

    If you utilize just one EA it isn't problem but should you use many of it it's important to maximize terminal usage - it ought to be quicker in backtests too.

    3. You make commerce with market orders (except rev trade) it is ok but in fast market eg news, it could generate large slippage (terminal do not react as fast as brokers servers). It isn't big problem but one ought to recall this especialy when testing system (sterling use stop orders). Using Stop orders could be little more complied.

    Unfortunately I'm very busy now but hope I will find some time to test this EA maybe tomorow.

    I enjoy this egy and your job.

    Regards,

    Andrew

    P.S. Sorry for english, it isn't my primary language.

  10. #10
    Junior Member gandano02's Avatar
    28
    Does it take some history until it gets a face and the material in the left disappears. . I have checked let reside trading etc.. .

  •