Created page with "The TickValue function returns the currency value of one tick. == Code == <syntaxhighlight> TickValue = (MinMove / PriceScale) * BigPointValue; </syntaxhighlight> == Usage ==..."
The TickValue function returns the currency value of one tick.
== Code ==
<syntaxhighlight>
TickValue = (MinMove / PriceScale) * BigPointValue;
</syntaxhighlight>
== Usage ==
<syntaxhighlight>
if (LastBarOnChart_s = True) then
Print(GetSymbolName, " - ", TickValue);
</syntaxhighlight>
returns
<syntaxhighlight>
6E - 12.5
</syntaxhighlight>
Here the 6E is has a tick value of $12.50.