Hello & Welcome on board !!! :-)
Please note:
Before you can post a message on the forum you need to REGISTER to get a unique GiG username (Totally Free!). Feel free to look around - just start browsing any of the sections from the home page of GiG. Join the community!.
Here you can discuss/request mql4 code, how to code in MQL…
  • User avatar
  • User avatar
User avatar
By firewight
#1653
Hi Guys, I have an indicator that allows me to change the chart symbol with the up/down arrow keys, as well as change the chart timeframe with the left/right arrow keys.

This allows scanning through many chart symbols and timeframes a very quick process, and it works very well.

However, I would like, when the up/down arrow keys are used to change the chart symbol, that the indicator ALSO changes the symbol of all open charts to the new symbol. I do not want the left/right arrows to change the timeframe of other open charts, as these will be the same chart symbol on a different timeframe already.

I would be very grateful if someone could help with this.

Thank you very much!

Indi attached:
Time and Pair Changer.mq4
You do not have the required permissions to view the files attached to this post.
User avatar
By firewight
#1655
Geko wrote:Hi Firewight,

I hope you had a good summer break ;-)

The attached modified indi should do the trick (my first lines of code since my summer break). I have included an input in the indi variables for the requested mode.

By the way, I don’t know how you are using this indi, but have you already tried CDM?
Oh thats awesome mate! Welcome back by the way!

I havent tried CDM, but yes I use this indicator all the time for my manual trading. This new update will make things MUCH easier for me, thank you very much!

I'm going to test it right now hahah!

Cheers!
User avatar
By firewight
#1657
Argh actually there is a problem, it is also updating the timeframe of all open charts, which is what I didnt want it to do...

Change all open charts to the new symbol = true
Change all open charts to current timeframe = false

Obviously theres no point having 4 or 5 of the exact same symbol and the same timeframe charts open at the same time ;)
User avatar
By firewight
#1660
Geko wrote:yep you are right I am going to tweak it right now.

CDM should do what you want by clicking on buttons and it also rearrange charts ;-) A must to try, one of my 2 main tools.
I'm sure you are right about the CDM, but I am trying to get away from clicking buttons, cos I'm lazy like that ;) I actually have a button click indi that does the job, but I find the arrow keys flow a little easier...

Thanks I will give it another try now

Cheers!
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]