Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AtmStrategyTemplate not working as expected

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

    AtmStrategyTemplate not working as expected

    Using the ATM sample strategy, I'm trying to build my own. I have some simple logic the enter trades but the problem I'm having is that it doesn't enter the number of contracts specified in my ATM template.

    I've specified 2 contracts with different stops and targets for each but its only entering 1 contract with one target and one stop. When I applied the strategy, I made sure the entries per direction was set to 2.

    I used the same name "AtmStrategyTemplate".

    Is there something that I might be overlooking?

    thanks,

    taddypole...

    #2
    I found the problem. Didn't notice the code in the sample strategy that changed the Stop. It was happening so quickly that I didn't see it.

    taddypole...

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    144 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    71 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