Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problems with Custom Strategy Buttons

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

    Problems with Custom Strategy Buttons

    I have a button template that I'm trying to code to execute orders when clicked. 24 buttons in all, but I'm starting with simple limit and market buys and sells. Well, I have the buys and sells working, however, if I'm long and I click the buy button again, no additional buys are made. Same is true with sells. Another issue is when I enter a trade by clicking buy or sell, and then I click the opposite button to exit the trade, what actually happens is the trade flips to the opposite direction. So instead of going flat, I'm now in the opposite trade. These are the issues I'm hoping someone can help me with at this point. Note that I'm utilizing ATM strategies with these orders meaning I've coded the orders to be managed by the ATM strategy that I have loaded at the time.

    I will attach the code for strategy I'm working on and a video of what's happening. Hopefully someone can help me.



    Click image for larger version

Name:	image.png
Views:	148
Size:	45.0 KB
ID:	1303254
    Last edited by Trader146; 05-10-2024, 09:20 PM.

Latest Posts

Collapse

Topics Statistics Last Post
Started by Mindset, 04-21-2026, 06:46 AM
0 responses
88 views
0 likes
Last Post Mindset
by Mindset
 
Started by M4ndoo, 04-20-2026, 05:21 PM
0 responses
135 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
119 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