Proscreener ichimoku

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

    Bonjour à tous

    Je cherche un proscreener dont les paramètres seraient les suivants :

    ACHAT si une même bougie croise la Tenkan sen et la Kijun , et clôture au dessus de la Kijun et du nuage Kumo

    VENTE si une même bougie croise la tenken sen et la Kijun, et clôture en dessous de al kijun et du nuage

    Je n’y connais rien en programmation . Quelqu’un serait il apte à me proposer ou me vendre un code afin de réaliser ce proscreener ?

    Merci pour vos retours

    Charles

    #73479 quote
    gabri
    Participant
    Master

    This should give you what you need. It will return 1 for the stocks long and 0 for the shorts:

    //basic definitions
    conversion=(highest[9](high)+lowest[9](low))/2
    base=(highest[26](high)+lowest[26](low))/2
    //conditions for conversion/base positioning
    c10=close crosses over base
    c11=close crosses over conversion
    c50=close crosses under base
    c51=close crosses under conversion
    //spanA and spanB future value
    spanA=(conversion+base)/2
    spanB=(highest[52](high)+lowest[52](low))/2
    
    c20=close >max(spanA[52],spanB[52])
    c21=close>base
    c60=close <max(spanA[52],spanB[52])
    c61=close<base
    
    long=c10 and c11 and c20 and c21
    short=c50 and c51 and c60 and c61
    
    if long then
    ret=1
    elsif short=1 then
    ret=0
    endif
    
    
    
    SCREENER [long or short](ret as "position")
    Nicolas thanked this post
    #73482 quote
    robertogozzi
    Moderator
    Master

    S’il vous plaît parler en français sur le forum français.

    Merci.

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

Proscreener ichimoku


ProScreener : Scanners de Marché & Détection

New Reply
Author
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by robertogozzi
7 years, 8 months ago.

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