The FLOW Plus ALR EA

Post your EA's using ALR here
Post Reply
nonlinear
Trader
Posts: 293
Joined: Fri Jun 01, 2012 2:56 pm
Location: Washington DC

The FLOW Plus ALR EA

Post by nonlinear »

No manual intervention or trades. One fresh terminal on a VPS only running TheFLOWplusALR on EU D and Myfxbook on EU H1. Margin is fine.
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

The FLOW Plus ALR EA

Post by milanese »

nonlinear » Wed Oct 28, 2015 1:49 pm wrote:No manual intervention or trades. One fresh terminal on a VPS only running TheFLOWplusALR on EU D and Myfxbook on EU H1. Margin is fine.
sorry, I have no idea what happend, as looking into the logs, it seems that the pending Buy-Stop order was first time placed correct, than the EA tried again to place a pending order, what normaly only happens if the existing pending order was deleted, possible is that there was a spike causing the problem.

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
nonlinear
Trader
Posts: 293
Joined: Fri Jun 01, 2012 2:56 pm
Location: Washington DC

The FLOW Plus ALR EA

Post by nonlinear »

After looking at the logs, it looks like the ALR trade manager tried to place the first ALR buy stop twice. This might have had something to do with a new day occurring after the first buy stop was placed (just guessing).
nonlinear
Trader
Posts: 293
Joined: Fri Jun 01, 2012 2:56 pm
Location: Washington DC

The FLOW Plus ALR EA

Post by nonlinear »

milanese » Wed Oct 28, 2015 8:56 am wrote:
nonlinear » Wed Oct 28, 2015 1:49 pm wrote:No manual intervention or trades. One fresh terminal on a VPS only running TheFLOWplusALR on EU D and Myfxbook on EU H1. Margin is fine.
sorry, I have no idea what happend, as looking into the logs, it seems that the pending Buy-Stop order was first time placed correct, than the EA tried again to place a pending order, what normaly only happens if the existing pending order was deleted, possible is that there was a spike causing the problem.

Cheers :)

Tommaso
Okay, thanks. I will run it some more to see if occurs again. The first pending didn't expire - very confusing.

I closed and opened Empty4 to take a look at the current log and it updated to 890, joy joy, cough cough.
nonlinear
Trader
Posts: 293
Joined: Fri Jun 01, 2012 2:56 pm
Location: Washington DC

The FLOW Plus ALR EA

Post by nonlinear »

Tommaso, Quick question. How does the minutes to wait variable work? Does that only apply to pending ALR orders and if so how? I had it set to 120
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

The FLOW Plus ALR EA

Post by milanese »

nonlinear » Wed Oct 28, 2015 5:01 pm wrote:Tommaso, Quick question. How does the minutes to wait variable work? Does that only apply to pending ALR orders and if so how? I had it set to 120
this one is only used for the base strategy..


Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
nonlinear
Trader
Posts: 293
Joined: Fri Jun 01, 2012 2:56 pm
Location: Washington DC

The FLOW Plus ALR EA

Post by nonlinear »

EU.png
Working well so far.
You do not have the required permissions to view the files attached to this post.
nonlinear
Trader
Posts: 293
Joined: Fri Jun 01, 2012 2:56 pm
Location: Washington DC

The FLOW Plus ALR EA

Post by nonlinear »

milanese » Wed Oct 28, 2015 8:56 am wrote:
nonlinear » Wed Oct 28, 2015 1:49 pm wrote:No manual intervention or trades. One fresh terminal on a VPS only running TheFLOWplusALR on EU D and Myfxbook on EU H1. Margin is fine.
sorry, I have no idea what happend, as looking into the logs, it seems that the pending Buy-Stop order was first time placed correct, than the EA tried again to place a pending order, what normaly only happens if the existing pending order was deleted, possible is that there was a spike causing the problem.

Cheers :)

Tommaso

Okay this happened again and I think I know the issue. For most US brokers, it is fine to have a pending buy order while a sell is running. All good. However, the sell trade must be closed before the buy stop is triggered or risk violating hedge restrictions. In my case, price touches the pending buy stop price, but the buy stop is invalid because the sell was a tenth of a pip away from closing at SL because of the spread (I think this is only an issue with sell & pending buys, not buys and pending sells, because of the spread). Once the sell closes, the pending is gone because it already tried to trigger and was deemed invalid. In sum, I need to either use instant market ALR trades or make certain that my pending price is a few pips away from my SL price (taking into account the spread).

2015.11.10 22:52:30.810 '': order #8821089 sell 0.20 EURUSD at 1.07071 closed due stop-loss at price 1.07676
2015.11.10 22:52:28.049 '': modification of invalid order #8827642
2015.11.10 22:52:27.971 '': modify pending order #8827642 buy stop 0.19 EURUSD at 1.07671 sl: 0.00000 tp: 0.00000 -> price: 1.07671 sl: 1.07071 tp: 1.09001
2015.11.10 22:52:27.940 '': order was opened : #8827642 buy stop 0.19 EURUSD at 1.07671 sl: 0.00000 tp: 0.00000
2015.11.10 22:52:27.831 '': pending order buy stop 0.19 EURUSD at 1.07671 sl: 0.00000 tp: 0.00000
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

The FLOW Plus ALR EA

Post by milanese »

nonlinear » Wed Nov 11, 2015 1:24 pm wrote:
Okay this happened again and I think I know the issue. For most US brokers, it is fine to have a pending buy order while a sell is running. All good. However, the sell trade must be closed before the buy stop is triggered or risk violating hedge restrictions. In my case, price touches the pending buy stop price, but the buy stop is invalid because the sell was a tenth of a pip away from closing at SL because of the spread (I think this is only an issue with sell & pending buys, not buys and pending sells, because of the spread). Once the sell closes, the pending is gone because it already tried to trigger and was deemed invalid. In sum, I need to either use instant market ALR trades or make certain that my pending price is a few pips away from my SL price (taking into account the spread).

2015.11.10 22:52:30.810 '': order #8821089 sell 0.20 EURUSD at 1.07071 closed due stop-loss at price 1.07676
2015.11.10 22:52:28.049 '': modification of invalid order #8827642
2015.11.10 22:52:27.971 '': modify pending order #8827642 buy stop 0.19 EURUSD at 1.07671 sl: 0.00000 tp: 0.00000 -> price: 1.07671 sl: 1.07071 tp: 1.09001
2015.11.10 22:52:27.940 '': order was opened : #8827642 buy stop 0.19 EURUSD at 1.07671 sl: 0.00000 tp: 0.00000
2015.11.10 22:52:27.831 '': pending order buy stop 0.19 EURUSD at 1.07671 sl: 0.00000 tp: 0.00000
The EA is unfotunately not concepted for US brokers so far, so the delay in closing the open order, if the pending-order is filled, can cause this. You should try ATC as US broker, than you should not have this problem..

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
nonlinear
Trader
Posts: 293
Joined: Fri Jun 01, 2012 2:56 pm
Location: Washington DC

The FLOW Plus ALR EA

Post by nonlinear »

Yes, I have accounts with ATC, FXCM, etc. It's good to diversify.
Post Reply

Return to “Automated Loss Recovery”