Problème "division par 0"

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26646 quote
    Victorio
    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
    Nicolas
    Keymaster
    Master

    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
    Victorio
    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.

Problème "division par 0"


Support ProOrder

New Reply
Author
author-avatar
Victorio @victorio Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Victorio
8 years, 10 months ago.

Topic Details
Forum: Support ProOrder
Language: French
Started: 02/28/2017
Status: Active
Attachments: No files
Logo Logo
Loading...