Prendre benefice sur chandelier en cours et non suivante

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

    Bonjour comment peut on faire en sorte de prendre un tp (rachat de position) lorsque le prix touche une moyenne mobile et au moment ou il la touche et non attendre la barre suivante (voir image).

     

    Merci

    bar-en-cours.png bar-en-cours.png mm-bar.png mm-bar.png
    #149842 quote
    NicolasNicolas
    Keymaster
    Legend

    Si il s’agit d’une vente à découvert (SELLSHORT), alors on peut placer un ordre de fermeture (rachat) conditionnel sur la valeur de la moyenne mobile :

    if shortonmarket then 
     exitshort at average[20] stop
    endif
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

Prendre benefice sur chandelier en cours et non suivante


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
Umbrapro @umbrapro Participant
Summary

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

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