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 charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          68 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          151 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          162 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          100 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          288 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Working...
          X