![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
To restate:
My basic finding is if there is a change in MarketInfo() for the pair, a "tick" is received.
.
There may be exceptions, like "no changes found" but a tick was received, but it is very rare.
Ticks received with no price change are not rare, and signal some other change in MarketInfo for the pair.
.
Volume is equal to the number of ticks received, i.e. the number of times the start() function was called, it is not specifically trades or Bid/Ask changes. Change in MarketInfo()triggers a tick, and tick count = volume.
I am new comer in mql4 scripting. I try to make a code that shows the price on screen/teminal. MarketInfo() did't work. can you help me.
y not, show your code & we will try point u @ the right direction
if I think well :
1 Tick = 1 PIP
Have I the right?
i think
1 Tick = 1 Pip or more .... Pip/ Second
it's right..????
The term tick is used loosely to describe an event, and the lowest possible change in price.
As an event; tick == the arrival of a new price quote
As a monetary value it is the lowest possible change in price; tick == Point.
SDC: The term tick is used loosely to describe an event, and the lowest possible change in price.
No, and No.
There is Tick, PIP, and Point. They are all different in general. A tick is the smallest change of price. A Point is the least significant digit quoted. In currencies a pip is defined as 0.0001 (or for JPY 0.01)
On a 4 digit broker a point (0.0001) = pip (0.0001). [JPY 0.01 == 0.01] On a 5 digit broker a point (0.00001) = 1/10 pip (0.00010/10). Just because you quote an extra digit doesn't change the value of a pip. (0.0001 == 0.00010) EA's must adjust pips to points (for mq4.) In currencies a tick is a point. Price can change by least significant digit (1.23456 -> 1.23457)
In metals a Tick is still the smallest change but is larger than a point. If price can change from 123.25 to 123.50, you have a TickSize of 0.25 and a point of 0.01. Pip has no meaning.
This is why you don't use TickValue by itself. Only as a ratio with TickSize. See DeltaValuePerLot()
i think
1 Tick = 1 Pip or more .... Pip/ Second
it's right..????
Is there a point to answering a 6 year old question ? or are you just trying to mess up the thread listing ?
if I think well :
The Forum Admin already answered correctly, did you read the thread ?
New price (differenced from previous) => new tick. No other explanation.
I have encountered another problem.
Book says TICKVALUE is in deposit currency.
However, practice shows some brokers return the value in other currency than the deposit currency.
Moreover, I have seen cases where ie. one CFD's TICKVALUE was in deposit currency, while another's was in base currency.
This ruins programming completely.
Anybody knows where the broker sets this up?
C/z it seems complaints to the broker don't always bring effect, so they should be educated.
Generate Tick Data
The forum
- ResetData - Added it in order to be able to "start from the beginning" (if you turned off your PC and a "time gap" occurs since there is no way to reconstruct tick data or any other reason when you do not want the data to be appended to already existing tick data) If you set this parameter to true, it will start a new tick data history.
- ShowComment - It is the fastest way to show that it is working, so if you set it to true it will simply comment in the upper left corner that tick data is saved and a time when it was saved.
- When required number of ticks per bar is 1, it records bid as low and ask as high, so you can have a sort of a "spread control" (since now you can see those ticks as lines but you can see them as bars too, as in this example );
- When required number of ticks is greater than 1 then you are getting a sort of "equi-volume" charts (every bar is having a same volume when you turn the volume display on) High, low, open and close are constructed from a Bid.
The articles
CodeBase
Generate Tick Data
The forum
- ResetData - Added it in order to be able to "start from the beginning" (if you turned off your PC and a "time gap" occurs since there is no way to reconstruct tick data or any other reason when you do not want the data to be appended to already existing tick data) If you set this parameter to true, it will start a new tick data history.
- ShowComment - It is the fastest way to show that it is working, so if you set it to true it will simply comment in the upper left corner that tick data is saved and a time when it was saved.
- When required number of ticks per bar is 1, it records bid as low and ask as high, so you can have a sort of a "spread control" (since now you can see those ticks as lines but you can see them as bars too, as in this example );
- When required number of ticks is greater than 1 then you are getting a sort of "equi-volume" charts (every bar is having a same volume when you turn the volume display on) High, low, open and close are constructed from a Bid.
The articles
CodeBase
Is it possible to plot every tick in the indicator plot. I want to plot live ticks streaming into an indicator (irrespective of the plot period), is that possible and how?