
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
That does indeed work, thank you kindly. A question though - this only triggers one iteration of the Start() loop. I can have a looped sleep statement in the script, but it isn't optimal as it can miss ticks that way.
Is it possible to call this from an indicator? When I try this, it simply hangs the terminal.
Or, is it possible to use a different configuration of this PostMessageA(hWnd,MT4InternalMsg,2,1); message that would allow it to be added to the period optimizer script so that each time the CHART_CMD_UPDATE_DATA (33324) is called, it will call this new message as well?
Thank you again very much for your help! It is truly appreciated...
Cheers,
CS
I've tried this by doing two different approaches:
1. I've copied the script above and made a script.... applied EA to a 3m chart ..... then drop the script onto it. This produces a response in the journal of loaded.... remove ... with the same time stamp. In the Experts tab it produces the same but with a response from the EA printing 1 occurance of the print function (I programmed a simple print Bid Ask EA to test). The EA after that point is non-active on the 3m chart.
2. I place the script above in the actual EA I programmed instead of using a script which acts one time only. This however produced Nothing, not even a one time occurance of the print function.
Please advise,
I too, wish to Trade with EAs on a 3m chart.
PS. Build 201, MIG Trading
My Basic approach in #2 was:
1. Open 1m chart
2. Attach Period_Converter_Opt to make 3m chart
3. Open offline 3m Chart
4. Attach this EA
As a result, nothing occured.... this should produce a print every tick.
PS. The winuser32.mqh was updated with
And the Expert Advisor is active.
End result.... nothing
Hope you can help,
SaxMan
Hi Slawa,
Could you please show us more information about MetaTrader4_Internal_Message ?
all of the Internel comments ? e.g, How can i get datetime when i press the mouse on the Chat ?
Could you please help me solving this topic : https://www.metatrader4.com/
Thanks in advance.