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 SalmaTrader, 07-07-2026, 10:26 PM
          0 responses
          35 views
          0 likes
          Last Post SalmaTrader  
          Started by CarlTrading, 07-05-2026, 01:16 PM
          0 responses
          20 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 06-17-2026, 10:32 AM
          0 responses
          13 views
          0 likes
          Last Post CaptainJack  
          Started by kinfxhk, 06-17-2026, 04:15 AM
          0 responses
          19 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Started by kinfxhk, 06-17-2026, 04:06 AM
          0 responses
          21 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Working...
          X