Re: Modified OCO auto strategy Quote

If you need your own private indicator, signal or strategy, or any kind of development using various trading APIs - please visit this forum.

Moderator: admin

Re: Modified OCO auto strategy Quote

Postby crystalblue » Tue Dec 29, 2015 12:22 pm

I have modified our OCO auto strategy for your convenience. I would appreciate getting back to me as to the price and date of completion.

Strategy Intention:
1. This will be used for highly volatile, fast markets and sharp drops (shorts) and rising (longs) in prices that often exist during news events e.g. various Central Bank interest rate news events. Thus, prices move to quick short or long and often whipsaw that is why it I need automation.

Starting the strategy will open an OCO x pips on either side of the current price (a long above, short below), with a fixed trailing stop of y pips, trailing at z pips. When it hits the stop, it starts over by putting in a new OCO with the same parameters, this continues until the user stops the automated strategy.


double OCODist=7; //Distance in Pips from
double Stop=-4;
double TrailingDist=7;

OpenOCO(OCODist, Stop, TrailingDist);
if stopped==true then
OpenOCO(OCODist, Stop, TrailingDist);

Again, if this already exists, please send a link.

Scott Bernard and Alex Goodrich
Posts: 5
Joined: Wed Dec 16, 2015 3:59 pm

Re: Modified OCO auto strategy Quote

Postby Julia CJ » Sun Jan 03, 2016 8:56 am

Hello Scott,

I have answered you via email.
Julia CJ

Return to Premium Development Services

Who is online

Users browsing this forum: No registered users and 1 guest