Work with WindowFirstVisibleBar, WindowBarsPerChart - automaticaly move graph - please help me - page 3
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
hmmm... I would like using virtual F12 in indicator because I need accurate/fine step bar by bar. Shift left/up or shift right/down doing step more than one bar.
In script F12 working good, but indicator? :-(
hmmm... I would like using virtual F12 in indicator because I need accurate/fine step bar by bar. Shift left/up or shift right/down doing step more than one bar.
In script F12 working good, but indicator? :-(
Dear endy5.
CI need a tick, try EA and try my previous reply coz I have no problem moving bar, one by one to the left or to the right.
Hi friend onewithzachy,
ok, I can do from indicator -> EA, it is no problem. BUT - problem will be run this EA when market will be close. I done easy EA, disconnect net, add to graph,and EA no running. My PC with Vista, build 427 MT4
I tried add script ticks.mq4 from https://www.mql5.com/en/forum/128803/page2#373538 (post 14:56) - I thought that script activate EA - result: script running ok, EA is death.
I wrote on page 2 about it this thread. I don´t know, that your EA is running... My experience (!!!) when do you have connect MT to server, net, open graph, add EA... EA running, ok, clearly. Disconnect net - EA running ok. BUT it isn´t my case - I need running EA without connect to server/net. This is my problem with change indicator to EA. If you have function some code EA, can you insert here? I try run its on MT platform with disconnect net. Thank you very mutch your help me.
Hi friend onewithzachy,
ok, I can do from indicator -> EA, it is no problem. BUT - problem will be run this EA when market will be close. I done easy EA, disconnect net, add to graph,and EA no running. My PC with Vista, build 427 MT4
I tried add script ticks.mq4 from https://www.mql5.com/en/forum/128803/page2#373538 (post 14:56) - I thought that script activate EA - result: script running ok, EA is death.
I wrote on page 2 about it this thread. I don´t know, that your EA is running... My experience (!!!) when do you have connect MT to server, net, open graph, add EA... EA running, ok, clearly. Disconnect net - EA running ok. BUT it isn´t my case - I need running EA without connect to server/net. This is my problem with change indicator to EA. If you have function some code EA, can you insert here? I try run its on MT platform with disconnect net. Thank you very mutch your help me.
Hi endy5,
1. I said earlier that I've never try fake tick before and I'm not gonna try it, not even now. I just finish read the fake tick post, it was written in year 2010 for MT build lower than now, and if you read carefully there, 7bit suggest that you must have internet connection first before using it (https://www.mql5.com/en/forum/128803/page2#373545) . Please re-read again that fake tick post again, and you must have connection first. And I never suggest using fake tick either, it was WHRoeder who suggest it.
2. I already gave all my answers in page 2 which obviously you're not paying any attention to them. So here's my EA which you actually must pay $$$ for it. Get internet connection first, attach the EA (there's no need to enable EA button), then disconnect the internet connection. The EA will shift chart to the left every 500 ms, and read all the expert print tab.
Thank you, onewithzachy! I helped me very mutch.
this is what I use to get the bar your looking for since WindowFirstVisibleBar() returns the first visible bar from left of the screen. this function will return just the opposite independent of bar shift of course.