indicateur PRT BAND

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #223755 quote
    Samir pluquinSamir 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 FXJean FX
    Moderator
    Junior

    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.
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

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 FXJean FX
3 years ago.

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