Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Variable storing

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

    Variable storing

    Hi,

    I would like to store the 2 most recent points that act as supports and resistances (a total of 4 variables) which I can also use to DrawLine function too. I do not need to retain the older values but I would want to remove the older value as new variables are created.

    What woul be the bet way to go about this?

    Regards

    Kay Wai

    #2
    if (new support)
    {
    support2 = support1;
    support1 = new support;
    }

    The same for resistance.

    Comment

    Latest Posts

    Collapse

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