Trading sistem

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #133502 quote
    LorisLoris
    Participant
    Junior
    salve e possibile realizzare un trading sistem basato su uno screener  aggiungendo solo il prezzo  o percentuale di variazionea cui comprare.  E take profit e stop lose da Impostare in percentuale alla variazione del prezzo?   Grazie
    #133503 quote
    robertogozzirobertogozzi
    Moderator
    Legend
    Si, occorre lo screener.
    #133507 quote
    LorisLoris
    Participant
    Junior
    indicator1 = DI[18](close)
    c1 = (indicator1 > 14)
    indicator2 = Average[52](close)
    c2 = (close[1] >= indicator2[1])
    indicator3 = Average[200](close)
    c3 = (close[1] > indicator3[1])
    indicator4 = DonchianChannelUp[10]
    c4 = (close[1] > indicator4[1])
    SCREENER[c1 AND c2 AND c3 AND c4] (Variation AS “% Var barra prec”)
    #133525 quote
    robertogozzirobertogozzi
    Moderator
    Legend
    Come ben evidenziato qui sotto in giallo, tra le regole da rispettare c’è quella che dice

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

    C’è anche quella di pubblicare nel forum corretto, tu vuoi una strategia, quindi va nel supporto ProOrder. Ti prego di rispettarle la prossima volta. Grazie 🙂
    #133527 quote
    robertogozzirobertogozzi
    Moderator
    Legend
    Questa è la strategia ricavata dallo screener, senza alcuna modifica e con solo l’aggiunta del TP e SL (non l’ho provato):
    DEFPARAM CumulateOrders = false
    indicator1 = DI[18](close)
    c1 = (indicator1 > 14)
    indicator2 = Average[52](close)
    c2 = (close[1] >= indicator2[1])
    indicator3 = Average[200](close)
    c3 = (close[1] > indicator3[1])
    indicator4 = DonchianChannelUp[10]
    c4 = (close[1] > indicator4[1])
    IF c1 AND c2 AND c3 AND c4 AND Not OnMarket THEN
       BUY 1 CONTRACT AT MARKET
       SL = open * Variation / 100     //Stop Loss %variazione
       TP = SL * 3                     //Take Profit = 3 volte lo Stop Loss
       SET TARGET PROFIT 
       SET STOP   LOSS   
    ENDIF
    
    
Viewing 5 posts - 1 through 5 (of 5 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
Loris @loris Participant
Summary

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

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