2 supertrend + momentum

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #152254 quote
    focus180
    Participant
    New

    Salve

    gentilmente potete aiutarmi a codificare questo proscreener  grafico a 15 min

    con

    1 Supertrend a 40 periodi e 2 ATR

    2 Supertrend a 10 periodi e 1 ATR

    3 momentum (40) long se >0 e short se <0

    – entriamo long ( candela successiva ) quando il 1 Supertrend è long + il 2 passa da short a long + momentum >0

    – entriamo short ( candela successiva ) quando il 1 Supertrend è short e il 2 passa da short a long + momentum <0

    grazie

    fabio

    #152267 quote
    robertogozzi
    Moderator
    Master

    ATR cosa significa? Intendi il secondo parametro del SuperTrend?

    #152285 quote
    focus180
    Participant
    New

    si esatto

     

    grazie

    #152327 quote
    robertogozzi
    Moderator
    Master

    Eccolo:

    MyMOM = Momentum[40](close)
    MyST1 = Supertrend[2,40]
    MyST2 = Supertrend[1,10]
    CondL = (close > MyST1) AND (close CROSSES OVER  MyST2) AND (MyMom > 0)
    CondS = (close < MyST1) AND (close CROSSES UNDER MyST2) AND (MyMom < 0)
    Cond  = 0
    IF CondL THEN
       Cond = 1
    ELSIF CondS THEN
       Cond = 2
    ENDIF
    SCREENER[Cond](Cond AS "1=↑, 2=↓")
    focus180 thanked this post
    #152406 quote
    focus180
    Participant
    New

    grazie

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

2 supertrend + momentum


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
focus180 @focus180 Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by focus180
5 years, 3 months ago.

Topic Details
Forum: ProScreener: Scansione Mercati & Screener
Language: Italian
Started: 11/30/2020
Status: Active
Attachments: No files
Logo Logo
Loading...