Announcement

Collapse
No announcement yet.

Psar

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

  • Psar

    Does anyone have the code for a PSAR study with an audio alert ?

    I've tried using the wizard but it won't accept parameters,

    Thanks for any assistance

  • #2
    chiropharm
    Click here and download basicParabolic.efs.
    Then open it with Editor and add the following code after the section where it says "Insert your code etc etc..."

    if(close(-1)<vPSAR.getValue(ParabolicStudy.STOP,-1)&&
    close()>vPSAR.getValue(ParabolicStudy.STOP)){
    Alert.playSound("ding.wav");
    }
    if(close(-1)>vPSAR.getValue(ParabolicStudy.STOP,-1)&&
    close()<vPSAR.getValue(ParabolicStudy.STOP)){
    Alert.playSound("ding.wav");
    }

    Also comment out (or delete) the line in preMain that begins with "checkVersion... "
    This should give you an audible alert when close crosses the Parabolic Stop.
    Alex

    Comment


    • #3
      Re: Reply to post 'Psar'

      Thanks Alexis.

      Works just like I want it to.


      ----- Original Message -----
      From: <[email protected]>
      To: <[email protected]>
      Sent: Sunday, August 17, 2003 12:11 PM
      Subject: Reply to post 'Psar'


      > Hello chiropharm,
      >
      > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      >

      Comment

      Working...
      X