Page 5 of 9 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 87
  96 96 Attachment(s)    

Thread: Stochastic Divergence Trader

  1. #41
    Junior Member
    Join Date
    Dec 2008
    Posts
    7

    Default

    Hi,

    What is the last version of looking EA? Can you is it post?

  2. #42

    Default

    Quote Originally Posted by JeRRimix View Post
    Hi,

    What is the last version of looking EA? Can you is it post?
    v 2.3 - page4

  3. #43

    Default

    Quote Originally Posted by funyoo View Post
    You have to try it in demo, as the signals are not drawn in backtesting. If it doesn't work, then you have to see what are the results when you put STD3/STD4 >0, <0, !=0, ==0, >EMPTY_VALUE, <EMPTY_VALUE, !=EMPTY_VALUE, ==EMPTY_VALUE. Sometimes, when the usual logics doesn't work, you have to try these combinations.
    it's nothing
    different combination and nothing good

  4. #44
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by przem81621 View Post
    it's nothing
    different combination and nothing good
    Yes, I hadn't been able to make it work, the same thing for all the ea based on such divergence indicator.

    I suggest you to integrate the indicator in the EA, and to find where are drawn the arrows, then to put SBUY/SSEL=true here. It's what I do when the iCustom function doesn't work with a code.

  5. #45

    Default

    ELLO
    this the best results of eurjpy whith divergence stochastich v.2.3 and 2.5

    in v2.5 you can use for open crossHma filter or only one Hma or only one Ema
    in v.2.3 is only one Hma or Ema

    If somebody has time i asked for backtest in the other ,f.e eu,ec,eg.
    in v.2.5 I,m trying to do open buy/sell after close trade divergence- "Reversopenstoch" but it's no good
    Maybe mr.Funnyoo could be help to do this correct.

    The best in New Year for you and all
    Attached Images Attached Images Stochastic Divergence Trader-ej-4h-div2-3-strategytester-gif Stochastic Divergence Trader-ej-4h-div2-5-strategytester-gif 
    Attached Files Attached Files
    Last edited by przem81621; 12-31-2008 at 14:04.

  6. #46

    Default

    the results of course, it is.
    Attached Files Attached Files

  7. #47

    Default

    I.ve to ask for help my master Funnyoo or somebody who want to help.
    I,m trying to program this;
    after closed by stoch - trade divergence (buy/sell) want to open next trade based on the stoch the same it was reason to close divergence. I want only 1(one) trade. this trade should be have different SL,TP,Ts from divergence trade.
    i,m try to do it, but results are not well.
    So please look at the ea, it wiill be good for trading results.

  8. #48

    Default

    no results.
    I suppose that is simply obvious. I try with string v.2.9 and (0,1) in v2.8a but there was or were mistake(s) . I don,t see it.
    Look at this ,please

    if(OS==1){if(TP==0)TPI=0;else TPI=Bid-TP*Point;if(SL==0)SLI=0;else SLI=Bid+SL*Point;if(Time0!=Time[0]){TK=OrderSend(Symbol(),OP_SELL,Lots,Bid,Slip,SLI, TPI,OrSt,Magic,0,Red);OS=0;Comment("sell order divergence opened","\n","magic number : ",Magic);Time0=Time[0];if(TK>0)TradePerBar++;liczbuy=0;liczsel=1;return( 0);}}
    if(OB==1){if(TP==0)TPI=0;else TPI=Ask+TP*Point;if(SL==0)SLI=0;else SLI=Ask-SL*Point;if(Time0!=Time[0]){TK=OrderSend(Symbol(),OP_BUY,Lots,Ask,Slip,SLI,T PI,OrSt,Magic,0,Lime);OB=0;Comment("buy order divergence opened","\n","magic number : ",Magic);Time0=Time[0];if(TK>0)TradePerBar++;liczsel=0;liczbuy=1;return( 0);}}

    if(SOS==1&&liczsel==0){if(TP1==0)TPI1=0;else TPI1=Bid-TP1*Point;if(SL1==0)SLI1=0;else SLI1=Bid+SL1*Point;if(Time0!=Time[0]){TK1=OrderSend(Symbol(),OP_SELL,Lots,Bid,Slip,SLI 1,TPI1,OrSt,Magic,0,Red);SOS=0;Comment("sell order reverse stoch opened","\n","magic number : ",Magic);Time0=Time[0];if(TK1>0)TradePerBar++;liczsel=1;liczbuy=1;return (0);}}
    if(SOB==1&&liczbuy==0){if(TP1==0)TPI1=0;else TPI1=Ask+TP1*Point;if(SL1==0)SLI1=0;else SLI1=Ask-SL1*Point;if(Time0!=Time[0]){TK1=OrderSend(Symbol(),OP_BUY,Lots,Ask,Slip,SLI1 ,TPI1,OrSt,Magic,0,Lime);SOB=0;Comment("buy order reverse stoch opened","\n","magic number : ",Magic);Time0=Time[0];if(TK1>0)TradePerBar++;liczbuy=1;liczsel=1;return (0);}}}
    Attached Images Attached Images Stochastic Divergence Trader-odwrocony-gif 
    Attached Files Attached Files

  9. #49

    Default

    next version no good
    Attached Files Attached Files

  10. #50
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by przem81621 View Post
    next version no good
    I don't see where is the problem. Try another thing. See here about limitation of trade per bar.

Similar Threads

  1. Divergence EA
    By przem81621 in forum Ideas for expert advisors
    Replies: 8
    Last Post: 02-04-2014, 15:12
  2. RSI Divergence Trader
    By funyoo in forum Expert advisors backtesting
    Replies: 2
    Last Post: 08-13-2011, 22:34
  3. Stochastic Ea
    By Cyrillic in forum Ideas for expert advisors
    Replies: 3
    Last Post: 04-24-2010, 21:16
  4. CCI Divergence EA
    By roodstaart in forum Ideas for expert advisors
    Replies: 0
    Last Post: 03-25-2010, 08:23

Tags for this Thread

100, advisor, alpari, alpari uk, backtest, backtesting, change, coding, color, demo, divergence, eas, eurjpy, ex4, expert, expert advisor, expert advisors, experts, forex, free, fx5, gbpusd, how to, indicator, indicators, live, macd, magic, magic number, martingale, metatrader, mq4, mql, mql4, profitable, programmer, programming, real, signal, signals, simple, sma, step by step, stoch, stochastic, strategy, study, system, test, thank you, time, trader, trading

Posting Permissions

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