trading sistem

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #138090 quote
    max1775max1775
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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.
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

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 robertogozzirobertogozzi
6 years, 3 months ago.

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