SYNERGY Trading Method - page 26

 

Rogue trade

Hi Derk,

The rogue was the one (actually 2) that went in at 11 a.m. on the 26th. Here is the report if it is of any help. The current trades (why are there two) are going negative and should have exited while positive, I believe.

autumn

Files:
 

rogue

Sorry, they were rogue because they occurred when the HA was inside the PAC. Why did this happen?

 

Trade exited

Hi Derk,

It seems to me that this should not have happened. Can you imagine what the cause is? Producing all kinds of errors in the log as below.

autumn

2007.11.26 23:24:53 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3: attempted OP_BUY 0.05000000 lots @224.63000000 sl:0.00000000 tp:225.63000000

2007.11.26 23:27:35 LibOrderReliable GBPJPY,H1: OrderSendReliable 2007.11.26 23:28:17 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed to execute OP_BUY/OP_SELL, after 0 retries

Files:
 

Autumn:

A very nondescript error; don't know why it is happening. Regarding "rogue" trades, yes, you are right... Except keep in mind that the EA/Ind now signal trades when the HA first moves beyond the PAC, not when it closes, so if the HA candle moved past the PAC and then back, it could explain it. Still, seems fishy. Again, what broker?

autumnleaves:
Hi Derk,

It seems to me that this should not have happened. Can you imagine what the cause is? Producing all kinds of errors in the log as below.

autumn

2007.11.26 23:24:53 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3: attempted OP_BUY 0.05000000 lots @224.63000000 sl:0.00000000 tp:225.63000000

2007.11.26 23:27:35 LibOrderReliable GBPJPY,H1: OrderSendReliable 2007.11.26 23:28:17 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed to execute OP_BUY/OP_SELL, after 0 retries
 

Rogues again

The broker is FXDD. See the report I posted earlier. It seems to me that the trade should not trigger until the bar closes, otherwise you could have all kinds of anomalous behaviour. I had an issue with this in the MT group. It seems prudent to fill the bar if this does not introduce too much lag.

How do you explain the duplicate trades?

autumn

 

Volume based indicator

Hi Droogie Derk,

If you would like to incorporate a very effective volume based indicator into the EA you might consider using Force. I suggest the following:

put a 13 period Force Method EMA Price Typical in an array

run a 2 period MA (exponential) and a 13 period MA (exponential) on the array

run a 13 period exponential Standard Deviation on the array

Trade when 2MA is above/below 13MA and both moving in same direction, plus STDev above a value to be determined empirically.

(Alternatively, you can omit the 2 period MA and use the raw 13 period Force in its place, since there is not much difference in the values.)

You can optimize on the MA periods and STDev threshold. However, the array seems to slow backtesting and optimizing down terribly, and you might have to settle for visual estimates.

This combines price/volume/volatility in one indicator and does so with very responsive action.

Please be aware that I am not a programmer, and am only tinkering with indicators and signals to find optimal trading rules.

Let me know your thoughts, and I'll send you the code if you wish. I hope this helps.

autumn

 

Need Your HELP

Hi Mr. DerkWehler and Mr. autumnleaves or everybody " CODER ",

When I was read this " SYNERGY " thread, I'm very interested this SYSTEM and METHOD.

Specially with the TRADERS DYNAMIC INDEX indicator.

With your EA that was maked for Us, I think you are the EXECELENT and AMAZING Man Sir' !!!

When I'm finishing read and trying your SYSTEM ( EA ) and your RULES, I'm interested to KNOW specially about TRADERS DYNAMIC INDEX indicator.

And With your capability and MASTERING with code, I need HELP from you Sir', to make me EA JUST from TRADERS DYNAMIC INDEX Indicator rules.

https://c.mql5.com/forextsd/forum/34/usdjpy26nov11pm.gif

While ENTRY position can HAPPEN when :

1. CROSSING 2 LINES, ( red and Brown color in TRADERS DYNAMIC INDEX )

AND,

