COMO CARGAR 20.000 BARRAS

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #116528 quote
    Albert0769
    Participant
    Average

    Buenos días:

     

    Alguien sabe como se pueden cargar mas de 5.000 barras para este código de ProOrder (Trading Automático), que tiene como base principal una media móvil de 20.000 periodos.

     

    Gracias por vuestra ayuda.

     

    Un Saludo,

    ALBERT

    DEFPARAM PRELOADBARS = 30000
    DEFPARAM CUMULATEORDERS = False
    
    PRECIO = Close
    
    Period0 = 20000
    inner0 = 2*weightedaverage[round(Period0/2)](PRECIO)-weightedaverage[Period0](PRECIO)
    MMH20000 = weightedaverage[round(sqrt(Period0))](inner0)
    
    Period = 150
    inner = 2*weightedaverage[round(Period/2)](PRECIO)-weightedaverage[Period](PRECIO)
    MMH150 = weightedaverage[round(sqrt(Period))](inner)
    
    
    IF MMH150 CROSSES OVER MMH20000  THEN
    BUY 1 CONTRACTS AT MARKET
    ENDIF
    
    IF MMH150 CROSSES UNDER MMH20000  THEN
    SELLSHORT 1 CONTRACTS AT MARKET
    ENDIF
    
    /////////////////////
    
    //// Stops y objetivos:
    ////SET STOP pLOSS 100
    ////SET TARGET pPROFIT 2000
    
    #116551 quote
    Juan Salas
    Participant
    Master

    Alberto0769,

    Tienes que irte a la barra de cambio de TF y seleccionar en la lista (x) units. Cuando lo pulses, vete con el cursor a la casilla numerica y cambialo a mano. Como máximo te saldrán 100.000 unidades (200.000 en la version PREMIUM)

    #116616 quote
    Nicolas
    Keymaster
    Master

    No es posible precargar más de 10.000 barras con ProOrder.
    En este caso específico, debe usar un marco de tiempo más alto para su promedio móvil de 20,000 períodos (!) Y, por lo tanto, reducir su período.
    Pregunta simple: ¿por qué estás usando un MA de 20,000 períodos?

    Juan Salas thanked this post
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

COMO CARGAR 20.000 BARRAS


ProOrder: Trading Automático y Backtesting

New Reply
Author
author-avatar
Albert0769 @albert0769 Participant
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by Nicolas
6 years, 1 month ago.

Topic Details
Forum: ProOrder: Trading Automático y Backtesting
Language: Spanish
Started: 01/12/2020
Status: Active
Attachments: No files
Logo Logo
Loading...