script per breakout

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #19053 quote
    papero76papero76
    Participant
    Senior

    ciao Nicolas, cerco un codice efficace per il break out del massimo precedente o del minimo precedente

    potresti aiutarmi?

    grazie

    #19579 quote
    papero76papero76
    Participant
    Senior

    BUON 2017 A TUTTI

    Nicolas potresti aiutarmi?

    #19610 quote
    NicolasNicolas
    Keymaster
    Legend

    Precedente bassa e alta da una X periodi fa? O solo l’ultimo bar / candelabri?

    #19884 quote
    papero76papero76
    Participant
    Senior

    x periodi fa

    #19899 quote
    NicolasNicolas
    Keymaster
    Legend

    Bene, così è quasi come penetrante alto degli ultimi canali Donchian e bassa.
    Questo è come potrebbe essere codificato:

    X = 20 //donchian channels period 
    takeprofit = 30 //takeprofit in points
    stoploss = 60 //stoploss in points
    
    hh = highest[X](high)
    ll = lowest[x](low)
    
    // bull side 
    if hh=hh[1] and not longonmarket then
     buy 1 share at hh stop 
    endif
    
    //bear side 
    if ll=ll[1] and not shortonmarket then
     sellshort 1 share at ll stop
    endif
    
    set target pprofit takeprofit
    set stop ploss stoploss

    È possibile modificare il codice a piacimento, con diversi TakeProfit e stoploss e anche i periodi di X del canale Donchian stesso.
    Potrebbe essere filtrato con diversi tipi di cose per garantire breakout è fatta solo nella direzione della tendenza attuale, che permette di migliorare come dovrebbe operare nei propri pensieri.

    #20631 quote
    papero76papero76
    Participant
    Senior

    ok Nicolas grazie mille

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

script per breakout


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
papero76 @papero76 Participant
Summary

This topic contains 5 replies,
has 2 voices, and was last updated by papero76papero76
9 years, 8 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 12/23/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...