code prise de position

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #150855 quote
    chomowskychomowsky
    Participant
    New

    Bonjour,

    Est il possible d’avoir une condition de revente qd on achète qui stipule : je vends si mon prix d’achat=mon prix actuel ? cela fera une perte a 0…

    Peut on coder une prise de position qui serait : je prend en short lorsque le prix est le plus haut sur les 10 dernières bougies?

    #150925 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Pour sortie BE c’est un sujet qui revient souvent, voir par exemple ce post de Nicolas qui liste quelques suggestions, y compris son code original lors de la première année du site qui a fait l’objet d’un article spécifique: https://www.prorealcode.com/topic/mettre-un-stop-be/#post-143276

    Pour la prise de position, le code du plus haut des 10 dernières bougies est : highest[10](high)

Viewing 2 posts - 1 through 2 (of 2 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

code prise de position


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
chomowsky @chomowsky Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by JC_BywanJC_Bywan
6 years ago.

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 11/18/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...