From theory to practice. Part 2 - page 33

 
Evgeniy Chumakov:


How do I get the value of a tick on the right bar in MT4? Or is it not possible.

you can

google formulas and write a function

or google the forum
 

If you take it that way.

double Point_2 = (iClose(Symbol_2,PERIOD_CURRENT,i) - iClose(Symbol_2,PERIOD_CURRENT,shift))/MarketInfo(Symbol_2,MODE_POINT);
double Profit_2 = Point_2/MarketInfo(Symbol_2,MODE_TICKVALUE);

you get this kind of shit:


 
Evgeniy Chumakov:

If you take it that way.

you get that shit:

Well, yeah, there's no balance.

although it's always there

and, moreover, profit= tick value* increment* lot

i.e. profit= increment * (cost per tick * lot)

increment is always present and the same for all

accordingly, the volume on the forex:

(tick value*lot) = profit / increment

considering this post

https://www.mql5.com/ru/forum/361109/page63#comment_21668147

equity always equals 1

so,

volume on forex is a multiple of = (+/-)1 / ( tick value * increment)

if buying equals selling. there will be no increment

ПНБ и парадоксы природы
ПНБ и парадоксы природы
  • 2021.04.03
  • www.mql5.com
Уважаемые форумчане, мы ищем закономерности,которых нет и не могут быть в природе...
 
Renat Akhtyamov:

(tick value*lot) = profit / increment


profit / increment = lot

 

the market doesn't care where the price automatically goes. as long as the balance is maintained automatically .

Even if the price goes below zero, it doesn't matter.

By and large, only the difference between purchases and sales influences the price movement, and the price will go against the majority


 
Evgeniy Chumakov:

profit / increment = lot

Write an indicator, you will see what and how
 
Renat Akhtyamov:
write an indicator, you will see what and how


I can't figure out how to calculate the cost of a tick on a bar.

 
Evgeniy Chumakov:


I can't figure out how to calculate the value of a tick on a bar.

three variants of the formula, depending on the pair

set the price as it is at the moment of calculation

https://www.fxclub.org/faq/punkt-pointpips-stoimost-punkta-kak-ee-rasschitat/

Пункт (point,pips) стоимость пункта, как ее рассчитать? - Часто задаваемые Вопросы - Forex Club
  • www.fxclub.org
1 пункт – это минимальная единица изменения цены. Запись котировок валют с четырьмя значащими цифрами после запятой является стандартной записью по всем основным парам валют, кроме йены. При этом для пар EUR/USD или GBP/USD цена одного пункта будет равна одному доллару точно, если совершить сделку размером 10.000 единиц базовой валюты.
 
Renat Akhtyamov:

three variants of the formula, depending on the pair

set the price at the time of calculation

https://www.fxclub.org/faq/punkt-pointpips-stoimost-punkta-kak-ee-rasschitat/


Thank you! Let me have a look at it.

 

I can't make it work.

I could only do this (there is no tick value on each bar):


blue - eurusd , red - gbpusd , green - eurgbp .