aiuto rottura massimo della barra in corso

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

    vorrei costruire un trading system semplice, chi può aiutarmi:

    quando la barra in corso supera di 3pip il massimo della barra precedente allora compra.

    Lavoro solo su barre a 3 ore e vorrei attivare il Trading system solo per le barre delle ore 10/13, 13/16, 16/19, 19/22.

    grazie

    #5737 quote
    NicolasNicolas
    Keymaster
    Legend

    Ciao, per il sistema funzioni correttamente, è necessario attivare il programma sull’unità 3H di tempo, perché questo test solo una volta, con ogni nuove condizioni a barre.

    Ecco il codice:

    defparam cumulateorders = false
    
    if open>high[1]+3*pipsize then 
      BUY 1 CONTRACT AT MARKET 
    endif

    Attenzione, non c’è un “stop loss”! e proibito combinare gli ordini, ci sarà una alla volta. Siamo in grado di cambiarlo, mi dica esattamente come si vuole fare 🙂

    #5751 quote
    fmafma
    Participant
    New

    Grazie Nicolas, allego un pdf dove spiego meglio

    Saluti

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

aiuto rottura massimo della barra in corso


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
fma @fma Participant
Summary

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

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