Message “proscreener temporairement indisponible”

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #180794 quote
    philvm69philvm69
    Participant
    Average

    Bonjour Nicolas, bonjour à tous,

    J’aurais besoin de votre aide sur le screener ci-après; je recherche le nombre d’UT telle que le MACD > signal depuis la réalisation de la condition Macd croise à la hausse son signal; jje limite à 5 UT max pour ne pas trop surcharger. Mon code commence son exécution mais avant d’avoir terminé de screener les marchés demandés, il se plante avec message: “Proscreener temporairement indisponible. Réessayer plus tard. Ce proscreener n’a pas été exécuté”. Je pense avoir certainement fauté dans le code mais je n’arrive pas à trouver.

    Merci d’avance pour votre aide,

    Cordialement,

    ind1 = MACDline[12,26,9](close)
    ind2 = MACDSignal[12,26,9](close)
    myvolumecapitalise = CALL volumecapitalise
    if ind1 crosses over ind2 then
    start=barindex
    endif
    
    c1 = ind1 > ind2
    
    count = 0
    
    if c1 then
    for i = 0 to (max(1,barindex-start)) do
    if c1[i]>=c1[i+1] then
    count=count+1
    else
    count=0
    break
    endif
    next
    endif
    
    c2 = (myvolumecapitalise > 5000000)
    c3 = count < 5
    
    SCREENER [c1 and c2 and c3] (count As "nbUT")
    #180802 quote
    supertitisupertiti
    Participant
    Master

    Bonjour Phil

     

    J’ai eu le même problèmes ces derniers jours ! je l’ai résolu en mettant les variables dans variables et non dans le corps du code.

    Dis moi si cela fonctionne pour toi également

    Bons trades

    philvm69 thanked this post
    #180809 quote
    philvm69philvm69
    Participant
    Average

    Bonjour SuperTiti,

    Merci je vais essayer mais entretemps, je l’ai un peu modifié (certainement simplifié) en repartant de la base avec création simplifiée + ajout ” ” après le CALL.

    ind1 = MACD[12,26,9](close)
    myvolumecapitalise = CALL "volumecapitalise"
    if ind1 crosses over 0 then
    start=barindex
    endif
    count = 0
    if(ind1>0) then
    for i = 0 to (max(1,barindex-start)) do
    if ind1[i]>=ind1[i+1] then
    count=count+1
    else
    count=0
    break
    endif
    next
    endif
    ind2 = count>0 and count<5
    ind3 = myvolumecapitalise > 5000000
    SCREENER [ind2 and ind3] (count As "NbUT")

     

    Merci en tout cas pour ta réponse et ton support.

    Bon trades à toi,

    Cordialement

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

Message “proscreener temporairement indisponible”


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
philvm69 @philvm69 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by philvm69philvm69
4 years, 11 months ago.

Topic Details
Forum: ProScreener : Scanners de Marché & Détection
Language: French
Started: 11/02/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...