2. With filtering using the QQE Indicator was CROSSING AND OR ( > 50 --- > BUY / SELL ).

SUMMARY :

ENTRY Position :

- When 2 line in the TRADERS DYNAMIC INDEX Crossing + AND( QQE Crossing ) + OR ( QQE level >50 ( BUY ) / <50 ( SELL ) ).

- Give TP = 20, SL = 20

Thank you SO MUCH Sir', hope you can HELPING me and us to get more to know the power and Strong the TRADERS DYNAMIC INDEX indicator.

And Thank you for your kindness.

NB : Thank you Mr. Chris29 to open this thread ( SYNERGY ).

Best regards,

Paulinge

 

error messages

Hi Derk,

all I get is a steady stream of error messages in the experts log and no trades. what happened? I guess it's time to reinstall. did you finish the new version yet?

autumn

 
autumnleaves:
Hi Derk,

It seems to me that this should not have happened. Can you imagine what the cause is? Producing all kinds of errors in the log as below.

autumn

2007.11.26 23:24:53 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3: attempted OP_BUY 0.05000000 lots @224.63000000 sl:0.00000000 tp:225.63000000

2007.11.26 23:27:35 LibOrderReliable GBPJPY,H1: OrderSendReliable 2007.11.26 23:28:17 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed to execute OP_BUY/OP_SELL, after 0 retries

It says ``0 retries`` because the error is a non-retryable error.

There is supposed to be two more messages after this one including the real error message. Can you tell us what the other two errors are.

OrderReliablePrint("failed to execute OP_BUY/OP_SELL, after " + cnt + " retries");

OrderReliablePrint("failed trade: " + OrderReliable_CommandString(cmd) + " " + symbol +

"@" + price + " tp@" + takeprofit + " sl@" + stoploss);

OrderReliablePrint("last error: " + OrderReliableErrTxt(err));
v1_1_3:failed to execute OP_BUY/OP_SELL, after 0 retries
 

Error log

Hi PC Contour,

Here is a snippet from my log.

autumn

23:00:23 LibOrderReliable USDJPY,H1: OrderSendReliable v1_1_3:last error: 131:invalid trade volume

23:00:25 stdlib GBPJPY,H1: loaded successfully

23:00:25 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:non-retryable error: 131:invalid trade volume

23:00:25 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed to execute OP_BUY/OP_SELL, after 0 retries

23:00:25 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed trade: OP_BUY GBPJPY@225.28000000 tp@0.00000000 sl@0.00000000

23:00:25 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:last error: 131:invalid trade volume

23:00:25 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3: attempted OP_BUY 0.05000000 lots @225.28000000 sl:0.00000000 tp:226.28000000

23:00:25 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:non-retryable error: 131:invalid trade volume

23:00:25 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed to execute OP_BUY/OP_SELL, after 0 retries

23:00:25 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed trade: OP_BUY GBPJPY@225.28000000 tp@226.28000000 sl@0.00000000

23:00:25 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:last error: 131:invalid trade volume

23:00:28 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3: attempted OP_BUY 0.05000000 lots @225.27000000 sl:0.00000000 tp:0.00000000

23:00:28 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:non-retryable error: 131:invalid trade volume

23:00:28 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed to execute OP_BUY/OP_SELL, after 0 retries

23:00:28 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed trade: OP_BUY GBPJPY@225.27000000 tp@0.00000000 sl@0.00000000

23:00:28 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:last error: 131:invalid trade volume

23:00:28 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3: attempted OP_BUY 0.05000000 lots @225.27000000 sl:0.00000000 tp:226.27000000

23:00:28 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:non-retryable error: 131:invalid trade volume

23:00:28 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed to execute OP_BUY/OP_SELL, after 0 retries

23:00:28 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed trade: OP_BUY GBPJPY@225.27000000 tp@226.27000000 sl@0.00000000

23:00:28 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:last error: 131:invalid trade volume

