I cannot get Backtest running

Viewing 15 posts - 16 through 30 (of 35 total)
  • Author
    Posts
  • #121964 quote
    NicolasNicolas
    Keymaster
    Legend
    I think that your account run quickly out of margin because you accumulate orders. Try to simulate with more money in the balance. Or by disallow cumulation of orders by adding this line at the top of the code:
    defparam cumulateorders=false
    #121974 quote
    GraHalGraHal
    Participant
    Legend
    Attached is what I get with the code below. What does the code below do on your Platform??
    rem Cruce de medias semanales
    rem Condiciones para entrada de posiciones largas
    timeframe(weekly)
    
    //MM30=MM30
    
    MM30=average[30](close)
    
    MM52=Average[52](close)
    
    condc = (MM30 > MM52 and MM30[1] < MM52[1])
    condv = (MM30 < MM52 and MM30[1] > MM52[1])
    
    //condc=close>MM30
    
    IF condc THEN
    BUY 1 SHARES AT MARKET
    ENDIF
    
    //rem Condiciones de salida de posiciones largas
    If condv THEN
    SELL AT MARKET
    ENDIF
    //
    
    Hernan-2.jpg Hernan-2.jpg
    #121980 quote
    GraHalGraHal
    Participant
    Legend
    If you want to see if your optimiser works … try attached and let us know how you get on. I have set up the optimiser so it works and it works on my Platform just fine.
    Prueba.itf
    #121982 quote
    Hernan MancasolaHernan Mancasola
    Participant
    New
    If you want to see if your optimiser works … try attached and let us know how you get on. I have set up the optimiser so it works and it works on my Platform just fine.
    My friend, I just about to give up! I imported your strategy and got the same error (“There was an error executing your Prueba backtest”)
    I’m using V11.1
    and these are my system characteristics.
    Launch date : 2020-03-12T12:22:18.460-03:00 Version : v11.1.20200222010001 Java Version : 1.8.0_202 (64 bits) System : Microsoft Windows 10 Home 64 bits (NT 10.0.18362) Country / Lang. : ES / es Timezone : America/Argentina/Buenos_Aires Computer : ASUSTeK Computer INC. – N61Jv Processor : Intel(R) Core(TM) i3 CPU M 350 @ 2.27GHz (2 cores, 4 logical cores) Max Memory : 1820 Mio (detected: 3883 Mio) Graphics : Intel(R) HD Graphics (version 8.15.10.2900) Graphics : Citrix Indirect Display Adapter (version 12.40.44.247) Graphics : NVIDIA GeForce GT 325M (version 21.21.13.4201) Screens : 1 Screen 0 : Monitor PnP gen�rico – 26,1″ – 1360×768 – DPI:59 Screen 1 : Monitor PnP gen�rico – 15,9″ – 1366×768 – DPI:98 Encoding : Cp1252 Network : Qualcomm Atheros AR9285 Wireless Network Adapter (max 97.500.000b/s) Connection refused: connect
    What do you think? At this point it’s a personal challenge for me! 🙂
    #121985 quote
    GraHalGraHal
    Participant
    Legend
    I just about to give up!
    Don’t give up! Help is close at hand! I have version 10.3 so we need to rethink?
    #121986 quote
    GraHalGraHal
    Participant
    Legend
    Try doing below but try and optimise on weekly Timeframe. Keep us updated. What we need is somebody with v11 to try and optimise my .itf file.
    //timeframe(weekly)
    #121987 quote
    GraHalGraHal
    Participant
    Legend
    What does below mean in your computer spec?? Are you connected to the internet or are you dropping connection??

    Connection refused: connect 

    #121989 quote
    Hernan MancasolaHernan Mancasola
    Participant
    New
    I just about to give up!
    Don’t give up! Help is close at hand! I have version 10.3 so we need to rethink? Where could I get version 10? I can try to uninstall and installing again
    #121990 quote
    GraHalGraHal
    Participant
    Legend
    you can certainly get v 10.3 from IG on the link below, but explore the PRT website first as I am sure you can get v10.3 direct from PRT? I am assuming you got v11 direct from PRT website? https://www.ig.com/uk/application-form
    #121992 quote
    Hernan MancasolaHernan Mancasola
    Participant
    New
    Connection refused: connect
    I’m connected to internet with no issues!
    #121993 quote
    GraHalGraHal
    Participant
    Legend
    Did you fill out the form below to PRT asking … can you go on v10.3? https://www.prorealtime.com/en/contact
    #121994 quote
    Hernan MancasolaHernan Mancasola
    Participant
    New
    you can certainly get v 10.3 from IG on the link below, but explore the PRT website first as I am sure you can get v10.3 direct from PRT? I am assuming you got v11 direct from PRT website? https://www.ig.com/uk/application-form
    Yes, I got v11 from PRT website. I will also try from IG. I’ll let you know once I are able to test it
    Thanks
    #121995 quote
    GraHalGraHal
    Participant
    Legend
    Try below …
    BUY 1 contract AT MARKET //not 1 shares
    #121996 quote
    GraHalGraHal
    Participant
    Legend
    Surely this Topic is being read by a Community Member with v11 … who could try my .itf file above and see if it runs and optimises okay on a v11 Platform??
    #122000 quote
    Hernan MancasolaHernan Mancasola
    Participant
    New
    Surely this Topic is being read by a Community Member with v11 … who could try my .itf file above and see if it runs and optimises okay on a v11 Platform??
    I did it at the begining and did again now, it doesn’t work! 🙂
Viewing 15 posts - 16 through 30 (of 35 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

I cannot get Backtest running


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 34 replies,
has 3 voices, and was last updated by Hernan MancasolaHernan Mancasola
6 years, 6 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 03/11/2020
Status: Active
Attachments: 9 files
ProRealCode ProRealCode
Loading...