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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    110 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    156 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    74 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Working...
    X