screnner twist ichimoku

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

    bonjour

    Je souhaiterais savoir si il y a un code qui permet de trouver les Twist ( la SSA croise a la hausse la SSB ) dans le futur ( 26 periodes après )

    Merci beaucoup pour votre aide

    #182158 quote
    JC_Bywan
    Moderator
    Master

    Bonjour,

    En empruntant un bout de code à Nicolas via moteur de recherche interne du site: https://www.prorealcode.com/topic/trouver-un-range/#post-62882

    on peut adapter et tester:

    //--- ichimoku parameters
    p1=9
    p2=26
    p3=52
     
    tenkan=(highest[p1](high)+lowest[p1](low))/2
    kijun=(highest[p2](high)+lowest[p2](low))/2
    SSpanA=(tenkan+kijun)/2
    SSpanB=(highest[p3](high)+lowest[p3](low))/2
     
    // CROISEMENT SSA > SSB
    IF SSpanA crosses over SSpanB THEN
    TWIST = 1
    else
    twist = 0
    ENDIF
    
    SCREENER[twist]
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

screnner twist ichimoku


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
Alacha @alacha Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by JC_Bywan
4 years, 3 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 11/22/2021
Status: Active
Attachments: No files
Logo Logo
Loading...