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 Mindset, 04-21-2026, 06:46 AM
          0 responses
          52 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          71 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          38 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          99 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          60 views
          0 likes
          Last Post PaulMohn  
          Working...
          X