Menu
Brokers
MT4 Forex Brokers
MT5 Forex brokers
PayPal Brokers
Skrill Brokers
Oil Trading Brokers
Gold Trading Brokers
Web Browser Platform
Brokers with CFD Trading
ECN Brokers
Bitcoin FX Brokers
PAMM Forex Brokers
With Cent Accounts
With High Leverage
Cryptocurrency Brokers
Forums
All threads
New threads
New posts
Trending
Search forums
What's new
New threads
New posts
Latest activity
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Reply to thread
Forums
Trading Platforms
MetaTrader Indicators
indicators we use
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
[QUOTE="hayseed, post: 127781, member: 5898"] //----- hey g..... increasing the charts input will increase the loops..... such as if you have 5 charts open and set the 'charts' input to 100, it will loop thru 20 times.... 20 charts open with a 'charts' setting of 200 should loop thru all 10 times...... and so on.... but yes, it's just a single short line of code to make it non stop..... including [B]charts = i+2;[I] [/I][/B]such as below, should lead i on a wild goose chase...... the drawback is you will have to close the chart to stop it..... closing a chart with a script still running on it usually will lock the platform up for a few seconds.... so it might interfere with trading during that time..... let me know if your ok with that and i'll upload it non stop...... or you can add the code if you want..... just holler back.....h //---- [code=mql4] for(int i=0;i<charts;i++) { int hMDI = GetParent(GetParent(WindowHandle(Symbol(), Period()))); SendMessageA(hMDI, WM_MDINEXT, 0, 0); charts = i+2; Sleep(seconds*1000); } [/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Top
Bottom
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…