Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Tradecounter

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

    Tradecounter

    Hello, I use the strategy builder and like to limit my daily trades with my strategy to 3 trades per day

    I tried to use a variable for counting trades but it doesnt work right.

    The issue is that only 1 trade will be made.

    This is what I created for test and it dont work:
    -Variable: Tradecounter default 0
    Strategy:

    Set 1
    If XY is true
    and TradeCounter = 0

    go Long
    set Tradecounter = 1

    Set 2
    If XY is true
    and TradeCounter = 1

    go Long​
    set TradeCounter = 2

    Set 3
    If XY is true
    and TradeCounter = 2

    go Long​
    set TradeCounter = 3



    I dont understand whats wrong with this logic

    Thank you​

    #2
    Hello Uregon,

    Did you also increase the strategies entries per direction property to 3? That would be required because you are submitting entries into the same direction, they will be ignored if that property is at the default of 1.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    55 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    37 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    17 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    19 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    49 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X