Robot SuperTrend

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #99690 quote
    Marco Tanguy Ethan IVMarco Tanguy Ethan IV
    Participant
    New

    Bonjour,

    Je voudrais crée un robot avec l’indicateur Supertrend. Quand la ligne passe au vert , c’est un signe haussier , et quand ça passe au rouge c’est baissier . Sur 15minutes ça serais bien je pense, je vous est envoyer une image

    merci beaucoup

    supertrend.png supertrend.png
    #99694 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Je déplace le post du forum ProBuilder (réservé aux indicateurs) vers le forum ProOrder (stratégies de trading automatique et backtests)

    #99744 quote
    NicolasNicolas
    Keymaster
    Legend

    Ce genre de robot très simple peut être codé avec l’assistant de programmation dans la plateforme.

    Sinon voilà le code qui devrait faire l’affaire:

    st = supertrend[3,10]
    
    if close crosses over st then 
     buy at market 
    endif 
    
    if close crosses under st then 
     sellshort at market 
    endif

    (non testé).

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

Robot SuperTrend


ProOrder : Trading Automatique & Backtests

New Reply
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by NicolasNicolas
7 years, 6 months ago.

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 05/30/2019
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...