Indicateur Hauts Bas

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #24515 quote
    CarlCarl
    Participant
    Average

    Ci-dessous une demande qui a été envoyée à ProRealTime :

    bonjour
    je vien de metre en place un indicateur qui trace automatiquement les haut et les bas du jour precedent
    en utilisant les fonctions Dhigh(1) et DLow(1).

    je vouderai contruir la meme chose ,mais avec les haut et les bas de la semaine precedente. pouver vous svp maider? car je ne trouve pas une fonction similaire comme par exemple Hhigh Hlow ou Whigh et W low ?
    merci par avance

    Et une proposition de réponse :

    if opendayofweek < opendayofweek[1] then
    lasthigh=myhigh
    lastlow=mylow
    myhigh=high
    mylow=low
    else
    myhigh=max(high,myhigh)
    mylow=min(low,mylow)
    endif
    
    return lasthigh as "high w-1", lastlow as "low w-1"
    
    if opendayofweek < opendayofweek[1] then
    lasthigh=myhigh
    lastlow=mylow
    myhigh=high
    mylow=low
    else
    myhigh=max(high,myhigh)
    mylow=min(low,mylow)
    endif
    
    return lasthigh as "high w-1", lastlow as "low w-1"
Viewing 1 post (of 1 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

Indicateur Hauts Bas


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Carl @carl Participant
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 02/09/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...