Erreur DEFPARAM Preloadbars

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44508 quote
    FaabiienFaabiien
    Participant
    Junior

    Bonjour,

    Je travaille en UT 1 sec et j’ai une erreur  sur “DEFPARAM Preloadbars” (Cf. image jointe)

    Je ne comprends pas car mon code contient:

    DEFPARAM PRELOADBARS = 3000

    et les seuls indicateurs/conditions que j’ai sont:

    Condition1 = (HIGHEST[NbBarres](HIGH)- LOWEST[NbBarres](LOW)< Limite) 
    //avec Nb <=300 
    MM30 = Average[1800](close) 
    // Moyenne mobile 30 min 
    TempsEntreTrade = (BARINDEX - TradeIndexDernierTrade)

    Que faire?

    1-1.png 1-1.png
    #44552 quote
    NicolasNicolas
    Keymaster
    Legend

    Quel instrument svp? Et ensuite augmentant encore la quantité de barres, le problème est-il toujours présent?

    #44573 quote
    FaabiienFaabiien
    Participant
    Junior

    Sur le DAX future et DOW J future.

    J’ai essayé d’augmenter le PRELOADBARS sans succès.

    J’ai relancé les codes dans la journée. Le problème a disparu…

    #44574 quote
    FaabiienFaabiien
    Participant
    Junior

    Je crois avoir trouvé l’origine du problème:

    Mon code remonte 1800 bougies en arrière. Or je travaille en UT 1 sec et 1 sec n’est pas forcément égal à 1 bougie.

    Cela signifie que PRELOADBARS  doit remonter non pas 1800 secondes en arrière mais 5000 bougies en arrière (par exemple).

    “J’ai essayé d’augmenter le PRELOADBARS sans succès.” => en effet j’ai augmenter le paramètre mais peut être pas suffisamment.

    Savez-vous s’il existe une limite au paramètre PRELOADBARS?

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

Erreur DEFPARAM Preloadbars


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
Faabiien @faabiien Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by FaabiienFaabiien
9 years, 2 months ago.

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 08/24/2017
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...