Page 5 of 11 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 102
  17 17 Attachment(s)    

Thread: Cumulative MA Hedge EA

  1. #41

    Default

    Quote Originally Posted by carlscott1982 View Post
    Another in my long line of questions about this EA (sorry):

    If I wanted it to trade once at the start of each 4 hour TF candle, instead of putting in frequent trades as soon as the last trade closes as it seems to be doing now, what setting would I adjust?

    Best regards, as always,

    Carl
    In general: If you do not want frequent trades within one H4 candle you can set pipstep to a higher level.
    Not sure if it is possible to set it to trade only once per candle, but maybe you can try "addpos" to false and test what it does.
    I also see a setting "usefirstpipstep" and "firstpipstep" probably this should avoid that it places a new trade right after the previous closes and wait for the "firstpipstep" distance, but it seem that this function has no effect as far as i tested it, does playing with this setting change anything for you?
    Last edited by CycleTrader; 08-24-2010 at 09:21.

  2. #42

    Default

    Hi cycletrader, thanks for the info. When it takes profit it usually means that the pairs are a bit out of their usual alignment and opening a new position straight away just seems like a bad place to jump back in. But that needs more testing I guess. At any rate, I need to turn the countdown timer off, because sometimes it opens a position only to have it closed straight away as the candle ticks over. Add positions is currently off and pipstep isnt quite the solution Im looking for.
    I think an on/off setting that allows it to place one trade, beginning of each candle, would be good.
    Id like to run a forward test with it trading at default, and another one with 1 trade per candle and countdown timer on.

  3. #43

    Default

    Oh by the way, Ill see if firstpipstep option works. *just as soon as my broker's servers are back up - been down for the last two hours and I had live trades in as well. Not cool*

  4. #44

    Default

    Quote Originally Posted by carlscott1982 View Post
    When it takes profit it usually means that the pairs are a bit out of their usual alignment and opening a new position straight away just seems like a bad place to jump back in. But that needs more testing I guess.
    The basic trading principle for this EA is that it immediately places trades and add positions at grid distance (Pipstep) until it can take it's profit. So after takeprofit we just start fresh and would not really matter if we do this immediately after a previous close. On the other hand, i agree with you that when the pairs have a certain minimal deviation, and we first wait for that minimum, it could be a better moment to start a new grid trade, but i can't overlook if this theory is practical effective when combined with the basic trading principle, perhaps Funyoo has an opinion about this.

    Quote Originally Posted by carlscott1982 View Post
    At any rate, I need to turn the countdown timer off, because sometimes it opens a position only to have it closed straight away as the candle ticks over. Add positions is currently off and pipstep isnt quite the solution Im looking for. I think an on/off setting that allows it to place one trade, beginning of each candle, would be good.
    Yes, and because it "random" start its trades it would maybe better if your timer function is not referring to candle ending but rather timing from the actual trades paced. Simultaniously we must watchout that we do not destroy the basic grid principle otherwise it become a complete other type hedge EA, then maybe good to create a new thread for it.
    Last edited by CycleTrader; 08-25-2010 at 12:01.

  5. #45

    Default

    Thanks for the advice as always Cycletrader. You're right, best not to change the basic premise of the grid trading

    A couple of things: Even with countdown timer off, I still noticed all my trades closed out on 4:00 (new candle) on the dot, regardless of profit. It might be something else I did wrong, but just to check, looking back at your history of trades, does anything seem out of the ordinary at all?

    2nd thing: Im running (USDCAD and AUDUSD) and (USDCHF and EURUSD) on the same platform to compare and they like to crash unfortunately (only running the EA on one of the charts in the hedged pairs this time!). Hmmm...is this just a limitation of MT4, or is there some coding magic that can stop this happening? (the crashing may actually be the cause of point 1, above).

    Yep, your idea for the timer function is best. If TP conditions are not resolved after x hours from trade entry, then close both positions.

    The EA was working great for most of today, taking profit a couple of times every hour pretty much. Well worth the time that is being put into it.

    Regards,

    Carl

  6. #46

    Default

    Hi Funyoo,

    Although we have the hedge function that protects us for strong trending periods against us, would it also be possible to have an option to make the placement of additional "grid" orders even smarter? For instance, now it places additional "grid" orders with a fixed distance (pipstep). In strong trending periods against us it would be smarter if it would widen this pipstep or even place additional orders only at certain overbought/oversold areas in strong trending up/down. (For instance OB/OS based on CCI indicator) Whats your opinion?

  7. #47

    Default

    Dear Funyoo

    Is it possible This EA run like this

    1st. charting
    EURUSD = lot size---->1.0 USDCHF = lot size 2 -->1.3

    2nd Charting
    EURUSD = 1.3 usdchf = 1.0

    The rules
    1.No need initialize to start, when we on EA straight forward both charting working. Set TP

    2. Since no hedging same currency buy and sell, It will follow buy at the same currency.
    Means buy EURUSD first chart, 2nd chart also BUY. But put option buy and sell true, because certain broker allow the same currency hedging.

    3.The important Is Chart no1 will analyze only chart no1 pair and close the profit for chat no 1 only
    and Chart no 2 will only analyze chart no 2 pair and close the profit according to chart no 2 only.
    I don't know if this can work or not but I try this EA for 2 chart is error since I use the same currency, only lot size are different.

  8. #48

    Default

    Dear friends

    I am using cumulative MA hedge EA V 1.01. It is interesting.

    But

    IN IBFX look ok- it running eg. EurUSD lot size 1.0 USDCHF lot size 1.3 at certain level it will open lotsize 4 . Seem like to balance the currency. and almost work to close the order and ok

    But IN FXOPEN while running EURUSD lot size 1.0 USDCHF lot size 1.3, at certain level it repeat to open the same order again , I am using default setting for both broker, Any body know or facing the same problems. This keep repeat open order???

    Rgds

  9. #49

    Default

    Quote Originally Posted by zalinarashid View Post
    Dear friends

    I am using cumulative MA hedge EA V 1.01. It is interesting.

    But

    IN IBFX look ok- it running eg. EurUSD lot size 1.0 USDCHF lot size 1.3 at certain level it will open lotsize 4 . Seem like to balance the currency. and almost work to close the order and ok

    But IN FXOPEN while running EURUSD lot size 1.0 USDCHF lot size 1.3, at certain level it repeat to open the same order again , I am using default setting for both broker, Any body know or facing the same problems. This keep repeat open order???

    Rgds
    Hi Zalinarashid,
    I get the same thing unfortunately. When its working it does a great job, but randomly it will get stuck only opening the trade on one pair, or it will crash, or something else will go wrong.
    I think its just really unstable. I want to try running it live at just 0.1 lots with a 6 pip TP, but at the moment I dont trust it to function correctly.

    Rgds,
    C

  10. #50

    Default

    Quote Originally Posted by carlscott1982 View Post
    Even with countdown timer off, I still noticed all my trades closed out on 4:00 (new candle) on the dot, regardless of profit. It might be something else I did wrong, but just to check, looking back at your history of trades, does anything seem out of the ordinary at all?
    I currently don't have trades close out on 4:00, do you perhaps have another EA running that conflicts ? Otherwise just Install fresh on a new demo-account and eventualy another pc, also concerning your occurring crashes.


    Quote Originally Posted by carlscott1982 View Post
    Im running (USDCAD and AUDUSD) and (USDCHF and EURUSD) on the same platform to compare and they like to crash unfortunately (only running the EA on one of the charts in the hedged pairs this time!). Hmmm...is this just a limitation of MT4, or is there some coding magic that can stop this happening? (the crashing may actually be the cause of point 1, above).
    Try to set different magic numbers for both version 1.01 EA's.

Similar Threads

  1. Successful Trading Requires Cumulative Knowledge
    By painofhell in forum Trading discussion
    Replies: 9
    Last Post: 12-12-2017, 13:05
  2. EA cumulative
    By admp in forum Ideas for expert advisors
    Replies: 0
    Last Post: 12-15-2010, 15:09
  3. Cumulative MA EA
    By funyoo in forum Expert advisors backtesting
    Replies: 0
    Last Post: 03-19-2010, 22:36

Tags for this Thread

100, alpari, alpari uk, automatic, average, backtest, broker, brokers, candle, change, closing, coding, copier, copy, correlation, demo, download link, ecn, eurusd, experts, forex, forex trading, forex4you, free, funyoo, fxopen, gbpjpy, grid, hedge, hedging, indicator, learn, live, magic, magic number, manual, markets, metatrader, mq4, mt4, nzd, online, pairs, profit, profitable, request, scalper, scalping, signal, simple, stop, strategy, system, systems, test, thank you, time, timer, trader, trading, usd

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •