Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Way to copy conditions into group?

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

    Way to copy conditions into group?

    I have a Set 1 of "if all" conditions configured.
    I now have a new condition that should be an "or" condition for one of the conditions in the original set...

    I have a lot more conditions than this, but to simplify:

    [If All]
    Condition 1
    Condition 2
    Condition 3

    I want to make it:
    [If]
    Condition 1
    AND
    Condition 2
    AND
    Condition 3 OR Condition 4

    The way I'm thinking this has to be done in Builder is to put Conditions 1,2,3 into an "If All" group, and then Conditions 1,2,4 in a different "If All" group and have the overall Set 1 be "If Any" of those two groups.

    A) Is there a better way to accomplish this?
    B) Is there any way to create a group from existing conditions and/or copy them into a group? Or do you really have to recreate them one by one?

    #2
    Hello tradgrad,

    Thank you for your post.

    To answer question B first, there is no way to create a group from existing conditions or to copy them into a group; you have to recreate the conditions into the group one at a time. As for question A, if the overall set will be "If Any" I can not think of a way to simplify it. If you change the overall set to "If All" then you could have conditions 1 and 2 in the main set outside of a group, then create a group that holds conditions 3 and 4 and set it to if any. I'm not sure if this would meet your needs, but it would check if all of the following are true for example:
    Condition 1
    AND
    Condition 2
    AND
    either Condition 3 OR Condition 4 (if either is true the group will become "true")

    For example, this set of 3 conditions checks if the Close for the current bar is greater than the Close from 1 bar ago, the Close from 2 bars ago, and the Close from 3 bars ago:
    World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.


    This could be modified so that the main set still checks "If All" are true, but move the third condition into a group set to "If Any" that also checks if the current Close price is greater than the prior day OHLC close value. This means that if the current Close is greater than the close from 3 bars ago OR if it is greater than the prior day close, the condition group will be evaluated to be true:
    World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.


    Please let us know if we may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    87 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    132 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    65 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    118 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X