SetDollarTrailing not working on Oanda v20 account and 11  [SOLVED]

Questions about MultiCharts and user contributed studies.
gpw797
Posts: 150
Joined: 04 Mar 2006
Been thanked: 5 times

SetDollarTrailing not working on Oanda v20 account and 11

Postby gpw797 » 08 Aug 2017

I assume that v20 are local emulation of stops? Sends an initial stop order but order never trails like it should AND OCO orders don't work.

User avatar
Henry MultiСharts
Posts: 8508
Joined: 25 Aug 2011
Has thanked: 1213 times
Been thanked: 2733 times

Re: SetDollarTrailing not working on Oanda v20 account and 11.2

Postby Henry MultiСharts » 09 Aug 2017

Hello gpw797,

OANDA has native support for Stop orders. OCO group is emulated by MultiCharts.
Please send us sample code and workspace for replicating this behavior to support @ multicharts.com

gpw797
Posts: 150
Joined: 04 Mar 2006
Been thanked: 5 times

Re: SetDollarTrailing not working on Oanda v20 account and 11.2

Postby gpw797 » 09 Aug 2017

Code and requested files/screenshots sent

gpw797
Posts: 150
Joined: 04 Mar 2006
Been thanked: 5 times

Re: SetDollarTrailing not working on Oanda v20 account and 11.2

Postby gpw797 » 09 Aug 2017

Attached is another example

You can see a position opened and gaining profit but trailing stop doesn't move. The initial stop was sent out at .78722 (which is correct) but the position has moved into profit by 55 ticks and the stop hasn't moved from the initial order and remains at .78722
Attachments
Capture143.PNG
Capture143.PNG (51.42 KiB) Viewed 506 times

User avatar
Henry MultiСharts
Posts: 8508
Joined: 25 Aug 2011
Has thanked: 1213 times
Been thanked: 2733 times

Re: SetDollarTrailing not working on Oanda v20 account and 11.2

Postby Henry MultiСharts » 11 Aug 2017

Hello gpw797,

This issue has been resolved in MultiCharts 11 Release. Please update to get the fix:
https://www.multicharts.com/download/

gpw797
Posts: 150
Joined: 04 Mar 2006
Been thanked: 5 times

Re: SetDollarTrailing not working on Oanda v20 account and 11.2

Postby gpw797 » 14 Aug 2017

Not solved here... getting the same error as before
Attachments
Capture8.14.17.PNG
Capture8.14.17.PNG (34.5 KiB) Viewed 468 times

User avatar
Henry MultiСharts
Posts: 8508
Joined: 25 Aug 2011
Has thanked: 1213 times
Been thanked: 2733 times

Re: SetDollarTrailing not working on Oanda v20 account and 11.2

Postby Henry MultiСharts » 15 Aug 2017

gpw797,

Please go to Format->Strategy Properties->Auto trading tab->Select broker plugin->select the profile you need->go to Settings->click Lookup and select the account you need.

You need to do that for each chart you are using for auto trading.
When you save the workspace these settings will be saved as well.

gpw797
Posts: 150
Joined: 04 Mar 2006
Been thanked: 5 times

Re: SetDollarTrailing not working on Oanda v20 account and 11.2

Postby gpw797 » 15 Aug 2017

Looks like it is working correctly now, thank you. It would be helpful for others if you update the broker connection instructions.

gpw797
Posts: 150
Joined: 04 Mar 2006
Been thanked: 5 times

Re: SetDollarTrailing not working on Oanda v20 account and 11

Postby gpw797 » 20 Sep 2017

OCO orders are not cancelling again, I believe this happened after I updated to latest version a couple days ago.

User avatar
Henry MultiСharts
Posts: 8508
Joined: 25 Aug 2011
Has thanked: 1213 times
Been thanked: 2733 times

Re: SetDollarTrailing not working on Oanda v20 account and 11

Postby Henry MultiСharts » 22 Sep 2017

Hello gpw797,

Which version were you running before the update? Did you have any updater/hotfix installed for it?
Are you using auto trading or manual trading?
Do you use v1 or v20 account?

Please send us the logs and IDs of the orders in question:
Go to Help tab->Feedback (or Windows Start menu->All programs->MultiCharts64->Feedback).
Select two options:
- Attach log files to help us understand what happened
- Upload collected data to Help Desk.
Uncheck the other options as we do not need them right now.

gpw797
Posts: 150
Joined: 04 Mar 2006
Been thanked: 5 times

Re: SetDollarTrailing not working on Oanda v20 account and 11

Postby gpw797 » 27 Sep 2017

Answers to your questions:

Not sure what version I was running prior to update. Current install says it is Version: MultiCharts64 Version 11.0 Release (Build 14943)
I did apply the hotfix which originally fixed this issue.
autotrading
v20 account
files sent

gpw797
Posts: 150
Joined: 04 Mar 2006
Been thanked: 5 times

Re: SetDollarTrailing not working on Oanda v20 account and 11

Postby gpw797 » 17 Oct 2017

Still broken I must be the only person that is trying to autotrade with Oanda V20... see attached for errors that MC is generating.
Attachments
Capture17.PNG
Capture17.PNG (49.26 KiB) Viewed 208 times

User avatar
Henry MultiСharts
Posts: 8508
Joined: 25 Aug 2011
Has thanked: 1213 times
Been thanked: 2733 times

Re: SetDollarTrailing not working on Oanda v20 account and 11

Postby Henry MultiСharts » 19 Oct 2017

gpw797,

You need to do the same actions that were suggested above when you had the same issue:
Henry MultiСharts wrote:gpw797,

Please go to Format->Strategy Properties->Auto trading tab->Select broker plugin->select the profile you need->go to Settings->click Lookup and select the account you need.

You need to do that for each chart you are using for auto trading.
When you save the workspace these settings will be saved as well.

gpw797
Posts: 150
Joined: 04 Mar 2006
Been thanked: 5 times

Re: SetDollarTrailing not working on Oanda v20 account and 11

Postby gpw797 » 19 Oct 2017

I have it working now

gpw797
Posts: 150
Joined: 04 Mar 2006
Been thanked: 5 times

Re: SetDollarTrailing not working on Oanda v20 account and 11

Postby gpw797 » 25 Oct 2017

There is still a bug with this. The OCO orders stay on the screen even though they don't exist and you can't click on them to make the order go away. See attached screen shots the orders on screen are OCO orders after a trade closed yet the OCO orders remain)
Attachments
Capture3.PNG
Capture3.PNG (12.99 KiB) Viewed 151 times
Capture2.PNG
Capture2.PNG (59.95 KiB) Viewed 151 times

User avatar
Henry MultiСharts
Posts: 8508
Joined: 25 Aug 2011
Has thanked: 1213 times
Been thanked: 2733 times

Re: SetDollarTrailing not working on Oanda v20 account and 11

Postby Henry MultiСharts » 27 Oct 2017

Hello gpw797,

Please send us the logs and IDs of the orders in question:
Go to Help tab->Feedback (or Windows Start menu->All programs->MultiCharts64->Feedback).
Select two options:
- Attach log files to help us understand what happened
- Upload collected data to Help Desk.
Uncheck the other options as we do not need them right now.

gpw797
Posts: 150
Joined: 04 Mar 2006
Been thanked: 5 times

Re: SetDollarTrailing not working on Oanda v20 account and 11  [SOLVED]

Postby gpw797 » 27 Oct 2017

The errant behavior stopped after I updated to latest version last night.


Return to “MultiCharts”