trading sistem

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #138090 quote
    max1775
    Participant
    Average

    Come trasformare screener in trading sistem aggiungendo stop loss a -15 % e tache profit a + 20%

    questo e lo screener

    Timeframe(Weekly)
    
    ONCE Periodi = 10
    
    DonchianSUP = highest[Periodi](high[1])
    
    //DonchianINF= lowest[Periodi](low[1])
    
    c1 = close Crosses Over DonchianSUP
    
    c2 = momentum[50](close) > 12
    
    Screener[c1 and c2]
    #138099 quote
    robertogozzi
    Moderator
    Master

    Per favore usa sempre il pulsante “Insert PRT code” quando inserisci il codice nei tuoi post per facilitare la lettura degli altri.

    Grazie 🙂

    #138100 quote
    robertogozzi
    Moderator
    Master

    Eccolo (ho commentato il riferimento al TIMEFRAME in modo da usarlo in qualunque TF):

    DEFPARAM CumulateOrders = false
    //Timeframe(Weekly)
    ONCE Periodi = 10
    DonchianSUP  = highest[Periodi](high[1])
    //DonchianINF= lowest[Periodi](low[1])
    c1 = close Crosses Over DonchianSUP
    c2 = momentum[50](close) > 12
    IF c1 AND c2 AND Not OnMarket THEN
       TP = close * 0.20         //20% take profit
       SL = close * 0.15         //15% stoop loss
       BUY 1 Contract AT Market
       SET TARGET PROFIT TP
       SET STOP   LOSS   SL
    ENDIF
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

trading sistem


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
max1775 @max1775 Participant
Summary

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

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 07/02/2020
Status: Active
Attachments: No files
Logo Logo
Loading...