Conversion indicateur mq4 vers PRT

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #235650 quote
    touline
    Participant
    Senior

    Bonjour
    Pourriez-vous convertir cet indicateur mq4 vers prorealtime s’il vous plait
    Un grand merci d’avance
    Cordialement

     

    #235706 quote
    Iván González
    Moderator
    Master

    salut, ici tu vois :

    // Calculate APB values
    APBClose = (open[1] + high[1] + low[1] + close[1]) / 4 
    
    APBClose = (APBClose + close[1]) / 2
    APBOpen = (open[2] + close[2]) / 2
    APBHigh = max(high[1], max(APBOpen, APBClose))
    APBLow = min(low[1], min(APBOpen, APBClose))
    
    // Draw the candlestick
    if APBOpen < APBClose then
    drawcandle(APBOpen, APBHigh, APBLow, APBClose) coloured("yellow")
    else
    drawcandle(APBOpen, APBHigh, APBLow, APBClose) coloured("blue")
    endif
    
    return
    #235709 quote
    touline
    Participant
    Senior

    super

    un grand MERCI Ivan !

    Bonne journée

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Conversion indicateur mq4 vers PRT


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
touline @touline Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by touline
1 year, 6 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 07/23/2024
Status: Active
Attachments: 2 files
Logo Logo
Loading...