On-Balance Volume Modified from April Issue Stock & Commodities

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #125254 quote
    Loop
    Participant
    Senior

    Dear All,

    could you translate into Prorealtime language the “Modified on Balance Volume” indicator described on April issue of Stock & Commodities?

    I attached the Tradestation language.

    Thanks a lot in advance

    Best regards

    Loop

     

     

    // On-Balance Volume Modified
    // Vitali Apirine 
    // TASC April 2020 
    inputs: 
    OBVMLength( 7 ), 
    SignalLineLength( 10 ) ; 
    variables: 
    OBVValue( 0 ), 
    OBVMValue( 0 ), SignalLineValue( 0 ) ; 
    OBVValue = OBV ; 
    OBVMValue = XAverage( OBVValue,  OBVMLength ) ; 
    SignalLineValue = XAverage( OBVMValue,  SignalLineLength ) ; 
    Plot1( OBVMValue, "OBVM" ) ; Plot2( SignalLineValue, "Signal Line" ) ;
    
    #125290 quote
    Nicolas
    Keymaster
    Master

    This is indicator is nothing more than an EMA of OBV with a signal line made of a secondary EMA of the first one. I don’t know why it deserves an article in TASC. Anyway, here is the code:

    src = customclose
    length1 = 7 //Length1
    length2 = 10 //Length2
    
    obvm = average[length1,1](obv)
    sig = average[length2,1](obvm)
    
    return obvm,sig
    
    on-balance-volume-modified.png on-balance-volume-modified.png
    #138884 quote
    JURG
    Participant
    Junior

    Hello Nicolas, i get only this in my program(see attachment).

    Can you help me?

    Jurgen.

    OBVM.png OBVM.png
    #138886 quote
    robertogozzi
    Moderator
    Master

    Remove or comment out line 1.

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

On-Balance Volume Modified from April Issue Stock & Commodities


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Loop @loop Participant
Summary

This topic contains 3 replies,
has 4 voices, and was last updated by robertogozzi
5 years, 7 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 04/08/2020
Status: Active
Attachments: 2 files
Logo Logo
Loading...