Multi 10:4 Trader EA
- Jonathan2FI
- Trader
- Posts: 119
- Joined: Fri Jun 15, 2012 9:26 am
- Location: Birmingham, Frankfurt, Brussels
Re: Multi 10:4 Trader EA Dashboard
Dash Question ref. V2,
Simplex, Andy,
Dashboard works perfectly on the big screen with brokers Alpari and Axi - all in view even the totals and delete all.... buttons at the bottom ..
On the laptop with GKFX different story ...can't see the bottom (understand scrolling a chart does not work and scale does bugger all or?) so I tried adding ignore pairs to see if I could get to the bottom - failed just a big black gap minus 12 pairs.
Wanted to share a work around that may or may not appeal - since this EA needs to run all the time you need a decend on all the time desktop (plus power protection) and or a VPS. I have had probs in the past with duplicate access and trades occuring when I log on to VPS from 2 different computers so now everying goes through the trading desktop including logon to VPS. When I access the desktop remotely from my laptop using logmein (free service) I can scroll up and down and see full dashboard and control all buttons etc. voila
Its a real pleasure to use the EA and Dash - it gives more opportunity to think rather than develop navigatation skills across 20+ charts. Best I have seen.
Jonathan
Simplex, Andy,
Dashboard works perfectly on the big screen with brokers Alpari and Axi - all in view even the totals and delete all.... buttons at the bottom ..
On the laptop with GKFX different story ...can't see the bottom (understand scrolling a chart does not work and scale does bugger all or?) so I tried adding ignore pairs to see if I could get to the bottom - failed just a big black gap minus 12 pairs.
Wanted to share a work around that may or may not appeal - since this EA needs to run all the time you need a decend on all the time desktop (plus power protection) and or a VPS. I have had probs in the past with duplicate access and trades occuring when I log on to VPS from 2 different computers so now everying goes through the trading desktop including logon to VPS. When I access the desktop remotely from my laptop using logmein (free service) I can scroll up and down and see full dashboard and control all buttons etc. voila
Its a real pleasure to use the EA and Dash - it gives more opportunity to think rather than develop navigatation skills across 20+ charts. Best I have seen.
Jonathan
- simplex
- Trader
- Posts: 127
- Joined: Thu Feb 07, 2013 5:21 pm
- Location: An insignificant small town close to an insignificant former capital at the Rhine River.
Re: Multi 10:4 Trader EA Dashboard
Jonathan,Jonathan2FI wrote:Dash Question ref. V2,
Simplex, Andy,
Dashboard works perfectly on the big screen with brokers Alpari and Axi - all in view even the totals and delete all.... buttons at the bottom ..
On the laptop with GKFX different story ...can't see the bottom (understand scrolling a chart does not work and scale does bugger all or?) so I tried adding ignore pairs to see if I could get to the bottom - failed just a big black gap minus 12 pairs.
Jonathan
Yes, I faced the same when moving from full HD development to smaller test machine. Andy hardcoded the button coordinates. In my 1.08 modification I did it the following way:
Code: Select all
CloseAllButtonY = footCellTop + 60;
@Andy: could you consider using such relative coordinates? IMO would make code maintenance easier.
@Jonathan: to provide a quick hack for your issue, try the following:
Code: Select all
int init() {
hwnd=WindowHandle(Symbol(),Period());
tbRemoveAll(hwnd);
btnRefresh = tbPutObject(hwnd, "button", 715 , 650, 155, 20, "Delete Pending");
btnCloseAll = tbPutObject(hwnd, "button", 890 , 650, 155, 20, "Close All Open Trades"); // hwnd,type,x,y,w,h,label
btnDeletePending = tbPutObject(hwnd, "button", 1065 , 650, 155, 20, "Delete Pending");
/* ORIGINAL SETTINGS FOLLOWING ...
btnRefresh = tbPutObject(hwnd, "button", 715 , 730, 155, 20, "Delete Pending");
btnCloseAll = tbPutObject(hwnd, "button", 890 , 730, 155, 20, "Close All Open Trades"); // hwnd,type,x,y,w,h,label
btnDeletePending = tbPutObject(hwnd, "button", 1065 , 730, 155, 20, "Delete Pending");
/*
Good luck,
simplex
If you can't explain it simply, you don't understand it well enough. (Albert Einstein)
It appears that the Weighted Moving Average was invented by a trader who did not have a firm grasp of filter theory in hopes of reducing lag. (John F. Ehlers)
It appears that the Weighted Moving Average was invented by a trader who did not have a firm grasp of filter theory in hopes of reducing lag. (John F. Ehlers)
- Jonathan2FI
- Trader
- Posts: 119
- Joined: Fri Jun 15, 2012 9:26 am
- Location: Birmingham, Frankfurt, Brussels
Re: Multi 10:4 Trader EA
I see your point ref. AUDJPY today evidence of multiple closes of pending buystops attached where new pendings were placed after 240 breached and PA remained on the invalid side ....since 1/4/2013.McNish wrote:Hey Guys,
I'm so happy to see you all pointing out so many bugs. I'll pitch in some myself.
Regarding the different trades on different brokers, I suggest we benchmark one broker for comparing results. Same stuff is happening all over at the DBM thread. So nothing new here, it's broker feed IMO and I suggested the same thing to Bunks too.
Andy confirmed to this. "Yes if we change sides the ea will start to build if the conditions are correct."McNish wrote:DeletePendIfMACross: The pendings are auto delete if MA cross is set to true. The pends will re-populate in next h4 bar if no MA cross and conditions are met.
I suggest a change here. If the PA crosses to the other side, then either
1. No more trades for that day
or
2. No more trades in that H4 candle hour.
What I see contrary to this is that as soon as the PA crosses back into original territory, it starts taking orders even though the current bar has peeked to the other side of the MA and retraced. Thus better would be to not take any more checks or orders if the current H4 has peeked across or current D1 has peeked across. Something on these line TIB suggests too.
Please confirm this, someone. I'm getting couple trades that I think are wrong if above stated is true.McNish wrote:Sell : Say at any point if the conditions are true, next SR is MR1, TP is MSR2. How many pends will be set, 4? MR1, P, MS1, S1. TP for all this will be MS2?
Sure U do, so do we. Thanks, you're a Champ !candletiger wrote:great work, I like the new buttons, ...
Don't have to be, just go live and the feeling will reciprocate.Slipshod wrote:Ok I'm jealous now ...Thanks for the signature.
@ Andy : AO, Oh ho, here we go, ... again. Cheers !
Regards to All, Max.
I agree remove these filter with no more trades today on pair if price x 240 (high or low not close).
- must keep out of wipsaw trades around 240 where we place our stops.
See Screen shot
Jonathan
You do not have the required permissions to view the files attached to this post.
-
MrLong
Re: Multi 10:4 Trader EA Dashboard
Jonathan2FI wrote:Dash Question ref. V2,
Simplex, Andy,
Dashboard works perfectly on the big screen with brokers Alpari and Axi - all in view even the totals and delete all.... buttons at the bottom ..
On the laptop with GKFX different story ...can't see the bottom (understand scrolling a chart does not work and scale does bugger all or?) so I tried adding ignore pairs to see if I could get to the bottom - failed just a big black gap minus 12 pairs.
Wanted to share a work around that may or may not appeal - since this EA needs to run all the time you need a decend on all the time desktop (plus power protection) and or a VPS. I have had probs in the past with duplicate access and trades occuring when I log on to VPS from 2 different computers so now everying goes through the trading desktop including logon to VPS. When I access the desktop remotely from my laptop using logmein (free service) I can scroll up and down and see full dashboard and control all buttons etc. voila
Its a real pleasure to use the EA and Dash - it gives more opportunity to think rather than develop navigatation skills across 20+ charts. Best I have seen.
Jonathan
Hi Jonathan,
Thanks for your feedback.
I've worked out how I'll sort the button and cell height,
we already have the variables within the EA for screen width and height, so
should be straight forward, it all works perfect on my screen, but we had
so wait for feedback from you guys.
Thanks
Andy
-
MrLong
Re: Multi 10:4 Trader EA Dashboard
simplex wrote:Jonathan,Jonathan2FI wrote:Dash Question ref. V2,
Simplex, Andy,
Dashboard works perfectly on the big screen with brokers Alpari and Axi - all in view even the totals and delete all.... buttons at the bottom ..
On the laptop with GKFX different story ...can't see the bottom (understand scrolling a chart does not work and scale does bugger all or?) so I tried adding ignore pairs to see if I could get to the bottom - failed just a big black gap minus 12 pairs.
Jonathan
Yes, I faced the same when moving from full HD development to smaller test machine. Andy hardcoded the button coordinates. In my 1.08 modification I did it the following way:
Thus the buttons are placed 60 pixels below coordinate footCellTop.Code: Select all
CloseAllButtonY = footCellTop + 60;
@Andy: could you consider using such relative coordinates? IMO would make code maintenance easier.
@Jonathan: to provide a quick hack for your issue, try the following:
Then recompile. This worked for me. If not, play around with the 650 parameters for all 3 buttons. This is the vertical position of the buttons, counted in pixels from top of chart window.Code: Select all
int init() { hwnd=WindowHandle(Symbol(),Period()); tbRemoveAll(hwnd); btnRefresh = tbPutObject(hwnd, "button", 715 , 650, 155, 20, "Delete Pending"); btnCloseAll = tbPutObject(hwnd, "button", 890 , 650, 155, 20, "Close All Open Trades"); // hwnd,type,x,y,w,h,label btnDeletePending = tbPutObject(hwnd, "button", 1065 , 650, 155, 20, "Delete Pending"); /* ORIGINAL SETTINGS FOLLOWING ... btnRefresh = tbPutObject(hwnd, "button", 715 , 730, 155, 20, "Delete Pending"); btnCloseAll = tbPutObject(hwnd, "button", 890 , 730, 155, 20, "Close All Open Trades"); // hwnd,type,x,y,w,h,label btnDeletePending = tbPutObject(hwnd, "button", 1065 , 730, 155, 20, "Delete Pending"); /*
Good luck,
simplex
Hi Jurgen,
Yes sounds good.
Andy
- slipshod
- Trader
- Posts: 404
- Joined: Tue Dec 27, 2011 9:14 am
- Location: Australia
Re: Multi 10:4 Trader EA
A last question for today (really must sleep) ... would it be possible to add buttons beside each pair that show Yes or No for whether Longs and Shorts are allowed. They'd act as toggles - user clicks on one and it changes to the opposite value. Then if obviously one is set to No, the EA deletes pending trades in that direction and won't enter any new ones, but will consider trades in the direction that has a Yes beside it.
I'm thinking of situations where, for reasons external to 10.4, the trader might be reticent to trade in a certain direction, but doesn't want to add the pair to the exclude list in case the EA identifies a trade in the direction they think it might go. Just such an example happened today on GBPCHF - I could see a strong reversal pattern leading me to believe it'd drop (which it has) but a pullback's hooked the EA into a long that's rapidly running for its stoploss.
I'm thinking of situations where, for reasons external to 10.4, the trader might be reticent to trade in a certain direction, but doesn't want to add the pair to the exclude list in case the EA identifies a trade in the direction they think it might go. Just such an example happened today on GBPCHF - I could see a strong reversal pattern leading me to believe it'd drop (which it has) but a pullback's hooked the EA into a long that's rapidly running for its stoploss.
-
theforexedge
- Trader
- Posts: 220
- Joined: Thu Apr 26, 2012 10:31 pm
- Location: Torquay
Re: Multi 10:4 Trader EA
Slipshod / Andyslipshod wrote:A last question for today (really must sleep) ... would it be possible to add buttons beside each pair that show Yes or No for whether Longs and Shorts are allowed. They'd act as toggles - user clicks on one and it changes to the opposite value. Then if obviously one is set to No, the EA deletes pending trades in that direction and won't enter any new ones, but will consider trades in the direction that has a Yes beside it.
I'm thinking of situations where, for reasons external to 10.4, the trader might be reticent to trade in a certain direction, but doesn't want to add the pair to the exclude list in case the EA identifies a trade in the direction they think it might go. Just such an example happened today on GBPCHF - I could see a strong reversal pattern leading me to believe it'd drop (which it has) but a pullback's hooked the EA into a long that's rapidly running for its stoploss.
Maybe also a pip buffer above / below the Pivot Lines, as that's usually where the brokers do their stop hunting before taking the market up/down.
when I'm trading 10.4 manual I never place my Pending's on the Pivots - usually +5/10 pips, also never on round numbers..
JP
- mobthehop
- Trader
- Posts: 362
- Joined: Wed Nov 16, 2011 12:16 am
Re: Multi 10:4 Trader EA
slipshot,
thanks for all your bug hunting and corrections....
If you do not mind me saying,
As Stoch and RSI are defined as variables, would it not make more sense to set only one of them as external boolean and when set to false, the other is considered true (eg external bool RSI = true, if set to false, Stoch will be applied without being an external)
Just a thought, not a criticism...
Mop
PS: Thank you very much for your pending order script - use it all day long....
thanks for all your bug hunting and corrections....
If you do not mind me saying,
does not comply with the 10.4 either, it should be either/or and SH expressed his preference for RSI....Its not a choice whether to use Stoch or RSI. You can use both or either.
As Stoch and RSI are defined as variables, would it not make more sense to set only one of them as external boolean and when set to false, the other is considered true (eg external bool RSI = true, if set to false, Stoch will be applied without being an external)
Just a thought, not a criticism...
Mop
PS: Thank you very much for your pending order script - use it all day long....
-
MrLong
Re: Multi 10:4 Trader EA
theforexedge wrote:Slipshod / Andyslipshod wrote:A last question for today (really must sleep) ... would it be possible to add buttons beside each pair that show Yes or No for whether Longs and Shorts are allowed. They'd act as toggles - user clicks on one and it changes to the opposite value. Then if obviously one is set to No, the EA deletes pending trades in that direction and won't enter any new ones, but will consider trades in the direction that has a Yes beside it.
I'm thinking of situations where, for reasons external to 10.4, the trader might be reticent to trade in a certain direction, but doesn't want to add the pair to the exclude list in case the EA identifies a trade in the direction they think it might go. Just such an example happened today on GBPCHF - I could see a strong reversal pattern leading me to believe it'd drop (which it has) but a pullback's hooked the EA into a long that's rapidly running for its stoploss.
Maybe also a pip buffer above / below the Pivot Lines, as that's usually where the brokers do their stop hunting before taking the market up/down.
when I'm trading 10.4 manual I never place my Pending's on the Pivots - usually +5/10 pips, also never on round numbers..
JP
Hi,
We already have that one in place calculated by the ADR. I have a switch somewhere at the top of the code if switched to true and recompiled will give an alert with each pairs settings, when you have the settings, switch the switch back to false and recompile.
Andy
Last edited by MrLong on Wed Apr 03, 2013 4:24 pm, edited 1 time in total.
-
MrLong
Re: Multi 10:4 Trader EA
We could do that with check boxes, but we need to find the room, we can select all the settings withslipshod wrote:A last question for today (really must sleep) ... would it be possible to add buttons beside each pair that show Yes or No for whether Longs and Shorts are allowed. They'd act as toggles - user clicks on one and it changes to the opposite value. Then if obviously one is set to No, the EA deletes pending trades in that direction and won't enter any new ones, but will consider trades in the direction that has a Yes beside it.
I'm thinking of situations where, for reasons external to 10.4, the trader might be reticent to trade in a certain direction, but doesn't want to add the pair to the exclude list in case the EA identifies a trade in the direction they think it might go. Just such an example happened today on GBPCHF - I could see a strong reversal pattern leading me to believe it'd drop (which it has) but a pullback's hooked the EA into a long that's rapidly running for its stoploss.
Radio buttons and checkboxes.