Announcement

Collapse
No announcement yet.

basicmax2(alerts)-3a.efs

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

  • basicmax2(alerts)-3a.efs

    I need help in modifying the basicmax2(alerts)-3a.efs.
    would like to substitute the "MA1" & "MA2" with the T3Avg script to create "T3Avg1" & "T3Avg2" a two line cross over alert.

    Peter
    Attached Files

  • #2
    Peter
    Attached is a slightly revised version of the t3avg2.efs that fixes an error that occurrs when it is running in real time (see red plot in the image below). The changes are commented in the efs.
    Alex

    Attached Files

    Comment


    • #3
      Peter
      The attached efs uses call() functions to t3avg3.efs to create two instances of t3avg.



      Download the attached efs to the same folder in which you have saved the t3avg3.efs I posted in my prior message. Then using the Editor transfer the conditions from basicmax2(alerts)-3a.efs into the section marked //insert here the conditions... and replace the variables with the corresponding ones from lines 54-59 of the attached efs (for example in place of vMA2.getValue(MAStudy.MA,-2) you would use t3Avg2_2)
      Source and length for each t3avg can be modified through Edit Studies.
      Alex
      Attached Files

      Comment


      • #4
        Alexis,

        inserted the file as u suggested, don't know if I replaced every thing correctly ( receive syntaxerror line 104 ) please check script


        Peter
        Attached Files

        Comment


        • #5
          Peter
          Attached is the corrected efs
          Alex
          Attached Files

          Comment


          • #6
            Alexis,

            thanx for the correct script

            Peter

            Comment

            Working...
            X