Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Tick value

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Tick value

    Did a search and I could not find an indicator/code that derived tick value (I know tick size is available).

    Has anyone developed same and willing to share.

    e.g. ES (emini) is $12.50
    Last edited by skiguy; 04-17-2015, 12:59 AM.

    #2
    Hope this helps:
    Code:
    double tickSize = BarsArray[0].Instrument.MasterInstrument.TickSize;
                double pointValue =  BarsArray[0].Instrument.MasterInstrument.PointValue;
                double tickValue = tickSize * pointValue;
                
                Print(string.Format("FullName: {0}; TickSize: {1:c}; PointValue: {2:c}; TickValue: {3:c}",
                    BarsArray[0].Instrument.FullName, tickSize, pointValue, tickValue));

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    152 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    87 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    131 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    127 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    106 views
    0 likes
    Last Post CarlTrading  
    Working...
    X