Script that Opens/Closes charts
Page 1 of 732 12 LastLast
Results 1 to 10 of 315

Thread: Script that Opens/Closes charts

  1. #1
    I am wondering if there is a script that May open and close charts available

    Something Which would open currency x and find time Interval y and start the EA about the chart

  2. #2
    Nope, mt4 doesn't provide those options

  3. #3
    What about changing the time period of the chart?

  4. #4

  5. #5
    There are key senders that will do a bit of that. As an instance, in the event that you currently possess a chart open, send Enter, then the logo, time, or time-date (see hotkeys for information), and input again. Same. And you can run scripts and (I think) EAs from a hotkey. Watch the sticky on tips and techniques over.

  6. #6
    Here's what I need to do.... If I can't open and shut charts, I will want a way to get it trading only x amount pairs at once and at the most efficient time period

    so I see that I can do input, (Symbol), (time period) so Symbol and time period can be factors

    How can this work when I've 22 charts opened... I can grab market information based on some scripts and operate my calculations which will tell my system x and time period y.... so when I can't start new charts, then I want to be able to visit the proper chart and change its time period

    basically, I was considering an EA which I liked the concept, but I am wanting to make it even more dynamic and varied... it is complex and I am attempting to learn some intrie coding mechanics while attempting to plan this EA to fit my style

  7. #7
    You may pull data from any emblem and any timeframe programmatically with functions like iClose, iOpen, etc. each of these functions require the symbol name, the timeframe and an offset. Any of those indiors can do the same. No need to get charts alter times.

  8. #8
    So, lets say I want to trade EurUsd

    I've a ratio that is checked between the 1 min, 5 min, 15 min, etc..

    Lets say the ratio yields indie that I should trade the 5 min chart... nevertheless, my chart is currently opened to the 1 second.... I've an indior that I place on the chart and the EA should open a trade when it strikes a line on that chart... I do not want it hitting a 1 min. Line if 5 min. Is the optimal period of time

  9. #9
    You can do that. I've EA's that sit on the 30 min chart but track the 5,15,30 and 60. Since the tendency progresses, it makes entry on the 5 and progressively hands over control to greater time frames. I have the 30 min chart open.

  10. #10
    Intriguing... how to you manage the handover?

    I am trying to get a fresh code which can compile before I put in into the complexities, but have 2 of these mistakes

    '(' - function definition unexpected

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.