indicateur PRT BAND

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #223755 quote
    Samir pluquin
    Participant
    Junior

    Bonjour a tous =)

    je suis en train de tester l’indicateur PRT band et je souhaiterais savoir comment code t on lorsque la bande est rouge pour une position vendeuse et lorsque la bande est verte pour une position acheteuse

    pouvez vous me dire quel sont les codes a ajouter svp

    merci beaucoup de votre aide

    #224051 quote
    Jean FX
    Moderator
    New

    Voici un exemple :
    Sens donnera 1 quand c’est vert, -1 quand c’est rouge.

    up=PRTBandsUp
    down=PRTBandsDown
    if close crosses over up THEN
    sens=1
    ENDIF
    if close crosses under down then
    sens=-1
    endif
    
    return sens
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

indicateur PRT BAND


ProOrder : Trading Automatique & Backtests

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Jean FX
2 years, 3 months ago.

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 11/15/2023
Status: Active
Attachments: No files
Logo Logo
Loading...