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:	150
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 CarlTrading, 05-11-2026, 05:56 AM
0 responses
53 views
0 likes
Last Post CarlTrading  
Started by CarlTrading, 05-10-2026, 08:12 PM
0 responses
32 views
0 likes
Last Post CarlTrading  
Started by Hwop38, 05-04-2026, 07:02 PM
0 responses
195 views
0 likes
Last Post Hwop38
by Hwop38
 
Started by CaptainJack, 04-24-2026, 11:07 PM
0 responses
358 views
0 likes
Last Post CaptainJack  
Started by Mindset, 04-21-2026, 06:46 AM
0 responses
277 views
0 likes
Last Post Mindset
by Mindset
 
Working...
X