pb horaire cotation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #45367 quote
    NicoNico
    Participant
    Average

    Bonjour

    J’ai parametre prt afin de n’afficher que les cotations 08h-22h.

    Prt affiche des cotations pour le dimanche , donc le lundi dlow(1) renvoi le bas de la journée du dimanche et non du vendredi

    j’ai donc modifié mon systeme auto  afin de recupérer celle de vendredi

    if  OpenDayOfWeek = 6 then
    HautHier = DHigh(2)
    BasHier =DLow(2)
    ClotureHier = DClose(2)
    else
    HautHier = DHigh(1)
    BasHier =DLow(1)
    ClotureHier= DClose(1)
    endif
    

    Et lorsque je le lance j’ai un message d’erreur ( voir l’image ci jointe)

    Si j’ai bien compris je ne peux pas utiliser certaines instructions si on n’affiche que certains horaires de cotations ?

    Capture.png Capture.png
    #45371 quote
    Leonida1984Leonida1984
    Participant
    Average

    I don’t speak French, but OpenDayOfWeek = 6 it is a mistake because it’s Saturday instead, the first day of week is Monday.

    Have a good day.

    #45378 quote
    NicoNico
    Participant
    Average

    Yes it was a mitake.

    I changed the code to OpenDayOfWeek = 1 and it was good.

    thanks

    #45412 quote
    Leonida1984Leonida1984
    Participant
    Average

    You are welcome!

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

pb horaire cotation


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
Nico @nico Participant
Summary

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

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