Page 35 of 54 FirstFirst ... 25333435363745 ... LastLast
Results 341 to 350 of 539
  96 96 Attachment(s)    

Thread: vForce Like EA

  1. #341
    Junior Member
    Join Date
    May 2009
    Posts
    2

    Default

    Quote Originally Posted by funyoo View Post
    Hi Mac109 and welcome,

    By my hand, yes it is the last version.

    Otherwise there is vForceLikeEA_V2_04A by maximf.

    And yes vforce like ea v2 eu h1(2).set is the last "official" set.

    I suggest you to do your own optimization, to test the different versions with different settings.

    Note that I will work on a third version when Metatrader5 will be released.
    Hi Funyoo:

    This is my first post on this forum, so "Hi" to everyone else as well.

    I would like to thank everyone very much, for all the information, support and help
    that you have given us.

    I have two questions.

    I have been looking at the coding for V2.04 and I think there may be a
    coding error.

    double openPrice = Open[ barID ];
    if( ( StoM >StoS ) &&
    ( RSI > 50 ) &&
    ( Bears > 0 ) &&
    ( openPrice > SAR ) &&
    ( imaFastCurrent > imaSlowPrevious ) &&
    ( ( false == PriceFilterEnabled ) || ( PriceFilterEnabled && ( Close[ 0 ] > Open[ 0 ] ) ) )
    )
    {
    buySignalExists = true;
    }
    if( ( StoM > StoS ) &&
    ( RSI < 50 ) &&
    ( Bears < 0 ) &&
    ( openPrice < SAR ) &&
    ( imaFastCurrent < imaSlowPrevious ) &&
    ( ( false == PriceFilterEnabled ) || ( PriceFilterEnabled && ( Close[ 0 ] < Open[ 0 ] ) ) )
    )
    {
    sellSignalExists = true;


    I have put the possible error in red. Should it not read less than (<) rather than more than (>)?

    The second question is:

    I have been testing Magic Machine "Advanced", which gives many more trades
    each week than the Magic Machine "standard" version.

    Which version mimics "Vforce Like EA", please?

    Gordon

  2. #342
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by Gordon View Post
    double openPrice = Open[ barID ];
    if( ( StoM >StoS ) &&
    ( RSI > 50 ) &&
    ( Bears > 0 ) &&
    ( openPrice > SAR ) &&
    ( imaFastCurrent > imaSlowPrevious ) &&
    ( ( false == PriceFilterEnabled ) || ( PriceFilterEnabled && ( Close[ 0 ] > Open[ 0 ] ) ) )
    )
    {
    buySignalExists = true;
    }
    if( ( StoM > StoS ) &&
    ( RSI < 50 ) &&
    ( Bears < 0 ) &&
    ( openPrice < SAR ) &&
    ( imaFastCurrent < imaSlowPrevious ) &&
    ( ( false == PriceFilterEnabled ) || ( PriceFilterEnabled && ( Close[ 0 ] < Open[ 0 ] ) ) )
    )
    {
    sellSignalExists = true;


    I have put the possible error in red. Should it not read less than (<) rather than more than (>)?
    Hi Gordon and welcome,

    Yes logically, it should be a "less than". I have modified it in v202. Note that it would require a new optimization.

    Quote Originally Posted by Gordon View Post
    The second question is:

    I have been testing Magic Machine "Advanced", which gives many more trades
    each week than the Magic Machine "standard" version.

    Which version mimics "Vforce Like EA", please?
    Standard > v1, Advanced > v2.

  3. #343
    Junior Member
    Join Date
    Jun 2009
    Posts
    6

    Default backtest bad to me..:(

    Quote Originally Posted by funyoo View Post
    Hi freedom48 and welcome,

    You can't put a lots size under 0.5 as there are two orders, one with 80% of the lots size, and another one with 20%.

    Wow.. thanks to the fast reply..ur complate right, I put the lot size to 0.5 and works now on backtest. Now as I understand this version is a profitable one, but in my backtest results I switch to all time frames and have to much DD and some time frames I should lost all of my acount by version v202,and Euro/Usd..I switched also the months for backtest. I thought this needs to set with other parameters too, as I followed in the thread there are many winners and I not believe it not works for me..
    Kind Regards

  4. #344
    Junior Member
    Join Date
    Jun 2009
    Posts
    6

    Default

    Quote Originally Posted by freedom48 View Post
    Quote Originally Posted by funyoo View Post
    Hi freedom48 and welcome,

    You can't put a lots size under 0.5 as there are two orders, one with 80% of the lots size, and another one with 20%.

    Wow.. thanks to the fast reply..ur complate right, I put the lot size to 0.5 and works now on backtest. Now as I understand this version is a profitable one, but in my backtest results I switch to all time frames and have to much DD and some time frames I should lost all of my acount by version v202,and Euro/Usd..I switched also the months for backtest. I thought this needs to set with other parameters too, as I followed in the thread there are many winners and I not believe it not works for me..
    Kind Regards

    Now I have the Order Modify 130 error.. I read the thread but may I miss something how to set the parameters for this problem as well. the 131 is ok definitly. do I need to set the min lots=0.01 to 0.1 or something else
    my meta4 allows orders from 0.1 up to 0.14 then later it allows from 1 and doubles..can you advise me with simple explanation as I can speak english only basicly and don't know technically

    Thank you funyoo

  5. #345
    Junior Member
    Join Date
    May 2009
    Posts
    23

    Default

    Quote Originally Posted by funyoo View Post
    Hi lordorly,

    You are right, here it is.

    It would require a new optimization.
    Hi funyoo.

    What is the diference between the v2 and v202?

    The v202 works with 5 digits??

    Thanks Funyoo!!!

  6. #346
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by juanpertuz View Post
    Hi funyoo.

    What is the diference between the v2 and v202?

    The v202 works with 5 digits??

    Thanks Funyoo!!!
    Hi juanpertuz,

    That's correct,

    I have also corrected a "logicial" error. A new optimization is required. If someone has the time, it would be highly appreciated.

  7. #347
    Member
    Join Date
    Jun 2009
    Location
    Los Angeles, CA
    Posts
    34

    Default

    I have also corrected a "logicial" error. A new optimization is required. If someone has the time, it would be highly appreciated.
    What exactly do you mean by a new optimization?

    Thanks.

  8. #348
    Junior Member
    Join Date
    May 2009
    Posts
    2

    Default Ordersend error. Help please

    Hi
    The broker is Fxpro. The account is demo. Minimum lot size with this broker
    is 0.1

    The broker operates five decimal places hence the multiplication by 10 of
    many of the settings. The chart is EUR/USD H1

    Below I have listed my current settings and, in red, the error I am getting.

    Does anyone have the answer, please?

    Gordon

    Just an update: If I don't multiply the pip dependent settings by 10, I get an error with regard to the maximal spread.


    21:46:07 Compiling 'vForceLikeEA_V2_04'
    21:46:07 vForceLikeEA_V2_04 EURUSD,H1: loaded successfully
    21:46:07 vForceLikeEA_V2_04 EURUSD,H1 inputs: S1="---------------- Entry Settings"; StochKPeriod=5; StochDPeriod=3; StochSlowing=3; S2="---------------- Money Management"; RSIPeriod=2; S3="---------------- Order Management"; BearsPeriod=12; S4="--- Moving average indicator settings"; FastMAPeriod=19; SlowMAPeriod=50; S5="---------------- Time Filter"; PSARStep=0.003; PSARMaximum=0.018; S6="---------------- Extras"; MMEnabled=true; Lots=0.5; LotsPercent1=80; LotsPercent2=20; RiskPercent=3.72; MinLots=0.1; MaxLots=100; PriceFilterEnabled=false; S7="--- Order Management"; MaximalSpread=50; MarginPips=230; StopLoss=700; TakeProfit=300; MaxOrders=100; Slippage=30; Magic1=20091; Magic2=20092; ATRTSTimeFrame=1; ATRTSPeriod=14; ATRTSFactor=7; S8="--- Time filter settings"; TradeOnSunday=true; MondayToThursdayTFEnabled=false; MondayToThursdayStartHour=0; MondayToThursdayEndHour=24; TradeOnFriday=true; FridayStartHour=0; FridayEndHour=21; CloseOrdersInNonTradeHours=false; S9="--- Graphics settings"; InformationColor=(255,255,0); FontSize=10;
    21:46:10 vForceLikeEA_V2_04 EURUSD,H1: initialized
    23:00:14 vForceLikeEA_V2_04 EURUSD,H1: invalid lots amount for OrderSend function
    23:00:14 vForceLikeEA_V2_04 EURUSD,H1: invalid lots amount for OrderSend function
    Last edited by Gordon; 06-08-2009 at 11:47.

  9. #349

    Thumbs up Well spotted

    Quote Originally Posted by lordorly View Post
    Hello everybody,

    Maximf also has an error in the following code:
    **********************************************
    bool executeBuyTrade = false,
    executeSellTrade = false;

    if( buySignalExists )
    {
    if( ReverseSystem )
    executeSellTrade = true;
    else
    executeBuyTrade = true;
    }
    else if( sellSignalExists )
    {
    if( ReverseSystem )
    executeSellTrade = true;
    else
    executeBuyTrade = true;
    ************************************
    is the same as in Buy Sell


    Regards
    Orlando
    Well spotted Orlando.
    I haven't been using the reverse, cant see why I would want to yet.

    Great to see the input from lots of people, & their ideas.

    I have been running funyoo's v201 on FXDD mini demo for 3 weeks with 0.05lots- nice. Adjusted a few areas of the ea, to try to get it to knock off the pending orders after it has been doing a good run - still not quite stopping in time.

    I had seen the StoM > StoS lines & thought it was due to the nature of the Stoc indi. Will have to do a re-readup, just to check. Maybe look at a few charts with the indicators used in the ea main section all loaded on another chart. Then also these post 273 indi's.

    I dont get the 130/131 errors in my Experts or Journal tabs.
    Maybe those people could alter a copy of their ea's with comment command to see what is different with their brokers. Or use the print command to show in the Journal.

    cheers
    thanks again Mr funyoo - awesome work.

  10. #350

    Post Some feedback & a query

    Quote Originally Posted by maximf View Post
    Hello,

    I'm pleased to release my update of the vForce Like EA. It is based on the vForce Like EA v201.mq4,
    published by funyoo on 05-10-2009. The version extends the EA as follows:
    - The functional decomposition had been applied to the code.

    -Buy/Send/Trailing stop update results are logged to journal,
    including GetLastError result description.

    -Added maximal spread, allowing to prevent trading when broker's spread
    is too high.

    - Current, minimal, maximal and maximal allowed spreads are displayed
    in the chart window.

    - Trading state (trading/waiting) is displayed in the chart window.

    - It is possible to set font size and color of the information,
    displayed in the chart window.

    - Trading algorithm left intact.

    I'm using some EAs for trading, all of them require setting GMT offset.
    Why isn't it required for this EA?

    There are some places in the code that I've failed to understand.
    These places by are marked: just perform search for funyoo.
    Funyoo, please review the code and approve the changes.

    I would be glad to get feedback for the changes.

    Good trading,
    Maxim
    H Maxim,
    Had a play with your version, but it treated the 2 orders the same. What is your reasoning behind putting the TP on the small order. It now acts as though it may as well be just 1 combined order. Maybe a larger TP for the small order ?

    The expiration logic looks good to me. A bit large at 2 weeks for me, so I halved it, cancels the old pending orders eventually. -5 means order is canned just before it might be actioned.

    Like your use of a text block instead of comment command.
    Cant see any reason in the ea to need a GMT offset.

    cheers bt2
    Last edited by bt2; 06-09-2009 at 02:29.

Similar Threads

  1. vForce Like EA v2
    By funyoo in forum Expert advisors live statements
    Replies: 113
    Last Post: 10-21-2013, 19:59
  2. VForce Like EA v1.1
    By fxrobot in forum Expert advisors live statements
    Replies: 5
    Last Post: 08-29-2009, 15:15
  3. vForce EA Great Trading System
    By iForex in forum Ideas for expert advisors
    Replies: 5
    Last Post: 06-16-2009, 16:00

Tags for this Thread

100, advisor, alpari, alpari uk, analysis, automated trading, automatic, average, backtest, backtesting, bonus, breakeven, broker, brokers, change, closing, coding, color, comparison, copy, correlation, demo, design, divergence, eas, elite, eur, eur/usd, eurjpy, eurusd, expert, expert advisor, experts, forex, free, fxopen, gbpusd, hedging, high, historical, home, how to, indicator, indicators, learn, live, live account, low, magic, magic number, main, managed, manual, manual trading, metatrader, moving average, mq4, mql, mt4, mt5, offer, parabolic sar, power, price action, profit, profitable, programmer, programming, rating, real, research, review, robot, robots, rsi, sales, sells, server, signal, signals, simple, slippage, spread, stoch, stochastic, stop, stoploss, strategy, support, system, test, thank you, time, trader, trading, trading forex, trading system, trading volume, trailing, trend, 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
  •