Target suivant rsi

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #182788 quote
    maxlysmaxlys
    Participant
    Senior

    Bonjour à tous,

     

    J’essaye de programmer avec l’aide de création de programme du pro-order une de mes stratégies, mais la condition de ma sortie de trade est si le RSI (x periodes) est > 80 lors de la cloture de la bougie.

    Sur les conditions de target, je n’ai trouvé que des pips, % etc.. mais pas ce type de conditions.

    Est-il possible de la créer ? si oui quel serait la ligne de code ?

    Merci

    #182791 quote
    maxlysmaxlys
    Participant
    Senior

    Puis-je utiliser tout simplement ceci ?

    indicator1 = RSI[x](close)

    c1 = (indicator1 > 80)

     

    Merci

    #182812 quote
    JC_BywanJC_Bywan
    Moderator
    Master
    if longonmarket and rsi[x](close)>80 then
      sell at market
    endif
    #182876 quote
    NicolasNicolas
    Keymaster
    Legend

    L’instruction SELL permet en effet de clôturer une position ACHAT.

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

Target suivant rsi


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
maxlys @maxlys Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by NicolasNicolas
4 years, 10 months ago.

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