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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    63 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    90 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    47 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    105 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    63 views
    0 likes
    Last Post PaulMohn  
    Working...
    X