Tick by Tick / volume

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #13754 quote
    Henry
    Participant
    Average

    A request that was addressed to ProRealTime:

     

    Hi, ProRealTime

    Info: by close i mean a (ONE) transaction, not in 5 minute or 1 hour, but a close is a(one) close in the tick list. Buyers and sellers met and made a transaction. One close is in right terms i think, one tick.

    I want to make an indicator for volume. Were i want to collect volume per second. As often happens, there is for an example 7 closes in a second.
    So whenever there is a close i want it to display its volume, and if there is 5 closes in a second then the bar(in the requested indicator) should show those fives total volume.
    I only want to display when a close happens, so if nothing happens i don’t want an empty indicator. I don’t want to show every second, but only when something happens in that second and then sum the volume of all those closes that happened in that second.

    Can you also email me with the code so i get it, and also send the link if you post it somewhere?

    I tried to be clear, if you need some more info just email me, I will easily answer in a day.

    Thanks in advance & Best regards

     

    Suggestion for an anwser:

    In a tick-by-tick view, the code below should correspond to the request:

    if opentime <> opentime[1] then
    count=1
    else
    count=count+1
    endif
    
    return count
    
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Tick by Tick / volume


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Henry @henry Participant
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 09/26/2016
Status: Active
Attachments: No files
Logo Logo
Loading...