strategia fallita

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #248748 quote
    GaspareGaspare
    Participant
    Veteran
    DEFPARAM CumulateOrders = false
    Defparam Flatbefore=070000
    Defparam Flatafter=220000
    
    ONCE M = 193.0
    MHull  = average[ M ,7](close)
    Bullish = MHull > MHull[1] and MHULL[1]  < MHULL[2]
    Bearish = MHull < MHull[1] and MHULL[1]  > MHULL[2]
    
    MyAdx= Adx[14] >= 25
    Ind = CALL "PRC_Adaptive-ATR-ADX-Trend-V2"[21, 3.5000000000000004, 1.7500000000000002, 14, 30, 0, 1](close)
    
    IF close crosses over Ind  and MyAdx and Bullish then
    buy 1 contract at market
    elsif close crosses under Ind  and MyAdx and Bearish then
    sellshort 1 contract at market
    endif
    
    set stop   ploss   40
    set target pprofit 10
    

    Buongiorno a tutti, ciao Roberto

    dopo averla messa live, tempo 10 secondi,

    il sistema risponde con STRATEGIA FALLITA

    motivo dell’interruzione: server.strategy.probacktest.error.missing_data.call

    Mi aiuti per favore… grazie

    #248749 quote
    GaspareGaspare
    Participant
    Veteran

    scusami…cfd US500 1 minuto 200k,

    ma l’errore si ripete anche con altri indici

    ho provato a inserire la riga 4

    DEFPARAM PreLoadBars = 20000

    ma niente

    #248760 quote
    GraHalGraHal
    Participant
    Master

    DEFPARAM PreLoadBars = 20000

    Il massimo numero di PreLoadBar che possiamo usare è 10000, quindi provatelo per iniziare.

    Prova anche a inserire il codice per l’indicatore incorporato / parte del codice per la strategia (ad esempio, senza usare Call).

    Gaspare and Iván González thanked this post
    #248764 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Il problema sembra relativo alla CALL, prova a rimuovere i valori strani ed usa:

    [21, 3.5, 1.75, 14, 30, 0, 1](close)
    Gaspare and Iván González thanked this post
Viewing 4 posts - 1 through 4 (of 4 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

strategia fallita


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
Gaspare @gaspare Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by robertogozzirobertogozzi
1 year, 2 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 07/09/2025
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...