stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Scoobs and squalou: what a combo
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=326
Page 7 of 9
Author:  garyfritz [ Tue Feb 28, 2012 11:25 pm ]
Post subject:  Re: Scoobs and squalou: what a combo

Is there any kind of identifying number (window ID, something like that) that uniquely identifies a chart? Could you use something like that as the magic # and thus ensure that an EA operates only on the symbol in its chart?
Author:  gaheitman [ Wed Feb 29, 2012 12:36 am ]
Post subject:  Re: Scoobs and squalou: what a combo

garyfritz wrote:Is there any kind of identifying number (window ID, something like that) that uniquely identifies a chart? Could you use something like that as the magic # and thus ensure that an EA operates only on the symbol in its chart?
You might be able to use the window handle returned from a call to

Code: Select all

WindowHandle( Symbol(), Period());
The attached indicator places it in the comment so you can see that they are unique. Not persistent, of course. Might be worth publishing it in the user feedback and including it in any error/log messages.

George
Author:  garyfritz [ Wed Feb 29, 2012 2:40 am ]
Post subject:  Re: Scoobs and squalou: what a combo

Ah. So it would work fine to separate orders from different charts, until you stop and re-start Empty4. Then you'd get different window handles and you'd lose track of your orders. Bummer.

You could construct a number based on the pair and the TF, and that would work until you ran two EAs on two charts with the same pair/TF. Hm. Maybe do that by default, and let people override it when they use multiple charts with the same pair/TF? If you added a fixed offset unique to each EA, then they'd have to run the same EA on the same pair with the same TF before you hit a problem. Seems less error-prone than defaulting to the same magic # on every chart.
Author:  Mike [ Thu Mar 01, 2012 9:52 am ]
Post subject:  Re: Scoobs and squalou: what a combo

Hello
Would it be possible to add volatility to the "Rsi trend display indi.mq4" and have info not separated by ";" but by tab stops?
Perhaps selecting/adding/deleting currency pairs in the "inputs" window one by one would be easier and a select/deselect option for the different Data Rsi - Volatility - Long swap - Short swap - Spread might be apreciated by users for different purposes. Just an idea.
Have a good day Mike
Author:  SteveHopwood [ Thu Mar 01, 2012 10:41 pm ]
Post subject:  Re: Scoobs and squalou: what a combo

In light of my growing experience with all this, I have created some new software.

The details are in 'Trade stacking' in post 1.

:D
Author:  SteveHopwood [ Thu Mar 01, 2012 10:43 pm ]
Post subject:  Re: Scoobs and squalou: what a combo

Mike wrote:Hello
Would it be possible to add volatility to the "Rsi trend display indi.mq4" and have info not separated by ";" but by tab stops?
Perhaps selecting/adding/deleting currency pairs in the "inputs" window one by one would be easier and a select/deselect option for the different Data Rsi - Volatility - Long swap - Short swap - Spread might be apreciated by users for different purposes. Just an idea.
Have a good day Mike
How many thousands of inputs would you like? Give it some thought and you will see how ridiculous this idea is.

:D
Author:  Mike [ Thu Mar 01, 2012 11:16 pm ]
Post subject:  Re: Scoobs and squalou: what a combo

SteveHopwood wrote:
Mike wrote:Hello
Would it be possible to add volatility to the "Rsi trend display indi.mq4" and have info not separated by ";" but by tab stops?
Perhaps selecting/adding/deleting currency pairs in the "inputs" window one by one would be easier and a select/deselect option for the different Data Rsi - Volatility - Long swap - Short swap - Spread might be apreciated by users for different purposes. Just an idea.
Have a good day Mike
How many thousands of inputs would you like? Give it some thought and you will see how ridiculous this idea is.

:D
Well actually I would have liked less: some few currency pairs, Rsi, Volatility and that's it. In order to do so, I have to go into the editor and ... but you are right that's a good exercise ;-)
Author:  SteveHopwood [ Thu Mar 01, 2012 11:29 pm ]
Post subject:  Re: Scoobs and squalou: what a combo

Mike wrote:Well actually I would have liked less: some few currency pairs, Rsi, Volatility and that's it. In order to do so, I have to go into the editor and ... but you are right that's a good exercise ;-)
I might have misunderstood you. Not that I care, because it is not going to happen.

What I did forget to say was, "Yes" to the volatility thingy. Do you mean the VolatilityIndicator in the custom indicators window of Empty4?

:D
Author:  mobthehop [ Fri Mar 02, 2012 1:38 am ]
Post subject:  Re: Scoobs and squalou: what a combo

Steve, the stacking scripts / EA combination is a nice concept - before this goes downhill for me (on demo), could you please confirm that this combination can be used on its own in other (manual) method..

Thanks for this!
Author:  SteveHopwood [ Fri Mar 02, 2012 7:36 am ]
Post subject:  Re: Scoobs and squalou: what a combo

mobthehop wrote:Steve, the stacking scripts / EA combination is a nice concept - before this goes downhill for me (on demo), could you please confirm that this combination can be used on its own in other (manual) method..
Yes.

:D
All times are UTC Page 7 of 9