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 NullPointStrategies, Today, 05:17 AM
    0 responses
    24 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    120 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    63 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    41 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    45 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X