Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Moving Average Cross overs

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

    Moving Average Cross overs

    hi, how can i code multi ema cross over . i can do 2 line cross over but when i apply the same method to multiple lines it wont work. ex: ema 234567cross1012141618

    #2
    Hello hakanshuker,

    Thank you for the post.

    I went ahead and moved this into a new topic for your specific questions as the other post was very old.

    When you say that you can do a 2 line crossover but when you apply the same method it wont work, can you provide a sample of what you are currently doing that does not work?

    For multiple crossover conditions you can generally do something like the following:

    Code:
    if(CrossAbove(EMA(12), EMA(20), 1) && CrossAbove(EMA(12), EMA(25), 1))
    {
    
    }

    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    569 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