Signal par une fleche pour 2 signaux

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #174297 quote
    warningffwarningff
    Participant
    Average

    Bonjour,

    J’aimerais avoir votre aide sur cela, j’aimerais obtenir une fleche quand les 2 indicateurs sont dans le même sens. Or sur mon code cela me fait une multitudes de fleches jusqu’a inversement du signal.

    Si je met les 2 en crosses over ou under, j’aurais une fleche au moment ou les 2 croises en même temps.

     

    merci à vous.

    indicator6 = CALL "Low"
    c7 = (indicator6 > 0)
    
    ignored, ignored, ignored, ignored, ignored, indicator2, indicator1, ignored = CALL "CROSS"
    c4 = (indicator1 > indicator2)
    
    
    IF C7 and c4 THEN
    drawarrowup(barindex[0],low[0]-5)coloured(255,215,0)
    #174678 quote
    NicolasNicolas
    Keymaster
    Legend

    L’idée c’est de vérifier quand le signal arrive pour la première fois (non présent à la bougie d’avant) avant d’afficher une nouvelle flèche.

    Je n’ai pas les codes de tes indicateurs, donc exemple:

    indicator6 = CALL "Low"
    c7 = (indicator6 > 0)
    
    ignored, ignored, ignored, ignored, ignored, indicator2, indicator1, ignored = CALL "CROSS"
    c4 = (indicator1 > indicator2)
    
    test = c7 and c4
    
    IF test and not test[1] then THEN
     drawarrowup(barindex[0],low[0]-5)coloured(255,215,0)
    endif
    #174969 quote
    warningffwarningff
    Participant
    Average

    grand merci 🙂

    #181066 quote
    franckyfrancky
    Participant
    Junior

    Bonjour a tous , tout d’abord merci pour le partage , je cherchais le même sujet .

    l ‘exemple de Nicolas est donc valable sur la bougie -1 , mais comment fait on pour tester les 10 dernières bougies ?  voir depuis une heure bien précise comme l’ouverture ?

    Merci beaucoup de votre aide

    Cordialement

    Franck

    #181194 quote
    franckyfrancky
    Participant
    Junior

    Bonsoir a tous , en travaillant j ai trouvé comment tester si mon résultat était positif ou non sur mes X dernières bougies mais j ai un soucis

    Je travail en Tick sur le SP500 ou le STOXX et je ne peux pas utiliser  le nombre de bougies comme variable  .

    je cherche comment tester mon résultat  depuis une horaire , si vous avez une solution je suis preneur

    Merci de votre aide

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

Signal par une fleche pour 2 signaux


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
warningff @fabbis Participant
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by franckyfrancky
4 years, 10 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 07/28/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...