Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Simple Multiplication of DoubleStochastic and RSI

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

    Simple Multiplication of DoubleStochastic and RSI

    Hello everyone,
    I am very new with the programming. I am just trying to multiplcate two indicators. But it isnt working.

    My Code so far..

    Multiplication[0] = DoubleStochastics(14) * RSI(14,3);

    Regards

    #2
    Hello Lopat,

    Thanks for your post.

    You are missing the bar index for each of the indicators.

    Please try Multiplication[0] = DoubleStochastics(14)[0] * RSI(14,3)[0];

    Comment


      #3
      Thank you

      Comment


        #4
        Hello Paul,
        thank you for your fast answer befaore. Now I have another question:
        If I want to use 1 special Plot from another indicator in my new indicator how can i selectg them?


        eg. the RSI have 2 lines. How can i select one of them in the new indicator?

        Regards
        Robin



        Comment


          #5
          Hello Robin,

          Thanks for your reply.

          The RSI has two plots, the default plot (RSI) and the Avg plot.

          You can access them as follows:

          RSI(14, 3)[0] // uses the default (RSI) plot

          RSI(14,3).Default[0] // uses the default (RSI) plot

          RSI(14,3).Avg[0] // uses the Average plot

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          648 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          369 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          108 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          572 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          573 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X