Transaction Volume Indicator

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #152774 quote
    Ichimoku Reading
    Participant
    Master
    //
    //=/===============/=//=/===============/=//=/ Nervosité
    //
    
    defparam drawonlastbaronly = true
    
    
    //
    //=/===============/=//=/===============/=//=/ Minute signal
    //
    
    
    //=/ signal chaque minutes
    signal = 0
    //=//
    if openminute > openminute[1] then
    signal = 1
    endif
    //=//
    if signal[1] = 1 then
    signal = 0
    endif
    
    
    //
    //=/===============/=//=/===============/=//=/ Decompte de l'espace minute
    //
    
    
    //=/ Decompte
    ho = 1
    if signal = 0 then
    ho = ho[1] + 1
    endif
    //=//
    if ho < ho[1]-1 then
    ha = ho[ho]
    endif
    //=//
    if ha < ho then
    ha = ho
    endif
    
    
    //
    //=/===============/=//=/===============/=//=/ Moyenne des pics de transaction
    //
    
    
    //=/ Moyenne des transaction
    MxT = average[95000](ha)
    drawhline(MxT) coloured (R,G,B)
    
    
    //
    //=/===============/=//=/===============/=//=/ Coloration
    //
    
    
    if ha => Mxt then
    R = 0
    G = 153
    B = 255
    //=//
    elsif ha < MxT then
    R = 102
    G = 102
    B = 102
    endif
    
    
    //
    //=/===============/=//=/===============/=//=/ Visuel
    //
    
    
    //=/ Rectangle
    if ha => MxT then
    drawrectangle(barindex[95000],MxT,barindex,0) coloured(0,153,255,100) bordercolor(0,0,0,0)
    //=//
    elsif ha < MxT then
    drawrectangle(barindex[95000],MxT,barindex,0) coloured(199,19,19,100) bordercolor(0,0,0,0)
    endif
    
    
    //
    //=/===============/=//=/===============/=//=/ end
    //
    
    
    return ha coloured (R,G,B) as "Transaction"
    
    #152785 quote
    Ichimoku Reading
    Participant
    Master

    Note that this indicator is more useful for scalping than for day trading, even useless beyond 1 minute.

    The idea is based on the number of short-term speakers and therefore, the nervousness of the short term.

     

    Increasing the transaction unit of the calculation and changing the parameters of the indicator could be useful for day trading.

    #152786 quote
    Ichimoku Reading
    Participant
    Master

    Use the indicator on 1 Tick with 200K of data.

    #152875 quote
    Fabian
    Participant
    Master

    Hi IV Mcm,

    are you also interested in new ideas for a new indicator, and if so, can I send you a private message somehow?

    Thanks 🙂

    #153030 quote
    Ichimoku Reading
    Participant
    Master

    Hello,

    If you wish to make an encoding request, you can also ask Nicolas, founder of the site and professional encoder!

    You can also make a request on the forum 😉

    #159441 quote
    Ichimoku Reading
    Participant
    Master

    Update with patch and faster calculation speed, the indicator is still displayed in the time unit 1 tick, but you can choose the amount of history you want.

     

    Also works on the time unit 1 volume!

     

     

    //
    //=/ = = = = = Paramettre de Base
    //
    
    defparam drawonlastbaronly = true
    drawcandle(-1,0,-1,0) coloured(0,0,0,0)
    
    //
    //=/ = = = = = Signal Minute
    //
    
    SxM = 0
    if (minute > minute[1]) then
    SxM = 1
    endif
    //=//
    if hour > hour[1] then
    SxM = 2
    endif
    //=//
    if SxM[1] = 1 or SxM[1] = 2 then
    SxM = 0
    endif
    //=//
    RxM = 1
    if SxM = 0 then
    RxM = RxM[1] +1
    endif
    //=//
    if SxM = 1 or SxM = 2 then
    MxM = RxM[RxM]
    endif
    //=//
    if MxM < RxM then
    MxM = RxM
    endif
    
    //
    //=/ = = = = = Fin
    //
    
    return RxM coloured(0,150,255,100) style(line,1) as "RxM", MxM coloured(0,150,255) style(line,2) as "MxM", 0 coloured(102,102,102) style (line,2) as "0"
    
    Nicolas thanked this post
    #159544 quote
    Ichimoku Reading
    Participant
    Master

    New fix, the last one gives a bug every new hour

    //
    //=/ = = = = = Paramettre de Base
    //
    
    defparam drawonlastbaronly = true
    drawcandle(0,200,0,200) coloured(0,0,0,0)
    
    //
    //=/ = = = = = Signal Minute
    //
    
    SxM = 0
    if (openminute > openminute[1]) then
    SxM = 1
    endif
    //=//
    if openhour > openhour[1] then
    SxM = 2
    endif
    //=//
    if SxM[1] = 1 then
    SxM = 0
    endif
    //=//
    if SxM[1] = 2 then
    SxM = 0
    endif
    //=//
    RxM = 1
    if SxM = 0 then
    RxM = RxM[1] +1
    endif
    //=//
    if SxM = 1 or SxM = 2 then
    MxM = RxM[RxM]
    endif
    //=//
    if MxM < RxM then
    MxM = RxM
    endif
    
    //
    //=/ = = = = = Fin
    //
    
    return RxM coloured(0,150,255,100) style(line,1) as "RxM", MxM coloured(0,150,255) style(line,2) as "MxM", 0 coloured(102,102,102) style (line,2) as "0"
    
    Razz and Nicolas thanked this post
    #200243 quote
    Khaled
    Participant
    Veteran

    Hi Ichimoku Reading

    Thanks for sharing this code. Do you know ho we can adapt it for 3000 Ticks or 5 min?

    Thanks a lot!

    #203571 quote
    ullle73
    Participant
    Senior

    can you describe in short how you use the indicator to scalp?

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

Transaction Volume Indicator


ProBuilder: Indicators & Custom Tools

New Reply
Author
Summary

This topic contains 8 replies,
has 4 voices, and was last updated by ullle73
3 years, 3 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 12/06/2020
Status: Active
Attachments: 5 files
Logo Logo
Loading...