Divergence Trader EA - made long time ago by Ron Thompson
Page 1 of 842 12 LastLast
Results 1 to 10 of 17

Thread: Divergence Trader EA - made long time ago by Ron Thompson

  1. #1
    Dear colegues,

    I want to discuss here about a concept I found on the website http://www.lightpatch.com/forex, particularly concerning Divergence Trader EA http://www.forexmt4.com/_MT4_Experts...nce Trader.mq4. I examine this robot because January and the outcomes on H1 are amazing! On other TFs everything was enormous reduction. You can look here: https://www.forexforum.co.za/general...realistic.html

    Largely, this robot assesses that the divergence between SMA 88 and SMA 7 (Both with price available ). The formula is

    Inserted Code DVBuySell=0.0011; DVStayOut=0.0079 ------------- maF1=iMA(Symbol(),0,7,0,MODE_SMA,F_Price,0); maS1=iMA(Symbol(),0,88,0,MODE_SMA,S_Price,0); dv1=(maF1-maS1); maF2=iMA(Symbol(),0,7,0,MODE_SMA,F_Price,1); maS2=iMA(Symbol(),0,88,0,MODE_SMA,S_Price,1); dv2=-LRB-(maF1-maS1)-(maF2-maS2)); yield (dv1-dv2);
    ( I think it's a mistake, because finally (maF2-maS2) is returned , it signifies difference between preceding values of SMA7 and SMA88 - for the people doesn't understand MQL)

    I created a histogram that reflects the signals for transactions given from the EA. I believe this is the best way to visualize the situation.

    I put also a modified histogram to ignore reversals, because the original may buy on market and falling on uptrend. . .at least for a while, I do not consider a good thing.

    I'm testing both versions.


    if I find here enthusiasts that would like to test and try different values of SMAs, or to make any adjustments, I'm open to execute. . .maibe we can make it better...
    it's a lot of work, and also therefore what I advice you to alter:
    1.
    Fast_Period=7;
    Fast_Price =1;

    Slow_Period=88;
    Slow_Price = PRICE_OPEN;
    you can try to change values of periods, and also of price applied ( see values below):
    PRICE_CLOSE=0
    PRICE_OPEN =1
    PRICE_HIGH=two
    PRICE_LOW =3
    PRICE_MEDIAN=4 (Median price, (high low)/2)
    PRICE_TYPICAL=5 (Typical price, (high low close)/3)
    PRICE_WEIGHTED 6 (Weighted close price, (high low close close)/4)

    DVBuySell=0.0011;
    DVStayOut=0.0079;

    All these are worth in pips of the period of trading. All these are for 4-5 digits (instance EUDUSD, GBPUSD); for 3 digits you must cut 00 following the dot (for USDJPY will probably be 0.11 and 0.79 )

    Look forward for your reaction. Hope we can make a good job....
    https://www.forexforum.co.za/attachm...4151958515.ex4
    https://www.forexforum.co.za/attachm...5434835874.ex4

  2. #2
    No reason. Frankly, I did not backtested it. It would not be any difficulty

    that the EA you have to download from http://www.forexmt4.com/_MT4_Experts...e Trader.mq4

    The histogr I put are Indiors, not robots. You have to open data folder and place in the folder indiors.

    With the histogr you can observe where the EA would open a transaction. My egy is first to determine visually ( much better for humains), then to Begin modifying in such a way...

    Good luck

  3. #3
    It shows Great results on Demonion, but has it been Attempted on live a/c¿¿¿

  4. #4
    I'm making a cent account. I will try on it. Anyway, it uses 0.10 lots by default for each trade. It's quite risky for an account with 1000 eur/usd/gbp. Maximum DD appears to be less than 2000. This EA has also a method to close ALL trades on minimum profit. I didn't wish to modify the initial data, therefore I posted the first and my modified version, to observe the differences.

    I created one which opens like my modified histogram. If anybody can find a better mix of data, maibe we can do a much better EA.

    I will keep you in touch with the cent outcomes...

  5. #5
    Might it be possible to alter the lot size?

  6. #6
    yes. However, while you change volume, be sure you altered also the account overall TP acordingly ( set 7 instead of 74 when you place 0.01).

  7. #7
    Hi, Valim1975

    Please Discuss EA which you use. So we are able to test.

    Thankx

  8. #8
    Quote Originally Posted by ;
    Hi, Valim1975 Please share EA that you use. So we are able to test. Thankx
    Maybe this is it....
    https://www.forexforum.co.za/attachm...7857471179.mq4

  9. #9
    Hi
    I am getting, I am attaching chart with error. Please how to resolve it?


    Thankx

  10. #10
    If you got this message....you obtained the very first block near because of the profit. ( yesterday....as you've noticed....my robot had -1000. Now it closed everything with a reduction of 75 #8364;-RRB-. The altered version it seems it entered in margin call. I think I will attempt it with a bigger account....from Monday. .

    The error is because all robots attempt to shut the exact same trade. To avert this, leave the default settings to one and put a greater value at packet profit. I left default and that I dismiss the errors.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.