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
It' s not working yet.
If it is not too much trouble, I would like an example of how to use the Symbol library correctly to generate a custom symbol - let it be 1/EURUSD = USDEUR.
I would like to know how to correctly copy the available tick history and how to generate each tick on a new chart, so that everything would be correct in the "Market Watch" window, i.e. so that the USDEUR chart would be as close as possible to regular charts both for online work and for testing in the tester.
thank you in advance
If it's not too much trouble, I would like an example of how to use the Symbol library correctly to generate a custom symbol - let it be 1/EURUSD = USDEUR
I would like to know how to correctly copy the available tick history and how to generate each tick on a new chart, so that everything would be correct in the "Market Watch" window, i.e. so that the USDEUR chart would be as close as possible to the usual charts both for online work and for testing in the tester.
thank you in advance
Thank you!
I'll look into it tonight, I have a different problem, but I need a simple example to understand what your library can do.
----------------------------------
ran the example // Example of creating an inverted symbol
everything is clear, it's fantastic that in a couple of lines you can get a real live custom character programmatically, very cool stuff!
SUS: in build 1158 a warning appeared during compilation:
expression not boolean Symbol.mqh 192 17
SZY: in build 1158 a warning appeared at compilation:
expression not boolean Symbol.mqh 192 17
I forget to update, I already have a lot of code of my own in KB, what to say about the wilds of my MQL folder...
Updated.
Updated.
updated:
0 error(s), 0 warning(s), compile time: 1220 msec
Hello!
Is it possible to copy futures by list into a custom symbol with time information offset? Time information will have to be shifted due to the need to have low-liquidity tails from futures, which can affect the calculation of indicators during the transition to a new futures.
I just want to glue the futures one after another, as it is in fact - their entire history, and in the Expert Advisor just make points on the dates of periods where trading is not carried out.Hello!
Is it possible to copy futures by list into a custom symbol with time information offset? Time information will have to be shifted due to the need to have low-liquidity tails from futures, which can affect the calculation of indicators during the transition to a new futures.
I just want to glue the futures one after another, as it is in fact - their entire history, and in the Expert Advisor just make points on the dates of periods where trading is not carried out.If there is source data and a gluing algorithm, then, of course, there is such a possibility. You just need to write the formation of tick archive of a new symbol. The formation of a custom symbol with this history will be done in the same way as in the examples of this branch.
The only thing is that you need to decide on the price of bar formation and at what prices market orders will be executed. I would exclude last-price, but everyone is free to decide for himself what he needs.
If there is source data and gluing algorithm, then, of course, such a possibility is available. You just need to write the formation of tick archive of a new symbol. Formation of a custom symbol with this history will be done in the same way as in the examples of this branch.
The only thing is that you need to decide on the price of bar formation and at what prices market orders will be executed. I would exclude last-price, but everyone is free to decide for himself what he needs.
Of course, the initial data is in the terminal - futures of previous years. What does it mean to form a tick archive? In general, I would like to test OHLC on M1, without extra ticks, so to speak.
Why do not like last prices? I don't understand about the bar formation price again - minute bars are fine, at the original prices. In general, I need the same thing as on a separate futures, and the fact that it will not coincide with the real at any settings, so it is clear - according to my observations it is necessary to put 5 points in the minus on average, if testing on all ticks.
Can you help me with such a script?