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
Shouldn't bid and ask be swapped?
To keep the spread from being negative, you do.
// Example of creating an inverted symbolIn this example I have a chart of a custom symbol opened without history. And drawing of bars starts only from current ticks.
How to do with history ?
+
In this example I have a chart of a custom symbol opened without history. And bar drawing starts only from the current ticks.
How to make it with history ?
+
The examples in this thread are a visual demonstration of the library's capabilities for those who are keen on programming.
Ready scripts for users are not published in the thread.
I am trying to create a custom symbol with a history that will be updated real-time, based on the usual MA.
Tics are not important, building on minutes.
Tried this code-
It doesn't work at all.
Can anyone of experts tell me how to correctly create a custom symbol from MA?
How to properly create a custom character from MA?
Thank you.
How to add another 1 year of MA reading history to this chart?
How can I add another 1 year of MA reading history to this graph?
All the rest is done without me.
ZY I measured it thoroughly on EURGBP. The gain in time is ~2 times. Transactions are completely coincident. Really free!
Quickly checked the new mode of the Tester by pips. Results of single runs.
All symbol currencies are set to the account currency.
Mode by pips
The duration matches within the margin of error.
If we open a demo account on Swissquote-Server and run this script, we will get the following line.
It means that in the tick history Bid/Ask prices differ by 5 pips from those broadcasted in the Market Watch (there are better prices there than in the history).
Accordingly, in the Tester you cannot recreate what you see in the Terminal on the original symbol.
The only solution is to use a custom symbol, which is based on the corresponding demarcap of the tick history.
And an interesting question has arisen - is the same problem not observed with the stack - that is, that prices in the stack differ from the chart?
A user complains to me about the unsynchronisation of the BookEvent-based indicator and the chart.