Affichage variation du titre depuis ouverture

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #78642 quote
    LIONEL
    Participant
    New

    bonjour à tous,

    nouveau sur ProRealTime et novice dans la programmation, j’aurai besoin de vos compétences et conseils….

    je souhaiterai pouvoir rajouter une colonne dans le tableau des résultats de mes screeners qui indique le % de la variation du prix depuis l’ouverture du jour et non pas de la veille….
    la formule sur TC2000 est la suivante:
    ((C-O)/O)*100

    merci par avance

    #78654 quote
    Nicolas
    Keymaster
    Master

    Il ne peut y avoir qu’une seule colonne de tri dans ProScreener, je te propose ce type de code:

    condition = A > B
    
    screener[condition]((dClose(0)-dopen(0))/dopen(0)*100)
    #79814 quote
    LIONEL
    Participant
    New

    Bonjour,

    merci beaucoup cela fonctionne !

    encore un grand merci
    cdt

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Affichage variation du titre depuis ouverture


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
LIONEL @lionel Participant
Summary

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

Topic Details
Forum: ProScreener : Scanners de Marché & Détection
Language: French
Started: 08/20/2018
Status: Active
Attachments: No files
Logo Logo
Loading...