4 Replies Latest reply on Jan 15, 2014 1:29 AM by Aakash Dhondiyal

    Function and Calculations

    Aakash Dhondiyal

      My Study is work related where i am suppose to create "Parabolic stop and reverse".

      I have problem in doing all these, below i have mentioned my queries/questions and the algorithm that requires all collectively.

       

      Question(s): I want to implement a query where

      1. My [variable] modifies itself.

      2. It will/could create an [New_Variable].

      3. It should Call Previous_Values.

       

      I want to process this algorithm:

      IF Current_Value of [Variable]  >  Previous_value of [Variable]  Then  [New_variable] = Previous of [New_Variable] + Constant

      Else Previous of [New_variable]

      END