Page 23 of 43 FirstFirst ... 13212223242533 ... LastLast
Results 221 to 230 of 430
  179 179 Attachment(s)    

Thread: MartingailExpert v1 Stochastic

  1. #221

    Default

    2008.12.22 20:24:17 2008.11.17 08:00 MartingailExpert_v1.0_Stochastic v1.5a GBPJPY,H1: OrderSend error 131 ??????

  2. #222

    Default

    Quote Originally Posted by q8m2002 View Post
    2008.11.22 11:44:39 TestGenerator: unmatched data error (volume limit 2110 at 2008.10.27 01:00 exceeded)

    2008.11.22 11:45:07 2008.07.11 09:36 MartingailExpert_v1.0_Stochastic GBPJPY,H1: OrderSend error 131










    why it give the in pack teast
    this for me problem. we the solution?

  3. #223

    Default

    Quote Originally Posted by csino View Post
    this for me problem. we the solution?
    OrderSend Error 131 is a very popular problem that is usually encountered when testing MT4 expert advisors. What causes this error? Itís called ERR_INVALID_TRADE_VOLUME in the MT4 code. That means that your expert advisor is trying to send an order with invalid trade volume. On the absolute majority of the MT4 brokers setting some EA to open an order 0.123 lots will generate this error. But sometimes itís generated when the EA, created for mini or micro accounts, is used on the standard account. If you stumble on OrderSend Error 131 during your testing, you can quickly find out the wrong settings of your EA ó find the standard init() function inside your EAís code and insert these lines of code there:

    Print(MarketInfo(Symbol(),MODE_LOTSIZE));
    Print(MarketInfo(Symbol(),MODE_MINLOT));
    Print(MarketInfo(Symbol(),MODE_LOTSTEP));
    Print(MarketInfo(Symbol(),MODE_MAXLOT));


    The first line will give you the information regarding how many units one lot holds when you trade in this account (100000 would mean a standard-sized lot). Remember, that in your expert advisorís log this line will be first starting from down to up, not vice versa. The second line will tell you the minimum amount of lots you can trade (this is the most usual error; youíll probably just need to fix the amount of lots your EA trades from 0.1 to 1). The third one will give the minimum step for the trade volume in lots. The fourth line will tell you the maximum amount of lots that your EA can trade.

    For example, demo account at FXOpen generates this info when I insert those lines into the code:

    2008.07.10 15:13:37 MACD Sample EURUSD,H1: 10000
    2008.07.10 15:13:37 MACD Sample EURUSD,H1: 0.01
    2008.07.10 15:13:37 MACD Sample EURUSD,H1: 0.01
    2008.07.10 15:13:37 MACD Sample EURUSD,H1: 100000


    That means that 1 lot is 100,000 units (a standard size), minimum trade volume is 0.01 lot (so, one can trade starting from $10 on 1 position in a dollar-based currency pair), minimum trade volume step is also 0.01 lot (one can trade 0.33, 0.4 or 1.25 lot volumes, but canít send orders with 0.333 lot size) and the maximum volume one can use to open a position is 10,000 lots.

    You can incorporate the MarketInfo() function at a more complex level into your EA, so it could automatically check the allowed values and correct its settings. But if you donít want to code much, you can just use the code above to find out the right values and correct the settings manually.

  4. #224
    Junior Member
    Join Date
    Dec 2008
    Posts
    26

    Default

    Quote Originally Posted by padeel View Post
    There are no settings required

    hi funyoo
    GU H1. Best results. Up to 87 millions of dollars (from 10k) ! Of course, it's exceptionnal !

    17 hours of optimization

    settings plz ?

  5. #225
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by padeel View Post
    hi funyoo
    GU H1. Best results. Up to 87 millions of dollars (from 10k) ! Of course, it's exceptionnal !

    17 hours of optimization

    settings plz ?
    Hi padeel,

    Settings :

    SL=295; TP=225; TrailingStop=35; step=6; StepMode=0; proffactor=22; mult=2.7; lotsbuy=0.01; lotssell=0.01; per_K=266; per_D=51; slow=1; zoneBUY=46; zoneSELL=26; Magicbuy=555; Magicsell=556;

  6. #226
    Junior Member
    Join Date
    Dec 2008
    Posts
    26

    Default

    thx funyoo

  7. #227

    Default

    thanks roodstaart

    csino

  8. #228
    Junior Member
    Join Date
    Dec 2008
    Posts
    26

    Default

    2008.12.26 17:49:04 2008.11.20 22:50 MartingailExpert_v1.0_Stochastic v1.5a GBPUSD,H4: OrderSend error 130


    this for me problem. we the solution??

  9. #229
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by padeel View Post
    2008.12.26 17:49:04 2008.11.20 22:50 MartingailExpert_v1.0_Stochastic v1.5a GBPUSD,H4: OrderSend error 130


    this for me problem. we the solution??
    It comes certainly from your broker, as I don't get this error.

  10. #230

    Default error 131

    thanks funyoo!!

    MIGfx: error 131

    Masterforex: no error

    csino

Similar Threads

  1. MartingailExpert v1 Stochastic
    By funyoo in forum Expert advisors live statements
    Replies: 63
    Last Post: 04-10-2011, 16:52
  2. Stochastic Ea
    By Cyrillic in forum Ideas for expert advisors
    Replies: 3
    Last Post: 04-24-2010, 21:16
  3. MartingailExpert
    By hameed412412 in forum Expert advisors backtesting
    Replies: 1
    Last Post: 10-22-2009, 12:53
  4. Stochastic Values
    By funyoo in forum Indicators
    Replies: 1
    Last Post: 01-08-2009, 03:15

Tags for this Thread

100, 100 pips, advisor, alarm, alpari, automated trading, automatic, average, backtest, backtesting, breakout, broker, brokers, change, closing, coding, color, copy, correlation, currency trading, demo, download link, ea trading, eas, elite, eur, eurjpy, eurusd, expert, expert advisor, expert advisors, forex, forex account, forex trading, free, free ea, fxopen, gbpjpy, gbpusd, generic, german, heiken ashi, high, how to, indicator, indicators, learn, live, live account, low, macd, magic, magic number, main, manual, martingale, metatrader, moving average, mq4, mql, mql4, mt4, offer, profit, profit factor, profitable, programmer, programming, real, report, request, research, sales, sample, scalper, scalping, signal, simple, slippage, spread, stoch, stochastic, stop, stoploss, strategy, study, support, system, systems, test, thank you, time, timefilter, trader, trading, trading system, trailing, trailingstart, trailingstop, trend, usd, xena

Posting Permissions

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