1. Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)
    Dismiss Notice

New EA Help modify fix this EA code 100 to 1000000 get million in 10days

Discussion in 'Expert Advisor atau Robot Forex' started by fxgreen, 26 Jan 2021.

  1. fxgreen

    fxgreen Member Credit Hunter

    Equity
    Credit
    Ref Point
    Random Decision Forest in Reinforcement learning - MQL5 Articles
    https://www.mql5.com/en/articles/3856
    RDF_in_reinforcement_learning_regression.mq5
    RDF_in_reinforcement_learning_classification.mq5

    How to use

    Broker = Any broker that LOW SPREAD

    recommend broker = ICMarkets.com

    Pair = best pair is EURUSD
    good result are GBPUSD, USDJPY
    and other pair please help report result

    Timeframe use : 5 minute ( or other 5 min UP, work like 15 minute timeframe)

    importance
    EA require = LOW SPREAD

    SPREAD = low than 1 PIPS ( low than 10 point) better

    Source code
    https://www.mql5.com/en/articles/download/3856.zip
    https://www.mql5.com/en/articles/download/3856/rdf_in_reinforcement_learning_regression.mq5
    https://www.mql5.com/en/articles/download/3856/rdf_in_reinforcement_learning_classification.mq5

    Install EA require MT4Orders - library for MetaTrader 5
    https://www.mql5.com/en/code/16006
    https://www.mql5.com/en/code/download/16006/mt4orders.mqh

    EA require OPTIMIZATION before backtesting

    Step by Step settting use
    Optimization
    1. set value name "optimization_iterations" to rank 1 to 1,000,000 by step 1
    2. set "MaximumRisk" to very high risk like 1 or 2 or 3
    3. click start to optimization click button START
    4. waiting between 5 to 15 minute (don't stop before run to 15 minute optimization)
    5. or wating until generate over 1000
    6. waiting untile profits "BALANCE MAX" value over 1,000,000 see on RIGHT hand and TOP of screen
    7. if "BALANCE MAX" not high, stop and try again.
    8. if lucky, program optimizae to high in 60 second (1 minute) (and yes, can stop at 1 minute)
    9. stop when found best
    10. click run backtesting

    11. open folder "\AppData\Roaming\MetaQuotes\Terminal\Common\Files"
    12. save file "RDFMtreesEURUSD5.txt" to save place
    13. if you optimization again EA wil be overwrite file "RDFMtreesEURUSD5.txt"

    14. setting file is NOT on setting, setting file IS ARRAY FILE name "RDFMtreesEURUSD5.txt" That save on common folder

    settting value list
    number_of_trees=50; (other value set 50 to 2000)
    regularization=0.63; (try

    optimization_iterations=1-1000000; (minimum may be 1000 up)

    MaximumRisk=2.00; (set to very high risk at 1, 2 or 3)
    CustomLot=0; (alway using 0 )
    OrderMagic=666;

    importance
    REAL SETTING FILE IS FILE = "RDFMtreesEURUSD5.txt"
    "\AppData\Roaming\MetaQuotes\Terminal\Common\Files\RDFMtreesEURUSD5.txt"


    problem EA original work only on backtesting
    problem EA original can not work as well
    problem EA original still stop-out on live DEMO account (100% lose)
    problem EA original require to modify

    still LOSE on demo account
    100% lose gurantee

    Need help from programmer to modify for can using on live demo account

    Require to programmer modify
    idea modify list
    1. save file optimize best optimize
    2. add take profits
    3. add stop loss
    4. add trailing stop
    5. change close algorithm (to close fast)
    6. change close algorithm

    and other modify that make EA can work on REAL world


    (setting file)
    and for user and who backtesting
    please share your file "RDFMtreesEURUSD5.txt"
     

    Attached Files:

  2. fxgreen

    fxgreen Member Credit Hunter

    Equity
    Credit
    Ref Point
    you need to do OPTIMIZATION for get setting file "RDFMtreesEURUSD5.txt"

    image may be difference because I testing multiple time

    you need to press STOP optimization when found small DOT show on high BALANCE MAX




    2021-01-26 12_57_26.png 2021-01-26 12_57_32-5.png 2021-01-26 12_57_42-Window.png 2021-01-26 13_02_39.png 2021-01-26 13_02_47-50.png 2021-01-26 13_15_22-50 .png 2021-01-26 13_15_35-5 g.png

    2021-01-26 13_03_34-C_ s.png
     
  3. fxgreen

    fxgreen Member Credit Hunter

    Equity
    Credit
    Ref Point
    sample report file ReportTester-50481005.html on zip file


    ReportTester-50481005.png ReportTester-50481005-holding.png ReportTester-50481005-hst.png ReportTester-50481005-mfemae.png
     

    Attached Files:

  4. fxgreen

    fxgreen Member Credit Hunter

    Equity
    Credit
    Ref Point
    IDEA

    one useful for this EA is use for WATCH, watching for ENTERTAINMENT on VIRTUAL MODE

    and other useful is watch for make Inspiration for trade

    watching EA trade and MANUAL COPY TRADE,

    Learning How to make money by Watching EA Trade and copy method EA Trade
     
    • Like Like x 1
  5. niwat

    niwat Member Credit Hunter

    Equity
    Credit
    Ref Point

    after optimized ea how to use RDFMtree file to trade wiht EA?
     
  6. blackking

    blackking Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    Copy trading is one great development technology in forex trading,
    this way become a useful tool for trader newbie or investor trader to using copy trade
     
  7. fxgreen

    fxgreen Member Credit Hunter

    Equity
    Credit
    Ref Point
    if you use trade same PC same machine that already use that RDFMtree file
    if you use difference MT5, it still read same file RDFMtree store on COMMON directory

    but if you move to use other PC, you need to copy from
    \AppData\Roaming\MetaQuotes\Terminal\Common\Files

    and copy to \AppData\Roaming\MetaQuotes\Terminal\Common\Files on other PC

    for easy do optimize on PC That you using, then when using on Live trade it wil read same file generate from optimization

    EA not success to using Live Demo on low timeframe try high timeframe
    as Oiriginal code, EA not yet success trade , it need to modify to upgrade better, willl be good
     
    • Like Like x 1
  8. fxgreen

    fxgreen Member Credit Hunter

    Equity
    Credit
    Ref Point
    Sorry, copy trade I say not mean copy trade general on forex that duplicate order trade to other account
    I mean copy idea trade that generate from EA.
     
  9. Md Mijanur Rahman

    Md Mijanur Rahman Member Credit Hunter

    Equity
    Credit
    Ref Point
    Dear Friends,
    Anyone help us who is working as a Coder.
     
  10. fxgreen

    fxgreen Member Credit Hunter

    Equity
    Credit
    Ref Point
    problem with backtesting with icmarkets

    EA not calculate COMISSION

    MT5 problem
    may be has BUG on MT5, backtesting not calculate COMISSION

    icmarkets problem
    both demo account and real, icmarkets data feed on TICK download not provide
    icmarkets account not give data commission 3.5 $USD per lot

    standard account both real standard and demo standard backtesting not calculate with high spread same show on standard account, data feed using as RAW account with low spread

    all it make EA calculate WRONG spread and wrong commission

    result at icmarkets has a lot of profits

    Recommend to try using high spread do backtesting or using real account or demo account that give data spread correct to do backtesting

    and recommend to using high timeframe recommend with 15 minute up

    1 minute timeframe work only icmarkets and it may be wrong
    some broker work with 5 minute timeframe
    so, try 5 minute and 15 minute
    or 1 hour and 4 hour

    I between try test 5 minute and 15 timeframe on live demo
     
  11. freeniga00

    freeniga00 New Member

    Equity
    Credit
    Ref Point
    can you share complete ex5
     
  12. niwat

    niwat Member Credit Hunter

    Equity
    Credit
    Ref Point
    after i made optimize on TF 15m, EURUSD(weltrade broker) and live demo. the result quite good.

    upload_2021-1-27_21-16-23.png
     
    Last edited: 27 Jan 2021
  13. fxgreen

    fxgreen Member Credit Hunter

    Equity
    Credit
    Ref Point
    Thank you for help test on weltrade broker

    I think high timeframe is better and high timeframe is can be possible EA is work timeframe 15 minute is very high recomment more than 5 minute
     
  14. fxgreen

    fxgreen Member Credit Hunter

    Equity
    Credit
    Ref Point
    you can compile EA from source code from you MT5 anytime by open Compile

    MT5 ==> Tools ==> Metaquote Language Editor (MetaEditor)

    or open program name = metaeditor64.exe
    (store same on you MT5 folder)

    copy EA code to folder \MQL5\Experts\

    click right EA name and select Compile
    waiting 30 second

    Try it, it is easy

    MQL5 source code is better than ex5 file, you can modify mq5 it too

    you can trust source code is clean and clear (ex5 file , you don't know that inside it, some programmber can write a BUG and it need to fix)
     

    Attached Files:

  15. fxgreen

    fxgreen Member Credit Hunter

    Equity
    Credit
    Ref Point
    RDF_in_reinforcement_learning_classification_SAVE.mq5

    I try to solve problem when optimize and stop to get good result file (if stop late file overwrite old result)

    WARNING MAY BE USE LARGE DISK SPACE MAY BE MAKE YOU DISK FULL REQUIRE 1GB OR MORE

    how it work

    modify duplicate line save file RDFMtreesEURUSD15.txt to write other file by name of number optimization_iterations

    after optimize DELETE all file you not to use out

    Each Result you can try change buy rename file to RDFMtreesEURUSD15.txt

    high recommend to use timeframe 15 minute better not use 5 minute as sample demo test image show

    try see image if you not understand

    again each optimize result file will be save to file with number, so you can change or use each result on backtest by change name to RDFMtreesEURUSD15.txt


    2021-01-28 09_50_25.png 2021-01-28 09_56_33-C__Users.png 2021-01-28 10_04_08-C.png
     

    Attached Files:

    • Like Like x 1
  16. LukeA

    LukeA Member Credit Hunter

    Equity
    Credit
    Ref Point
    I will try it out
     
  17. freeniga00

    freeniga00 New Member

    Equity
    Credit
    Ref Point
    did you find success?
     
  18. fxgreen

    fxgreen Member Credit Hunter

    Equity
    Credit
    Ref Point
    No
    it work only on backtesting
    on live demo all lose
     

Share This Page