Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to create if statement to choose any 2 of 3 variables

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

    How to create if statement to choose any 2 of 3 variables

    I need to have a if statement where if any two of these are true
    how would that code look?
    eg
    if (RSI > X && MACD > X && || StochD > X)

    #2
    if (r>x && (M>x || s>x) || m>x && (r>x || s>x))

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    52 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    137 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    195 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    105 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    143 views
    0 likes
    Last Post cmoran13  
    Working...
    X