Multi 10:4 Trader EA

Post Reply
MrLong

Re: Multi 10:4 Trader EA

Post by MrLong »

theforexedge wrote:Andy

What are your settings for:

UseBothForPullback
CloseWhenMarketReverse

And are you using Stoch or RSI?

Thanks, JP
Hi,

I'm using the RSI.

UseBothForPullback < == if true, the EA will start entering stop orders when both the RSI has pulled back and the AO is below/above the zero line, if false only one of them needs to pullback or above/below the zero line.

CloseWhenMarketReverse <== if we are long and the AO turns red arter a green, then close the trade.

Andy
User avatar
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.

Standard settings for grid output (simplex method)

Post by simplex »

simplex wrote:
MrLong wrote: Hi Jürgen,

Could we standardize settings, so members can just drop the EA on the screen, without having to change anything, we have the screen width and screen height variables already in the EA, any ideas would be appreciated.

Andy
Hi Andy,

sure, that should be one goal! I am going to work on my DrawRectangle function again. ...

Cheers, Jürgen
Hi Andy,

I took several hours to experiment with my DrawRectangle and with drawCell (found some description here: http://forum.mql4.com/13898). Generally both methods face the same problem: they do not show the same results on both my machines. :(

For my drawRectangle I found at least one setting that displays correctly on both (see screenshots below):

Code: Select all

int    gridCol1[]   = { 0,       85,     125,    175,   210,     260,   300,          360,  400,           500 };

...

int	symbCellLeft = 10,		// in pixels
		mainCellLeft = 85,
		cashCellLeft = 950;
int	headCellTop = 15,			// in pixels
		mainCellTop = -1,
		footCellTop = -1;
int	symbCellWidth = 4,		// in characters
		mainCellWidth = 46,
		cashCellWidth = 14,
		headCellWidth = -1;
int	headCellHeight = 1,		// in lines
		mainCellHeight = 38,
		footCellHeight = 2;
int   rFontSize = 14;			// for drawing rectangles
This might be a good configuration to start with. If you need space for more pairs or other adjustments, you will always fiddle around a bit with the parameters, bacause you can't scroll vertically in the chart window. ... As always: any feedback appreciated!

Scrolling ...

This particular keyword led me to another idea: is it really necessary or convenient to display the grid inside the terminal??? What could be the alternative?

It would be pretty easy to write some html code based on the grid data to a file. Then we would need a browser to display that file (I already have a browser installed :lol: ) and maybe a little script (which I don't have at the moment) in this browser to pull fresh data from that file every few seconds ... that should be it.

I don't think it would cost more cpu than manipulating those label objects in the terminal. And with some simple css and html table commands we would get an alternate way of dashboard output without the limitations of our terminal. Maybe not as a replacement for inside terminal display but as an alternative the user could choose from.

Just thinking publicly ...

Any thoughts or suggestions about this idea? Anybody around who has some experience about writing html files from within Empty4?

I'm going to leave now for about 3 hours (Badminton practice). Next post not before 21:30 CET.

Cheers, Jürgen
You do not have the required permissions to view the files attached to this post.
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)
fx800
Trader
Posts: 1334
Joined: Sun Dec 04, 2011 4:11 am

Re: Multi 10:4 Trader EA

Post by fx800 »

MrLong wrote:New feature, trailing locked in percentage, closed a basket this morning for 1.18% and now we have 0.52% locked in this basket.

Fantastic, MrLong.

On my Cowboy IBFX hands off demo, a 2% floating gain last night turned into a 1% floating draw-down this morning. I intend to actively manage the ea, banking profits the way Bob manages his manual trades. I hate the idea of a winning trade turning into a loser.

Cheers,
peter
Last edited by Anonymous on Wed Mar 27, 2013 5:20 pm, edited 1 time in total.
theforexedge
Trader
Posts: 220
Joined: Thu Apr 26, 2012 10:31 pm
Location: Torquay

Re: Multi 10:4 Trader EA

Post by theforexedge »

MrLong wrote:
theforexedge wrote:Andy

What are your settings for:

UseBothForPullback
CloseWhenMarketReverse

And are you using Stoch or RSI?

Thanks, JP
Hi,

I'm using the RSI.

UseBothForPullback < == if true, the EA will start entering stop orders when both the RSI has pulled back and the AO is below/above the zero line, if false only one of them needs to pullback or above/below the zero line.

CloseWhenMarketReverse <== if we are long and the AO turns red arter a green, then close the trade.

Andy
Thanks, Andy

I realised after posting the message the info is in the EA's comments section.

Thanks for all the hard-work coding this one.. :D

JP
MrLong

Re: Standard settings for grid output (simplex method)

Post by MrLong »

simplex wrote:
simplex wrote:
MrLong wrote: Hi Jürgen,

Could we standardize settings, so members can just drop the EA on the screen, without having to change anything, we have the screen width and screen height variables already in the EA, any ideas would be appreciated.

Andy
Hi Andy,

sure, that should be one goal! I am going to work on my DrawRectangle function again. ...

Cheers, Jürgen
Hi Andy,

I took several hours to experiment with my DrawRectangle and with drawCell (found some description here: http://forum.mql4.com/13898). Generally both methods face the same problem: they do not show the same results on both my machines. :(

For my drawRectangle I found at least one setting that displays correctly on both (see screenshots below):

Code: Select all

int    gridCol1[]   = { 0,       85,     125,    175,   210,     260,   300,          360,  400,           500 };

...

int	symbCellLeft = 10,		// in pixels
		mainCellLeft = 85,
		cashCellLeft = 950;
int	headCellTop = 15,			// in pixels
		mainCellTop = -1,
		footCellTop = -1;
int	symbCellWidth = 4,		// in characters
		mainCellWidth = 46,
		cashCellWidth = 14,
		headCellWidth = -1;
int	headCellHeight = 1,		// in lines
		mainCellHeight = 38,
		footCellHeight = 2;
int   rFontSize = 14;			// for drawing rectangles
This might be a good configuration to start with. If you need space for more pairs or other adjustments, you will always fiddle around a bit with the parameters, bacause you can't scroll vertically in the chart window. ... As always: any feedback appreciated!

Scrolling ...

This particular keyword led me to another idea: is it really necessary or convenient to display the grid inside the terminal??? What could be the alternative?

It would be pretty easy to write some html code based on the grid data to a file. Then we would need a browser to display that file (I already have a browser installed :lol: ) and maybe a little script (which I don't have at the moment) in this browser to pull fresh data from that file every few seconds ... that should be it.

I don't think it would cost more cpu than manipulating those label objects in the terminal. And with some simple css and html table commands we would get an alternate way of dashboard output without the limitations of our terminal. Maybe not as a replacement for inside terminal display but as an alternative the user could choose from.

Just thinking publicly ...

Any thoughts or suggestions about this idea? Anybody around who has some experience about writing html files from within Empty4?

I'm going to leave now for about 3 hours (Badminton practice). Next post not before 21:30 CET.

Cheers, Jürgen
Hi Jürgen,

Fantastic work, I'll include your code in version 1.09 and hopefully is should work across the board.

Thank you very much for your time and effort.

Andy
bshoe24
Trader
Posts: 84
Joined: Sat Feb 11, 2012 5:53 pm

Re: Multi 10:4 Trader EA

Post by bshoe24 »

deleted. issue resolved itself i see today after looking more closely.

Many thanks MrLong for all your selfless hard work.
Last edited by bshoe24 on Wed Mar 27, 2013 8:55 pm, edited 1 time in total.
MrLong

Re: Multi 10:4 Trader EA

Post by MrLong »

bshoe24 wrote:Mr Long i noticed that the pending are placed far out very often in this lastest 1.08a version i been running. I think i read that is a bug in a recent post in the thread. If it is will that be fixed in your next version? Many thanks for all your selfless hard work.

Hi,

Can you give me an example?

Thanks
Andy
User avatar
McNish
Trader
Posts: 227
Joined: Tue Nov 06, 2012 3:56 pm

Re: Multi 10:4 Trader EA

Post by McNish »

@ Andy:The bug that slipshod spotted, in GetNextRes / Sup.

We will also need a Manual for this, may be by next week. :roll:


I get this message in my Experts Tab. This is from the Indi and not the EA. In general if some one can help me get around this or correct it." 2013.03.28 01:37:54 NT TMATrue SlopeHisto MTF AUDJPY.G,H4: unknown subwindow number -1 for ObjectCreate function"
bshoe24
Trader
Posts: 84
Joined: Sat Feb 11, 2012 5:53 pm

Re: Multi 10:4 Trader EA

Post by bshoe24 »

deleted. issue resolved itself i see today after looking more closely.
Last edited by bshoe24 on Wed Mar 27, 2013 8:54 pm, edited 1 time in total.
MrLong

Re: Multi 10:4 Trader EA

Post by MrLong »

McNish wrote:@ Andy:The bug that slipshod spotted, in GetNextRes / Sup.

We will also need a Manual for this, may be by next week. :roll:


I get this message in my Experts Tab. This is from the Indi and not the EA. In general if some one can help me get around this or correct it." 2013.03.28 01:37:54 NT TMATrue SlopeHisto MTF AUDJPY.G,H4: unknown subwindow number -1 for ObjectCreate function"
Hi Max,

That indi has gone now, Paul, sent me the code to plumb straight into the EA, manual wise, I'm on holiday next week, so I don't think my wife will be very impressed if I crank the laptop up, while we are away. :lol:

Andy
Post Reply

Return to “Nanningbob 10.x”