Unité temps différent

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #15175 quote
    HCHC
    Participant
    Average

    Bonjour,

    Comment faire pour que dans une stratégie, des indicateurs d’une autre donnée temps soit pris en compte.

    Exemple souhaité :

    Sur 15 minutes, je souhaite prendre une position seulement si MACD 4h, et MACD 1h , MACD moins signal est positif.

    // Conditions pour ouvrir une position acheteuse
    indicator1 = MACDline[12,26,9](close)
    indicator2 = ExponentialAverage[9](MACDline[12,26,9](close))
    c1 = (indicator1 CROSSES OVER indicator2)
    
    IF c1 THEN
    BUY 1 CONTRACT AT MARKET
    ENDIF

     

    Ma question plus général, comment intégrer une condition d’un autre temps, dans une stratégie.

    Il y at’il une formule spéciale

    Merci

    #15182 quote
    arcanearcane
    Participant
    Average

    Bonjour,

    Cela n’est pas possible pour l’instant puisque la programmation ne permet pas le multiframe.

    #136807 quote
    LuffyooLuffyoo
    Participant
    New

    Bonjour,

    Est-ce que cette fonctionnalité a été implémentée dans prt ou ce n’est toujours pas possible ?

    #136973 quote
    totoftotof
    Participant
    Junior

    Nicolas explique très bien ici le multi-timeframe

    Nicolas thanked this post
    #136985 quote
    NicolasNicolas
    Keymaster
    Legend

    L’utilisation du MTF pour ProOrder / ProBacktest (trading automatique) est disponible depuis 2 ans maintenant (Mai 2018).

    Le MTF pour ProBuilder (les indicateurs) est dispo depuis hier (pas de sujet français encore, voir le sujet anglophone: Multi timeframe – MTF indicators for ProRealTime) en version 11 uniquement.

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

Unité temps différent


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
HC @hc Participant
Summary

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

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 10/19/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...