transformer code indicateur en trading automatique pro order

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #114003 quote
    sublime06sublime06
    Blocked
    Senior

    bonjour, je souhaite un code indicateur pour le transformé en code pro ordre. je ne comprends pas comment faire . si quelqu’un pouvait m’aider pour cela, merci

    if aAdx crosses over 17 and sto8 < sto8[3] then
    Drawtext ("texte", barindex,high+2.5*Rge/Shifttext /1,SansSerif,bold,11) coloured (204,0,51)
    elsif aAdx crosses over 17 and sto8 > sto8[3] then
    Drawtext ("texte", barindex,low-2.5*Rge/Shifttext /1,SansSerif,bold,11) coloured (0,0,150)
    endif
    #114035 quote
    NicolasNicolas
    Keymaster
    Legend

    Au lieu d’écrire des textes, on va simplement remplacer ces instructions par celles permettant d’ouvrir des ordres de trading automatique.

    if aAdx crosses over 17 and sto8 < sto8[3] then
     sellshort 1 contract at market //ORDRE DE VENTE 
    elsif aAdx crosses over 17 and sto8 > sto8[3] then
     buy 1 contract at market //ORDRE ACHAT 
    endif

    Je te laisse le soin de vérifier que la première condition est bien celle adaptée pour ouvrir un ordre de vente (et vice versa) suivant ta stratégie.

    #114057 quote
    sublime06sublime06
    Blocked
    Senior

    Merci beaucoup

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

transformer code indicateur en trading automatique pro order


ProOrder : Trading Automatique & Backtests

New Reply
Author
Summary

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

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 12/01/2019
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...