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
And an interesting question arose - the same problem is not observed with the stack - so that in the stack prices differ from the chart?
A user complains to me about the unsynchronisation of the BookEvent-based inducer and the chart.
The stack should correspond to the Market Watch. Accordingly, it may differ from the chart.
Consequently, in the Tester you will not be able to recreate on the original symbol what you see in the Terminal.
And here is what you see in the Terminal.
Deals are made "in the air". Indicators go to the forest. Only the demarcation of tick history.
I don't understand what's wrong, probably the new build 2515 is doing something wrong.
Here's the script:
everything works, but it works only once.
when restarting it will be a black screen "Waiting for update", cured by deleting custom symbol by hand
what is not working correctly? the library or a new build of the terminal?
what is not working correctly? library or new build of the terminal?
I don't know. I don't use TicksAdd.
I don't know. I don't use TicksAdd.
I think I figured it out, so I replaced it in my code
CustomTicksAdd(SymbDB.Name, ticks);with
It seems to work now when the script is restarted, the only thing is that there are no Ask/Bid symbol values in the market overview window, but it is not critical.
UPD:
the help should be read carefully, everything works, but CustomTicksAdd works correctly when the symbol is added to the market overview, i.e. it should be used like this
I came across an unpleasant bug in MT - for some reason it does not set SYMBOL_TRADE_TICK_SIZE. Debugging shows that the correct value is written to the property (for example, 0.00001 for EURUSD), but after creating a symbol, it contains 0.
Has anyone fixed this? Is it an MT bug or a specificity in the Symbol library?
I came across an unpleasant bug in MT - for some reason it does not set SYMBOL_TRADE_TICK_SIZE. Debugging shows that the correct value is written to the property (for example, 0.00001 for EURUSD), but after creating the symbol, it contains 0.
Has anyone fixed this? Is it an MT bug or a specificity in the Symbol library?
Do you just see the '0' or do you get the '0' after polling the property?
I came across an unpleasant bug in MT - for some reason it does not set SYMBOL_TRADE_TICK_SIZE. Debugging shows that the correct value is written to the property (for example, 0.00001 for EURUSD), but after creating the symbol, it contains 0.
Has anyone fixed this? Is it an MT bug or a specificity in the Symbol library?
Probably, it depends on the sequence of setting fields. I have it like this.
Probably depends on the sequence of field assignment. I have it like this.
I use the CloneProperties call, and it has these lines (in the current publicly available version):
Here the sequence is slightly different, but the correct values are transferred to the contract and other properties, the only problem is with the tick size.
After calling CloneProperties, I wrote this nonsense:
This is how it is applied normally. But this is some kind of crutch.