23:00:41 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3: attempted OP_BUY 0.05000000 lots @225.26000000 sl:0.00000000 tp:0.00000000

23:00:41 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:non-retryable error: 131:invalid trade volume

23:00:41 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed to execute OP_BUY/OP_SELL, after 0 retries

23:00:41 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed trade: OP_BUY GBPJPY@225.26000000 tp@0.00000000 sl@0.00000000

23:00:41 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:last error: 131:invalid trade volume

23:00:41 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3: attempted OP_BUY 0.05000000 lots @225.26000000 sl:0.00000000 tp:226.26000000

23:00:41 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:non-retryable error: 131:invalid trade volume

23:00:41 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed to execute OP_BUY/OP_SELL, after 0 retries

23:00:41 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed trade: OP_BUY GBPJPY@225.26000000 tp@226.26000000 sl@0.00000000

23:00:41 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:last error: 131:invalid trade volume

23:00:41 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3: attempted OP_BUY 0.05000000 lots @225.24000000 sl:0.00000000 tp:0.00000000

23:00:41 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:non-retryable error: 131:invalid trade volume

23:00:41 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed to execute OP_BUY/OP_SELL, after 0 retries

23:00:41 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed trade: OP_BUY GBPJPY@225.24000000 tp@0.00000000 sl@0.00000000

23:00:41 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:last error: 131:invalid trade volume

23:00:41 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3: attempted OP_BUY 0.05000000 lots @225.24000000 sl:0.00000000 tp:226.24000000

23:00:41 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:non-retryable error: 131:invalid trade volume

23:00:41 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed to execute OP_BUY/OP_SELL, after 0 retries

23:00:41 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed trade: OP_BUY GBPJPY@225.24000000 tp@226.24000000 sl@0.00000000

23:00:41 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:last error: 131:invalid trade volume

23:00:42 LibOrderReliable USDJPY,H1: OrderSendReliable v1_1_3: attempted OP_BUY 0.05000000 lots @108.59000000 sl:0.00000000 tp:0.00000000

23:00:42 LibOrderReliable USDJPY,H1: OrderSendReliable v1_1_3:non-retryable error: 131:invalid trade volume

23:00:42 LibOrderReliable USDJPY,H1: OrderSendReliable v1_1_3:failed to execute OP_BUY/OP_SELL, after 0 retries

23:00:42 LibOrderReliable USDJPY,H1: OrderSendReliable v1_1_3:failed trade: OP_BUY USDJPY@108.59000000 tp@0.00000000 sl@0.00000000

23:00:42 LibOrderReliable USDJPY,H1: OrderSendReliable v1_1_3:last error: 131:invalid trade volume

23:00:42 LibOrderReliable USDJPY,H1: OrderSendReliable v1_1_3: attempted OP_BUY 0.05000000 lots @108.59000000 sl:0.00000000 tp:109.59000000

23:00:42 LibOrderReliable USDJPY,H1: OrderSendReliable v1_1_3:non-retryable error: 131:invalid trade volume

23:00:42 LibOrderReliable USDJPY,H1: OrderSendReliable v1_1_3:failed to execute OP_BUY/OP_SELL, after 0 retries

23:00:42 LibOrderReliable USDJPY,H1: OrderSendReliable v1_1_3:failed trade: OP_BUY USDJPY@108.59000000 tp@109.59000000 sl@0.00000000

23:00:42 LibOrderReliable USDJPY,H1: OrderSendReliable v1_1_3:last error: 131:invalid trade volume

23:00:42 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3: attempted OP_BUY 0.05000000 lots @225.25000000 sl:0.00000000 tp:0.00000000

23:00:42 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:non-retryable error: 131:invalid trade volume

23:00:42 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed to execute OP_BUY/OP_SELL, after 0 retries

23:00:42 LibOrderReliable GBPJPY,H1: OrderSendReliable v1_1_3:failed trade: OP_BUY GBPJPY@225.25000000 tp@0.00000000 sl@0.00000000

Reason: