Moyenne de Hull

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #239590 quote
    Diamant
    Participant
    Junior

    Bonjour à vous tous,

    Je ne parviens pas à créer un système de trading basé sur la moyenne mobile de Hull, l’un d’entre vous peut-il m’aider ?. Merci

    Ci-dessous mon besoin :

    Achat quand la moyenne mobile de Hull croise à la hausse, ensuite la position est coupée  quand elle recroise à la baisse et un ordre de Vente à découvert est placé sur le marché.

    Et ainsi de suite tant que le système n’est pas désactivé.

    Cerise sur le gâteau, la possibilité d’y associer un Stop suiveur et un teke profit

    Si ce n’est pas très clair, je reste à l’écoute.

    Merci

    #239608 quote
    Iván González
    Moderator
    Master

    Je pense que vous avez déjà posé la question en ouvrant un ticket sur Prorealtime.

    //-------Inputs
    avgPrd=20
    takeprofit=100
    trailingstop=50
    //-------Hull Average
    hull=hullaverage[avgPrd](close)
    
    //-------Long trades
    if hull crosses over close then
    buy 1 contract at market
    set target pprofit takeprofit
    set stop ptrailing trailingstop
    endif
    //-------Short trades
    if hull crosses under close then
    sellshort 1 contract at market
    set target pprofit takeprofit
    set stop ptrailing trailingstop
    endif
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Moyenne de Hull


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
Diamant @b-castanier Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Iván González
1 year, 4 months ago.

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 10/28/2024
Status: Active
Attachments: No files
Logo Logo
Loading...