Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Condition problem

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

    Condition problem

    SOLVED

    Hi all,
    I'm having a problem with a condition and I not able to solve it

    example

    VariableB = Momentum(EMA((20)), 1)[0]; // it returns a double positive or negative

    if (VariableB < -0.1) // the condition does not work
    ....

    if (VariableB > -0.1) // the condition does not work
    ....

    I dont know where is the problem, seems the conditions does not accept decimal or negative values.
    Could you help me?

    Thank you

    Last edited by superg3; 05-15-2019, 12:33 AM.

    #2
    Hello superg3,

    Thanks for your post.

    It says solved at the top of your post.

    If you still need assistance, please post again.

    Comment

    Latest Posts

    Collapse

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