DislikedThat quote at the bottom of above post is from MT, I used that same script and had a minor problem with it that you should correct, but you'll learn.
KeitIgnored
by the way - what was the error you had
can you please share with us?
Regards
Question about the LHF trading Simulator. Real ticks or random ticks? 1 reply
why do good setups occur in asian open time after earthquake? 4 replies
How to open a MT4 1H chart that shows 1H ticks only? How to filter ticks? 1 reply
why negative spread occur in Mbtf/currenex? But not in IB? 12 replies
DislikedThat quote at the bottom of above post is from MT, I used that same script and had a minor problem with it that you should correct, but you'll learn.
KeitIgnored
Dislikedthank you Keit for letting me know
by the way - what was the error you had
can you please share with us?
RegardsIgnored
Disliked...
If you wait, I will post the copy of the script I use later tonight.
KeitIgnored
Disliked...
What ea action happens when another tick arrives;
A. The ea is stopped from doing whatever it is up to (like calculating or comparing if() functions) and restarts at the start() function.
B. "ignores" and drops all incoming ticks until it finishes with the last one.
C. CrapT4 does whatever is on the "random" list.
D. None or any of the above.
cheers scalpzIgnored
Disliked
I must also add that if the EA or script calls any indicators either builtin or custom ones it will be sending the stale data as input to the indicator function call which will return stale data too. so the copy of the indictor you see on the chart will be update normally but the ea or script will be working with old data that just gets older if you donot refresh the input data.Ignored
Disliked/** * MT4/experts/scripts/ticks.mq4 * send a fake tick every 200 ms to the chart and * all its indicators and EA until this script is removed. */ #property copyright " Bernd Kreuss" #import "user32.dll" int PostMessageA(int hWnd,int Msg,int wParam,int lParam); int RegisterWindowMessageA(string lpString); #import int start(){ int hwnd=WindowHandle(Symbol(), Period()); int msg = RegisterWindowMessageA("MetaTrader4_Internal_Message"); while(!IsStopped()){ PostMessageA(hwnd, msg, 2, 1); Sleep(200); } } Need no external software for sending ticks. Attach...Ignored