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