Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy uses 2 conditions

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

    #16
    Hello Clevchin,

    It looks like you have a couple of problems here. The first would be to set the defaults for the bool variable to false, you will need to remove the conditions you added before you can reset the default.

    The other problem is that you never set the bool value and you are comparing the variable against its self.

    In Set 1 you would remove the bool condition totally, as an action use Misc -> Set MACD_UP and check the box to make it true. This sets the variable to true when the cross happens.
    In Set 3 you would edit the bool condition to be the following:
    • Left: User variables -> MACD_UP
    • Center: equals
    • Right: Misc -> True
    That will check if the bool was set to true as part of the condition
    In set 3 add an action of Misc -> Set MACD_UP and uncheck the box to make it false.

    You then would repeat these same changes for the sets 2 and 4 with MACD_DOWN.

    Comment


      #17
      Thanks. I'll give it a go.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      90 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      137 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      120 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      69 views
      0 likes
      Last Post PaulMohn  
      Working...
      X