Cruce de medias

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #234744 quote
    agforja
    Participant
    New

    Buenos dias

    como puedo hacer un programa que me filtre los valores que cumplen:

    1-la media de 6 sesiones > la media de 70 sesiones

    2-el precio <= 2% media de 70 (o sea esta pegada)

    muchas gracias

    #234749 quote
    Iván González
    Moderator
    Legend

    Hola. Aquí tienes un screener:

    smaFast=average[6](close)
    smaSlow=average[70](close)
    
    dist=abs(close-smaSlow)/smaSlow*100
    
    c1=smaFast>smaSlow
    c2=dist<=2
    
    screener[c1 and c2]
    agforja thanked this post
Viewing 2 posts - 1 through 2 (of 2 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

Cruce de medias


ProScreener: Buscadores de Mercado y Rastreo

New Reply
Author
author-avatar
agforja @agforja Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Iván González
2 years, 2 months ago.

Topic Details
Forum: ProScreener: Buscadores de Mercado y Rastreo
Language: Spanish
Started: 07/03/2024
Status: Active
Attachments: No files
Logo Logo
Loading...