Terminus_SC201704

In Roman mythology, Terminus was the god who protected boundary markers, which were used to delineate the borders of properties and communities. This strategy settles an order if a certain boundary defined by the Williams Percent Range (WPR) indicator is reached, in other words, when “Terminus” is reached. The strategy trades EURUSD from Monday to Friday. From Monday to Thursday trading is allowed between 06 GMT and 21 GMT. On Fridays trading is allowed between 06 GMT and 12 GMT. To open a buy order, it requires WPR lower than [-96]; while to open a sell order, it requires WPR higher than [-4]. The settlement of an order is allowed only if there is a gap higher than 6 hours between the current time and the previous order close time. Default assigns: take profit 6 pips; stop loss 333 pips; period 1-hour. The amount is function of the current equity value: if equity is lower than 75.000 USD, the amount is 3 million; if equity is equal or higher the 75.000 USD and lower than 150.000 USD, the amount is 6 million; if equity is higher than 150.000 USD, the amount is 9 million. The strategy closes the settled order when: there is use of leverage higher than 45% on Fridays between 17 GMT and 18 GMT; and whenever there is a use of leverage higher than 112% during the week and strictly before Friday 17 GMT. When equity decreases below the 25.000 USD the strategy stops automatically.
Version: Date: Status: Description:
3 28.04.2017 Executed Terminus_SC201704  Download
2 16.04.2017 Not running Terminus_SC201704  Download
1 31.03.2017 Comp. error Terminus_SC201704  Download
fx_lmcap avatar
fx_lmcap 16 Apr.

I’m expecting a bit more volatility in the following final two weeks of April. Geopolitical tensions are rising with the US in the middle of it. The first round of the French elections is getting closer and Marc Chandler (Brown Brothers Harriman) noticed that “[a]nxiety has been running high as the recent polls suggest that any two of the top four candidates could move into the second round, given the margin of error.”

fx_lmcap avatar
fx_lmcap 16 Apr.

So, in this second version of Terminus a few features were changed. Not conceptual or design changes, only inputs changes.

fx_lmcap avatar
fx_lmcap 16 Apr.

The changes:
1. The strategy trades EURUSD from Monday to Friday. From Monday to Thursday trading is allowed between 09 GMT and 18 GMT (before: 06 GMT and 21 GMT);
2. To open a buy order, it requires WPR lower than [-100] (before: [-96]); while to open a sell order, it requires WPR higher than [0] (before: [-4]);
3. The settlement of an order is allowed only if there is a gap higher than 4 hours (before: 6 hours) between the current time and the previous order close time;
4. Take profit assign is 3 pips (before: 6 pips).

fx_lmcap avatar
fx_lmcap 16 Apr.

In this 2nd version of Terminus, I’m requesting a tighter entry boundary in shorter trading session, where liquidity is higher. The gap between consecutive orders is lower than the one associated with the 1st version of Terminus; hopefully coupled with higher market volatility, more orders will be settled. Risk is reduced due to a lower take profit assign, 50% lower than the assign set in the 1st version of Terminus.

fx_lmcap avatar
fx_lmcap 17 Apr.

WARNING: There is an input error in this 2nd version of Terminus. Unfortunately, instead of opening a buy order when WPR is lower than [-100] it opens when WPR is lower than [+100]. I’ve forgotten to place the “minus signal” [-].

fx_lmcap avatar
fx_lmcap 17 Apr.

No words to describe it… Maybe due to late hours of attempting to launch this 2nd version. :/

fx_lmcap avatar
fx_lmcap 17 Apr.

So, it means that from now on and till the end of the month, the strategy will likely open a buy order with an amount of 9 million (whenever equity is equal or higher than 150.000 USD) during the trading session between 9 GMT and 18 GMT for every 4 hours.

fx_lmcap avatar
fx_lmcap 17 Apr.

Only with a bit of luck the strategy will be able to close these orders with 3 pips of profit.
And due to a mistake in the input, this 2nd version of Terminus will play like as a single side algorithm, which is not symmetric according to Dukascopy’s trading rules.

fx_lmcap avatar
fx_lmcap 17 Apr.

So, the failure/mistake is explained and next month I’ll be able to fix the “minus sginal” [-]. :/
Nonetheless, Carpe Diem to all! The week is just beginning!

fx_lmcap avatar
fx_lmcap 30 May

The 3rd version updated on 28.04.2017 contains a few changes from the 2nd version updated on 16.04.2017:
1. To open a buy order, it requires WPR lower than [-99]; while to open a sell order, it requires WPR higher than [-1] {this fixes the previous input error};
2. Default assigns: take profit 13 pips and stop loss 333 pips;
3. The trade amount is calculated based on the following expression: amount = 6 million * Equity / 100 000 USD;
4. The settlement of an order is allowed only if there is a gap equal or higher than 3 hours between the current time and the previous order close time.

orto leave comments


(few words about added changes)

(example: 1.1, beta, alpha)