Comprare dopo una discesa di (x) rispetto alla giornata precedente

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

    Salve a tutti !

    Chiedo aiuto per codificare la seguente idea

    Comprare dopo una discesa di (x)  rispetto alla giornata precedente con chiusura di giornata nella metà inferiore del range di (x) valore

    grazie!!

    #193872 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Prova questo:

    Timeframe(Daily,UpdateOnClose)
    ONCE PC  = 1.00            //1.00%
    Oggi     = close
    Ieri     = close[1]
    Discesa  = ((Oggi / Ieri) - 1) <= -(PC / 100)
    Chiusura = (Oggi <= (low[1] + (Range[1] / 2))) AND (Oggi > low[1])
    //
    Timeframe(default)
    IF Discesa AND Chiusura AND Not OnMarket THEN
       BUY 1 CONTRACT AT MARKET
       SET STOP   pLOSS   200
       SET TARGET pPROFIT 600
    ENDIF
    //graph Discesa
    //graph (Oggi / Ieri)
    //graph (Oggi / Ieri) - 1
    //graph -(PC / 100)
    //graph Chiusura
    #193878 quote
    edilio75edilio75
    Participant
    New

    Grazie Roberto come posso lo provo subito

Viewing 3 posts - 1 through 3 (of 3 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

Comprare dopo una discesa di (x) rispetto alla giornata precedente


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
edilio75 @edilio75 Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 05/19/2022
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...