Candele-Up-Down

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #62650 quote
    AndyAndy
    Participant
    New
    DEFPARAM CalculateOnLastBars = 5000
     
    Ora     = max(min(Ora,23),0)                      //l'ora deve essere tra 0 e 23
    Candele = max(min(Candele,500),2)                 //le candele devono essere tra 2 e 500
     
    IF Hour = Ora THEN                                //quando siamo all'ora indicata...
       Rialziste  = summation[Candele](close > open)  //... conta le candele rialziste...
       Ribassiste = summation[Candele](close < open)  //... e quelle ribassiste
    ELSE
       Rialziste  = 0
       Ribassiste = 0
    ENDIF
     
    return Rialziste coloured (0,0,255,255) as "Up", Ribassiste coloured (255,0,0,255) as "Down"

     

    #62662 quote
    robertogozzirobertogozzi
    Moderator
    Legend
    Perché hai pubblicato questo topic duplicato dell’altro https://www.prorealcode.com/topic/contatore-barre-medie-mobili/page/2/#post-62578?
    #62683 quote
    AndyAndy
    Participant
    New
    Buongiorno,chiedo scusa ho commesso un errore. Stavo cercando di provare a codificare l’idicatore per metatrader4 ma non ho capito nulla,le chiedo troppo se mi manda l’indicatore in formato mq4 per email,le chiedo scusa ma non riesco..
Viewing 3 posts - 1 through 3 (of 3 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

Candele-Up-Down


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
Andy @andrea-tomassini Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by AndyAndy
8 years, 7 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 02/13/2018
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...