Scoobs and squalou: what a combo

Locked
garyfritz

Re: Scoobs and squalou: what a combo

Post by garyfritz »

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?
User avatar
gaheitman
Trader
Posts: 655
Joined: Tue Nov 15, 2011 10:55 pm
Location: Richmond, VA, US

Re: Scoobs and squalou: what a combo

Post by gaheitman »

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
You do not have the required permissions to view the files attached to this post.
garyfritz

Re: Scoobs and squalou: what a combo

Post by garyfritz »

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.
User avatar
Mike
Trader
Posts: 272
Joined: Sun Dec 11, 2011 12:30 pm
Location: Italy

Re: Scoobs and squalou: what a combo

Post by Mike »

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
Image
Image
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Scoobs and squalou: what a combo

Post by SteveHopwood »

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
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Scoobs and squalou: what a combo

Post by SteveHopwood »

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
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
Mike
Trader
Posts: 272
Joined: Sun Dec 11, 2011 12:30 pm
Location: Italy

Re: Scoobs and squalou: what a combo

Post by Mike »

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 ;-)
Image
Image
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Scoobs and squalou: what a combo

Post by SteveHopwood »

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
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
mobthehop
Trader
Posts: 362
Joined: Wed Nov 16, 2011 12:16 am

Re: Scoobs and squalou: what a combo

Post by mobthehop »

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!
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Scoobs and squalou: what a combo

Post by SteveHopwood »

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
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
Locked

Return to “Manual trading systems”