Announcement

Collapse
No announcement yet.

Need a simple volume study

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Need a simple volume study

    I just wanted VOLUME EFS that does EXACTLY what the BASIC STUDIES in e signal does , but need to add min 0 max 1000 scale. It would change color just like the basic study does (Color bars based on previous volume bars)
    Your library volume has no premain so I cut and pasted from other but this did not work.
    I tried this in formula wizard but volume study was not an option.

    Thanks

  • #2
    Re: Reply to post 'Need a simple volume study'

    function preMain(){
    // addBand( 0, PS_SOLID, 1, Color.magenta, 1 );
    // addBand( 1000, PS_SOLID, 1, Color.magenta, 3 );
    setStudyMin( 0 );
    setStudyMax( 1000 );
    setPlotType( PLOTTYPE_HISTOGRAM );

    }

    function main(){
    return volume()
    }


    ----- Original Message -----
    From: <[email protected]>
    To: <[email protected]>
    Sent: Monday, December 15, 2003 10:17 PM
    Subject: Reply to post 'Need a simple volume study'


    > Hello dloomis,
    >
    > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    >

    Comment

    Working...
    X