C
C#2mo ago
Samy

I can't find the problem with this bot

Hello everyone, These are code snippets from a bot that runs inside a trading platform called ctrader to modify trading positions, but the modify position shortcut (which is a signature method shortcut inside of ctrader API) is not working, please clarify the problem to be, Thanks. I attached all the code that I figured will be related to the problem, Iam new to coding so might have missed somethings here are the code snippets : (https://paste.mod.gg/jvrnynropsno/0) The full codehttps://paste.mod.gg/hmkaddohfvlo/0
BlazeBin - jvrnynropsno
A tool for sharing your source code with the world!
BlazeBin - hmkaddohfvlo
A tool for sharing your source code with the world!
20 Replies
Elianora
Elianora2mo ago
$code
MODiX
MODiX2mo ago
To post C# code type the following: ```cs // code here ``` Get an example by typing $codegif in chat For longer snippets, use: https://paste.mod.gg/
Samy
SamyOP2mo ago
done and thank you
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Samy
SamyOP2mo ago
what am I missing
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Samy
SamyOP2mo ago
Iam not sure Iam following, do you mean I should paste my code on a third party app for you to view it? If so pls recommend a site that you use and I will post it there
Elianora
Elianora2mo ago
There is a link in the command from above
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Samy
SamyOP2mo ago
Thank a lotttt guys I edited the post
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Samy
SamyOP2mo ago
BlazeBin - jvrnynropsno
A tool for sharing your source code with the world!
Samy
SamyOP2mo ago
I'm telling you I edited the post and added it
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Samy
SamyOP2mo ago
np man, you're helping so I should program a method for is trade active and just call it inside the onbarclosed?
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Samy
SamyOP2mo ago
Not so familiar, I know some little basics only In my original code I did, it compiled properly too, just with these snipped I didn't give so much care to that as it was just for showcasing
Samy
SamyOP2mo ago
https://paste.mod.gg/hmkaddohfvlo/0 this is the full code, but its so long I didn't want to give anyone a headache
BlazeBin - hmkaddohfvlo
A tool for sharing your source code with the world!
TizzyT
TizzyT2mo ago
while I know what you meant from the image shared, I just want to point out for others that nested methods are a thing.
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server