Announcement

Collapse
No announcement yet.

indicators in same window

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

  • indicators in same window

    Is it possible to draw several times the same indicator (with different parameters) in a sub-window in Esignal new version ?

  • #2
    pbereau
    Yes it is possible
    Alex

    Comment


    • #3
      Okay...but how to do it ? :-)

      Comment


      • #4
        pbereau
        The easiest way is probably as shown in the example below. All you need to do is add function preMain() with the appropriate statements to color the different plots, etc
        Alex

        PHP Code:
        function main(){

            var 
        rsi(10);
            var 
        rsi(20);
            var 
        rsi(30);
            
            return new Array (
        x,y,z);

        Comment


        • #5
          Thanks Alex

          Can you please create one program for three RSI (with different variables) in the same sub-window ?

          Best regards

          Comment


          • #6
            pbereau
            That is exactly what I just did in my prior reply. All you need to change is the values for the lengths of the RSI studies.
            If you want to make those user definable through Edit Studies then use the RSI study that is in the EFS2 Custom subfolder of Formulas as an example. Also see this article in the EFS KnowledgeBase on Function Parameter class.
            Alex

            Comment

            Working...
            X