Problème "division par 0"

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26646 quote
    VictorioVictorio
    Participant
    Senior

    Bonjour

    J’ai un prorealcode qui tournait sur le dax 10 sec depuis hier matin sans problème. J’ai sorti une position manuellement ce matin et impossible de relancer le programme sous pro order. Pas de problème en backtest.

    “Votre système de trading a été arrêté à cause d’une division par 0 lors de l’évaluation du dernier chandelier. merci d’ajouter des protections au code de votre système”

    Je ne comprends pas, je n’ai rien modifier au code , hier ça roulait…

    Merci pour vos lumières !

    #26655 quote
    NicolasNicolas
    Keymaster
    Legend

    Il faut identifier les lignes ou tu fais des divisions et comprendre pourquoi le diviseur est à zéro tout simplement. Variable non initialisé par une valeur, manque d’informations du graphique, etc..

    Victorio thanked this post
    #26663 quote
    VictorioVictorio
    Participant
    Senior

    Merci Nicolas, c’était une erreur de ma part, avec 2 conditions qui avait le même nom…distraction…

Viewing 3 posts - 1 through 3 (of 3 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

Problème "division par 0"


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
Victorio @victorio Participant
Summary

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

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 02/28/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...