1. Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)
    Dismiss Notice

Question help please any ea or script

Discussion in 'Expert Advisor atau Robot Forex' started by ayoub lahcgar, 08 Apr 2020.

Tags:
  1. ayoub lahcgar

    ayoub lahcgar Member Credit Hunter

    Equity
    Credit
    Ref Point
    hi how are you ? please i need a ea or a script that i will attach to a chart on my mt4 and then change the time frame for all my open charts every (x )minute
     
  2. stadevata

    stadevata Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    your idea is very challenging
    i'll try ..
     
  3. stadevata

    stadevata Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    try this
    i made Script and EA , just pick whatever u like
    u must put it on the same Chart timeframe as the TFChangeTo parameter EA/Script
    example, if u want all chart change to H4 timeframe every 5 minute
    open EURUSD chart set to H4 TF then put EA/Script to the chart
    on the input parameter EA/Script set TFChangeTo = 4 Hours, minute = 5

    chngeTfxmin.jpg
     

    Attached Files:

  4. Gustavo Martinez

    Gustavo Martinez New Member

    Equity
    Credit
    Ref Point
    Amazing work, and in record time. Congratulations.
     
  5. blackking

    blackking Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    Wow, good job guys, very appreciate with your expertise to create an EA or script
    very smart and brilliant brain, wish to resolved the problem
     
  6. ayoub lahcgar

    ayoub lahcgar Member Credit Hunter

    Equity
    Credit
    Ref Point
    that' fantaassic work thank you sso much will try now
     
  7. stadevata

    stadevata Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    let me know if work or not ..
    just to make sure .. i test it on my mt4 is work fine
    but i dunno if it work for other or not
     
  8. ayoub lahcgar

    ayoub lahcgar Member Credit Hunter

    Equity
    Credit
    Ref Point
    helloo !
    i have added to mt4 and placed it on chart 1 minute and after 5 minutes he automatically changed all opened charts to 1 minute ( everything is cool till now)
    after anther 5 minutes he did not update the chart again . i want it to update it again every x minutes thank you so much i really appreciated your help

    example : after the ea changed all opened o chart to 1 minute time frame ! i wan't the ea to refresh the chart again evey 5 minutes. ( even if the charts are already on 1 minute time frame)
     
  9. stadevata

    stadevata Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    what you mean about refresh the chart every 5 minutes ??

    Try this for check :
    open 4 chart on different TF
    -Chart 1 TF 1M
    -Chart 2 TF 5M
    -Chart 3 TF 15M
    -Chart 4 TF H1

    attach ea/script to chart 1 .. and set parameter
    - TFchangeTo = 1M
    - Minute = 1

    Wait for all Chart change to 1M ...
    after all chart TF change to 1M .... then change manually TF chart 2 to chart 4 , with other TF except 1M... dont touch chart 1
    Wait for about 1 minute .. it will change all TF to 1M again.
    This ea/script will change all tf to M1 every 1 minute. not just on first 1 minute only.
     
    Last edited: 13 Apr 2020
  10. ayoub lahcgar

    ayoub lahcgar Member Credit Hunter

    Equity
    Credit
    Ref Point
    let's me write what i want so to make it clear for you to understand me
    now all my charts are on m1
    i want after every (x) minutes the ea change all my chart to (m5) and at the same second the ea change all my chart back to (m1)

    thank you
     
  11. stadevata

    stadevata Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    sorry .. i can't do that
    thats idea its super complicated for me
     
  12. ayoub lahcgar

    ayoub lahcgar Member Credit Hunter

    Equity
    Credit
    Ref Point
    thank you so much for your help really appreciated it !
    hope some to code it !
    a ea that change the time frame for all opened chart at once !like the next example :
    all my chart are on 1 minute time frame after each 15 minutes i want the time frame of my all opened chart to be changed from 1 minutes time frame to 5 minutes and change it back to 1 minute time frame at same time ( second) again , i want that progress to be rebated every x minutes
     
  13. pannik

    pannik Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    Try my version of the expert...
     

    Attached Files:

    • Winner Winner x 1
  14. pannik

    pannik Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    Get this version for better....
     

    Attached Files:

    • Friendly Friendly x 1
  15. ayoub lahcgar

    ayoub lahcgar Member Credit Hunter

    Equity
    Credit
    Ref Point
    hi thank you so much that's what i'm looking for i appreciated it brother you make thing easy for me now !! thanks you so much
     
    • Like Like x 1
  16. ayoub lahcgar

    ayoub lahcgar Member Credit Hunter

    Equity
    Credit
    Ref Point
    please hep fix this problem
    [​IMG]
    and hey stay like that
    [​IMG]
     
  17. pannik

    pannik Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    Restart your terminal.
     
    • Informative Informative x 1
  18. ayoub lahcgar

    ayoub lahcgar Member Credit Hunter

    Equity
    Credit
    Ref Point
    hi thank you i have restart it and work fine for 30 minutes and again the same problem happen
     
  19. pannik

    pannik Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    Hello,
    I don't know why your terminal has this problem.
    Download this version, which has no timer, which means you need a new tick to check the times.
    Some times a new tick comes after 10 or more seconds. So, some times the countdown not normal...
     

    Attached Files:

    • Useful Useful x 1

Share This Page