Incrocio di 2 medie mobili e parabolic sar

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #194629 quote
    Fabry11
    Participant
    New

    Salve, vorrei creare uno screener con l’incrocio di due medie mobile una 50 e l’altra a 20 sul time frame giornaliero con l’aggiunta del parabolic sar sul time frame a 4 ore.

    provando da solo sono riuscito a creare il codice che riporto sotto ma mi indica che ci sono degli errori

    Se potete aiutarmi nella realizzazione del codice vi ringrazio.

    indicator1 = WeightedAverage[20](close)[1](daily)
    indicator2 = WeightedAverage[65](close)[1](daily)
    c1 = (indicator1[1] > indicator2[1])
    indicator3 = SAR[0.02,0.02,0.2](H4)
    c3 = (close >= indicator3)
    
    SCREENER[c1 and c3] ((close/DClose(1)-1)*100 AS "% Var ieri")
    #194630 quote
    jacquesgermain
    Participant
    Veteran

    cela semble fonctionner ainsi :

    Timeframe(default)
    TIMEFRAME(daily)
    indicator1 = WeightedAverage[20](close)[1]//(daily)
    indicator2 = WeightedAverage[65](close)[1]//(daily)
    c1 = (indicator1[1] > indicator2[1])
    TIMEFRAME(4 hour)
    indicator3 = SAR[0.02,0.02,0.2]
    c3 = (close >= indicator3)
    Timeframe(default)
    SCREENER[c1 and c3] ((close/DClose(1)-1)*100 AS “% Var ieri”)

    #194641 quote
    Fabry11
    Participant
    New

    Grazie mille

    #194649 quote
    robertogozzi
    Moderator
    Legend

    @jacquesgermain

    Pubblica solo nella lingua del forum in cui stai postando. Ad esempio solo l’inglese nei forum di lingua inglese e il francese solo nei forum di lingua francese.

    Grazie 🙂

    jacquesgermain thanked this post
    #197235 quote
    Fabry11
    Participant
    New

    Scusate la mia ignoranza con i codici, volevo chiedere un aiuto per le stesse condizioni del codice riportato sopra, però al ribasso.

    Timeframe(default)
    TIMEFRAME(daily)
    indicator1 = WeightedAverage[20](close)[1]//(daily)
    indicator2 = WeightedAverage[65](close)[1]//(daily)
    c1 = (indicator1[1] > indicator2[1])
    TIMEFRAME(4 hour)
    indicator3 = SAR[0.02,0.02,0.2]
    c3 = (close >= indicator3)
    Timeframe(default)
    SCREENER[c1 and c3] ((close/DClose(1)-1)*100 AS “% Var ieri”)
    #197242 quote
    robertogozzi
    Moderator
    Legend

    La linea 1 non serve.

    Questo è il codice per il ribasso (non l’ho provato):

    TIMEFRAME(daily)
    indicator1s = WeightedAverage[20](close)[1]//(daily)
    indicator2s = WeightedAverage[65](close)[1]//(daily)
    c1s = (indicator1s[1] < indicator2s[1])
    TIMEFRAME(4 hour)
    indicator3s = SAR[0.02,0.02,0.2]
    c3s = (close < indicator3s)
    Timeframe(default)
    SCREENER[c1s and c3s] ((close/DClose(1)-1)*100 AS “% Var ieri”)
Viewing 6 posts - 1 through 6 (of 6 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

Incrocio di 2 medie mobili e parabolic sar


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
Fabry11 @hit-man Participant
Summary

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

Topic Details
Forum: ProScreener: Scansione Mercati & Screener
Language: Italian
Started: 06/04/2022
Status: Active
Attachments: No files
Logo Logo
Loading...