aiuto rottura massimo della barra in corso

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5691 quote
    fma
    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
    Nicolas
    Keymaster
    Master

    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
    fma
    Participant
    New

    Grazie Nicolas, allego un pdf dove spiego meglio

    Saluti

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

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 fma
9 years, 9 months ago.

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